Analysis
-
max time kernel
144s -
max time network
154s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 01:48
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe
-
Size
12.1MB
-
MD5
564ea855655c4ab90128c5e817e41078
-
SHA1
a5932b4005afb76b32a93272be0a7d3dde40ed60
-
SHA256
f575adb4f2a662d482bc9fecddb45d2978c8f38be2bb3fc4a7fd617ab1cb20a2
-
SHA512
e4f407d50563c4ba5a7159180e45691b882a5b7d496a2d4d014625952f217609fb7cf93c988bda7423b7709fd87399ac5de59fba70692c15ac1a4a028afa684c
-
SSDEEP
24576:OpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttP:ioo
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 2896 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\ftkgzzgv\ImagePath = "C:\\Windows\\SysWOW64\\ftkgzzgv\\afpkeqnp.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-70482961-775596374-3727440602-1000\Control Panel\International\Geo\Nation 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe -
Deletes itself 1 IoCs
pid Process 4252 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 232 afpkeqnp.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 232 set thread context of 4252 232 afpkeqnp.exe 112 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4092 sc.exe 2544 sc.exe 1284 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 1416 5044 WerFault.exe 83 2244 232 WerFault.exe 105 -
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 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.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 svchost.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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language afpkeqnp.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5044 wrote to memory of 1856 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 94 PID 5044 wrote to memory of 1856 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 94 PID 5044 wrote to memory of 1856 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 94 PID 5044 wrote to memory of 2752 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 96 PID 5044 wrote to memory of 2752 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 96 PID 5044 wrote to memory of 2752 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 96 PID 5044 wrote to memory of 4092 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 99 PID 5044 wrote to memory of 4092 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 99 PID 5044 wrote to memory of 4092 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 99 PID 5044 wrote to memory of 2544 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 101 PID 5044 wrote to memory of 2544 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 101 PID 5044 wrote to memory of 2544 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 101 PID 5044 wrote to memory of 1284 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 103 PID 5044 wrote to memory of 1284 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 103 PID 5044 wrote to memory of 1284 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 103 PID 5044 wrote to memory of 2896 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 106 PID 5044 wrote to memory of 2896 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 106 PID 5044 wrote to memory of 2896 5044 2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe 106 PID 232 wrote to memory of 4252 232 afpkeqnp.exe 112 PID 232 wrote to memory of 4252 232 afpkeqnp.exe 112 PID 232 wrote to memory of 4252 232 afpkeqnp.exe 112 PID 232 wrote to memory of 4252 232 afpkeqnp.exe 112 PID 232 wrote to memory of 4252 232 afpkeqnp.exe 112
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5044 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ftkgzzgv\2⤵
- System Location Discovery: System Language Discovery
PID:1856
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afpkeqnp.exe" C:\Windows\SysWOW64\ftkgzzgv\2⤵
- System Location Discovery: System Language Discovery
PID:2752
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ftkgzzgv binPath= "C:\Windows\SysWOW64\ftkgzzgv\afpkeqnp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4092
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ftkgzzgv "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2544
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ftkgzzgv2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1284
-
-
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:2896
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5044 -s 12282⤵
- Program crash
PID:1416
-
-
C:\Windows\SysWOW64\ftkgzzgv\afpkeqnp.exeC:\Windows\SysWOW64\ftkgzzgv\afpkeqnp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_564ea855655c4ab90128c5e817e41078_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:232 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4252
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 232 -s 5122⤵
- Program crash
PID:2244
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5044 -ip 50441⤵PID:3156
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 232 -ip 2321⤵PID:4836
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.9MB
MD5ddc97be4f0a9348a8665f9938ea0365a
SHA14554cfc131d3f8485f81a08a3237fbc11fa8f9a9
SHA256999cb7e3135e864c0b8de04b60bb78ff8d945971ea3e2f303967fe8a826ab1ad
SHA51225c88874c510754ea1890c5403a2ce63ad710f30af013ffa935b3deda98a45160e972966339e990619dbd955fcd597375586ded6164791c82276d003aa4bf2f3