Analysis
-
max time kernel
145s -
max time network
130s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 20:33
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe
-
Size
12.2MB
-
MD5
b0af9ab857da603db7f5ca223f96ec20
-
SHA1
4d8ddfddc599382819c03d96fc1050adbb76b56f
-
SHA256
34fa1ec69a9bf956160c9ebcd19f5fa1cb856f92a4f06148682d150a8a2a4417
-
SHA512
20c7598e64398fb8da3303079ede0edd792a962af8da52de5685c48656e14124a07379f47c5b52b57f6d3993601d885ebbff71bfb012b57e7575f31f33efdab7
-
SSDEEP
393216:IXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:
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 2992 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gxhqbvob\ImagePath = "C:\\Windows\\SysWOW64\\gxhqbvob\\enhmedyu.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-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe -
Deletes itself 1 IoCs
pid Process 4436 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3532 enhmedyu.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3532 set thread context of 4436 3532 enhmedyu.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3288 sc.exe 220 sc.exe 3588 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language enhmedyu.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 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4160 wrote to memory of 4020 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 86 PID 4160 wrote to memory of 4020 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 86 PID 4160 wrote to memory of 4020 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 86 PID 4160 wrote to memory of 3928 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 88 PID 4160 wrote to memory of 3928 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 88 PID 4160 wrote to memory of 3928 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 88 PID 4160 wrote to memory of 3288 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 90 PID 4160 wrote to memory of 3288 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 90 PID 4160 wrote to memory of 3288 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 90 PID 4160 wrote to memory of 220 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 92 PID 4160 wrote to memory of 220 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 92 PID 4160 wrote to memory of 220 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 92 PID 4160 wrote to memory of 3588 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 94 PID 4160 wrote to memory of 3588 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 94 PID 4160 wrote to memory of 3588 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 94 PID 3532 wrote to memory of 4436 3532 enhmedyu.exe 97 PID 3532 wrote to memory of 4436 3532 enhmedyu.exe 97 PID 3532 wrote to memory of 4436 3532 enhmedyu.exe 97 PID 3532 wrote to memory of 4436 3532 enhmedyu.exe 97 PID 3532 wrote to memory of 4436 3532 enhmedyu.exe 97 PID 4160 wrote to memory of 2992 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 98 PID 4160 wrote to memory of 2992 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 98 PID 4160 wrote to memory of 2992 4160 2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4160 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxhqbvob\2⤵
- System Location Discovery: System Language Discovery
PID:4020
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\enhmedyu.exe" C:\Windows\SysWOW64\gxhqbvob\2⤵
- System Location Discovery: System Language Discovery
PID:3928
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gxhqbvob binPath= "C:\Windows\SysWOW64\gxhqbvob\enhmedyu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3288
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gxhqbvob "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:220
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gxhqbvob2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3588
-
-
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:2992
-
-
C:\Windows\SysWOW64\gxhqbvob\enhmedyu.exeC:\Windows\SysWOW64\gxhqbvob\enhmedyu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_b0af9ab857da603db7f5ca223f96ec20_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3532 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4436
-
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
14.2MB
MD539a9cf1d9bd23918d653fda8cd2c5922
SHA1bfd9aa31f2f0c11ac87f549d31c04e657bfcce60
SHA2562923bbb66bcaabfcc61b9b406f77aff581bbb57dc69ff98ab4141cc10a8108b9
SHA512e1db1966e2ead688de7d2809e56bbe0e7fe9d57db4c57d9b3f897317381f162084dce61b03f5bdbeda02d9034edb6d432e4bbc79a89a4054abf475613dc4b96a