Analysis
-
max time kernel
146s -
max time network
143s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
05-02-2025 15:50
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe
-
Size
12.4MB
-
MD5
3b9857de29e1beb7de6ec52a79d8b613
-
SHA1
55ca43e75483ae2de702728cc266484a4bc54792
-
SHA256
25cd89351dd05bd4bc33b2a498ef0b672064f388c004129cdcfd1ef497ccff12
-
SHA512
902a1ff4a0ff1e6e23c13a231843620ce9667bb0fca2c4170772e9a07e4b026146e565cb170efac070c4bae54d924406c3bddefe4698c0ca2f5a80bea102ea9e
-
SSDEEP
49152:zqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPy:zqtYc3/
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 400 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gzpothtw\ImagePath = "C:\\Windows\\SysWOW64\\gzpothtw\\qqrcxywe.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe -
Deletes itself 1 IoCs
pid Process 4376 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1196 qqrcxywe.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1196 set thread context of 4376 1196 qqrcxywe.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4076 sc.exe 2392 sc.exe 636 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 3480 1196 WerFault.exe 96 4728 2432 WerFault.exe 82 -
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 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 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language qqrcxywe.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2432 wrote to memory of 1716 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 86 PID 2432 wrote to memory of 1716 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 86 PID 2432 wrote to memory of 1716 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 86 PID 2432 wrote to memory of 4012 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 88 PID 2432 wrote to memory of 4012 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 88 PID 2432 wrote to memory of 4012 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 88 PID 2432 wrote to memory of 4076 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 90 PID 2432 wrote to memory of 4076 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 90 PID 2432 wrote to memory of 4076 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 90 PID 2432 wrote to memory of 2392 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 92 PID 2432 wrote to memory of 2392 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 92 PID 2432 wrote to memory of 2392 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 92 PID 2432 wrote to memory of 636 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 94 PID 2432 wrote to memory of 636 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 94 PID 2432 wrote to memory of 636 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 94 PID 1196 wrote to memory of 4376 1196 qqrcxywe.exe 97 PID 1196 wrote to memory of 4376 1196 qqrcxywe.exe 97 PID 1196 wrote to memory of 4376 1196 qqrcxywe.exe 97 PID 1196 wrote to memory of 4376 1196 qqrcxywe.exe 97 PID 1196 wrote to memory of 4376 1196 qqrcxywe.exe 97 PID 2432 wrote to memory of 400 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 99 PID 2432 wrote to memory of 400 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 99 PID 2432 wrote to memory of 400 2432 2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2432 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gzpothtw\2⤵
- System Location Discovery: System Language Discovery
PID:1716
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qqrcxywe.exe" C:\Windows\SysWOW64\gzpothtw\2⤵
- System Location Discovery: System Language Discovery
PID:4012
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gzpothtw binPath= "C:\Windows\SysWOW64\gzpothtw\qqrcxywe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4076
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gzpothtw "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2392
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gzpothtw2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:636
-
-
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:400
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2432 -s 7402⤵
- Program crash
PID:4728
-
-
C:\Windows\SysWOW64\gzpothtw\qqrcxywe.exeC:\Windows\SysWOW64\gzpothtw\qqrcxywe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3b9857de29e1beb7de6ec52a79d8b613_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1196 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4376
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1196 -s 5082⤵
- Program crash
PID:3480
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1196 -ip 11961⤵PID:2628
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2432 -ip 24321⤵PID:4700
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
10.5MB
MD5bdf8ee1bb2ea5f8c7815fea66c0f92e3
SHA1581d9c1cf4da60b8892b8fc275fe0fa9f92cbc0e
SHA25667e6af929ab34e89b5f92b973bc7cc6e1bbdc5fcf775bc496db0ca6b6e47ac90
SHA5120db070a1e272d503d706cc00747e33fa70a70f3eed35c4795df5544fe8f39667c815811a4c76167d6ba0d659a1c3216b90b9a0298a58dfce0d56d84274c3b71a