Analysis
-
max time kernel
143s -
max time network
143s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
10-01-2025 15:25
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe
-
Size
236KB
-
MD5
bca290cedf0f3ff0b6fcdadb8b561871
-
SHA1
89efca3114eab03cd160d3dc31c69a29980fc944
-
SHA256
170e8cb3e4e81ef1e10adbd13e8172334a6ad1f62d7f64b2eb00688eee2abd53
-
SHA512
cc4d41c3ceffe57a927300a84b022aa9df8dd43ed46f5aafbef17a0a82e91543271ec0eb16da7385ed581a45b899ccff0ddb1c2998c87d72fe5fb2c7c295cda0
-
SSDEEP
3072:3RaPw6Jy/NyTEIzkzCrcUE1LxCcdtP40NL0aOFL6GpCKIOBvgY21KSt08NUj0DC/:ew68NpzxddVpKV6G7VgRqQdQ
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 3360 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\szwfshrk\ImagePath = "C:\\Windows\\SysWOW64\\szwfshrk\\mhldtege.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-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe -
Deletes itself 1 IoCs
pid Process 3400 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 312 mhldtege.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 312 set thread context of 3400 312 mhldtege.exe 107 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1060 sc.exe 1196 sc.exe 3304 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 3852 2536 WerFault.exe 82 2932 312 WerFault.exe 94 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mhldtege.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_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 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 2536 wrote to memory of 836 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 84 PID 2536 wrote to memory of 836 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 84 PID 2536 wrote to memory of 836 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 84 PID 2536 wrote to memory of 1632 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 86 PID 2536 wrote to memory of 1632 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 86 PID 2536 wrote to memory of 1632 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 86 PID 2536 wrote to memory of 1060 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 88 PID 2536 wrote to memory of 1060 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 88 PID 2536 wrote to memory of 1060 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 88 PID 2536 wrote to memory of 1196 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 90 PID 2536 wrote to memory of 1196 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 90 PID 2536 wrote to memory of 1196 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 90 PID 2536 wrote to memory of 3304 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 92 PID 2536 wrote to memory of 3304 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 92 PID 2536 wrote to memory of 3304 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 92 PID 2536 wrote to memory of 3360 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 95 PID 2536 wrote to memory of 3360 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 95 PID 2536 wrote to memory of 3360 2536 2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe 95 PID 312 wrote to memory of 3400 312 mhldtege.exe 107 PID 312 wrote to memory of 3400 312 mhldtege.exe 107 PID 312 wrote to memory of 3400 312 mhldtege.exe 107 PID 312 wrote to memory of 3400 312 mhldtege.exe 107 PID 312 wrote to memory of 3400 312 mhldtege.exe 107
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2536 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\szwfshrk\2⤵
- System Location Discovery: System Language Discovery
PID:836
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mhldtege.exe" C:\Windows\SysWOW64\szwfshrk\2⤵
- System Location Discovery: System Language Discovery
PID:1632
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create szwfshrk binPath= "C:\Windows\SysWOW64\szwfshrk\mhldtege.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1060
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description szwfshrk "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1196
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start szwfshrk2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3304
-
-
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:3360
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2536 -s 10402⤵
- Program crash
PID:3852
-
-
C:\Windows\SysWOW64\szwfshrk\mhldtege.exeC:\Windows\SysWOW64\szwfshrk\mhldtege.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_bca290cedf0f3ff0b6fcdadb8b561871_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:312 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3400
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 312 -s 5162⤵
- Program crash
PID:2932
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2536 -ip 25361⤵PID:2384
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 312 -ip 3121⤵PID:4756
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
12.9MB
MD5ce51de01c94a639d9facef7e2785d5ca
SHA14a4c2a949db600e03b32641f9f20e6a2543c75f8
SHA256cac1217b62e3d188c508d201e2a94a6a3a798b142d243e7adc4fbc624288c7ee
SHA512787e13e139d1399690bb2c08e706ed6ef14f1f3d00ff916937710c62030ab85ebdd0069b1396f1f478dd059f39b95a418ade1378c5c980583aa2aaa5f036113a