Analysis
-
max time kernel
145s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
26-01-2025 18:49
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe
-
Size
11.2MB
-
MD5
eaf1c52f2fc5ea258111fcae8a188e94
-
SHA1
b1136f6d9f51748cd885f001d299227be1f8030a
-
SHA256
c187031a129855f7c175d53ea08fbc3251e4effd126ea02c1e10437e36b7d4f2
-
SHA512
fa5fbcba150d8286a33e03914e1467db04dee6e4a262f12433abbe8db0302e2c90c666cff6ee413208341b1992e5c4caff35b9db23172fa41d01e6b314bed569
-
SSDEEP
196608:0yXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:JXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1956 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\funhwdrs\ImagePath = "C:\\Windows\\SysWOW64\\funhwdrs\\reqngtyi.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe -
Deletes itself 1 IoCs
pid Process 3256 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1752 reqngtyi.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1752 set thread context of 3256 1752 reqngtyi.exe 94 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3340 sc.exe 1168 sc.exe 3388 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs
Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.
description ioc Process Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
System Location Discovery: System Language Discovery 1 TTPs 9 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language reqngtyi.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1208 wrote to memory of 4492 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 83 PID 1208 wrote to memory of 4492 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 83 PID 1208 wrote to memory of 4492 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 83 PID 1208 wrote to memory of 2432 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 85 PID 1208 wrote to memory of 2432 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 85 PID 1208 wrote to memory of 2432 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 85 PID 1208 wrote to memory of 3340 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 87 PID 1208 wrote to memory of 3340 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 87 PID 1208 wrote to memory of 3340 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 87 PID 1208 wrote to memory of 1168 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 89 PID 1208 wrote to memory of 1168 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 89 PID 1208 wrote to memory of 1168 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 89 PID 1208 wrote to memory of 3388 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 91 PID 1208 wrote to memory of 3388 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 91 PID 1208 wrote to memory of 3388 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 91 PID 1752 wrote to memory of 3256 1752 reqngtyi.exe 94 PID 1752 wrote to memory of 3256 1752 reqngtyi.exe 94 PID 1752 wrote to memory of 3256 1752 reqngtyi.exe 94 PID 1752 wrote to memory of 3256 1752 reqngtyi.exe 94 PID 1752 wrote to memory of 3256 1752 reqngtyi.exe 94 PID 1208 wrote to memory of 1956 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 95 PID 1208 wrote to memory of 1956 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 95 PID 1208 wrote to memory of 1956 1208 2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1208 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\funhwdrs\2⤵
- System Location Discovery: System Language Discovery
PID:4492
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\reqngtyi.exe" C:\Windows\SysWOW64\funhwdrs\2⤵
- System Location Discovery: System Language Discovery
PID:2432
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create funhwdrs binPath= "C:\Windows\SysWOW64\funhwdrs\reqngtyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3340
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description funhwdrs "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1168
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start funhwdrs2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3388
-
-
C:\Windows\SysWOW64\netsh.exe"C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul2⤵
- Modifies Windows Firewall
- Event Triggered Execution: Netsh Helper DLL
- System Location Discovery: System Language Discovery
PID:1956
-
-
C:\Windows\SysWOW64\funhwdrs\reqngtyi.exeC:\Windows\SysWOW64\funhwdrs\reqngtyi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_eaf1c52f2fc5ea258111fcae8a188e94_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1752 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3256
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
11.5MB
MD5cda74c5738e31a4a257d3fe890b36e7a
SHA17ed8321eabb0960cf864c631c909aabc29740512
SHA25658486a3d22bba344833bdb51111203c33a6afbaa0265e0c74064df9133b77859
SHA51299de66be5970e741b1ec3897c73b2ba8cdb63baff2624ca45f6e3d98d1748e7803fcda8c6ec81b9dbbadfc7399e2d914b860c24b3635d65cb6b6b4fc1832306a