Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28/01/2025, 17:41
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe
-
Size
12.0MB
-
MD5
c637089ab54314c90986ec81a304e0dc
-
SHA1
014dc7831a4f8177e5fc23937859b89e0de2de6b
-
SHA256
4940b64d036adb8a281feeb4976cbf45c0e465ac4ee72f0c37a7a1e1ff56de2c
-
SHA512
914a2fdade109e75eefc435498d23a1a72f6b27ae146432bbab4c125f0d98429e9fb93982607714c2a9c011138c46d7d70188f4385fd684c1cd89a5cc82a1acd
-
SSDEEP
24576:MpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttd:ooo
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 5040 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\niyrtgud\ImagePath = "C:\\Windows\\SysWOW64\\niyrtgud\\ehnhwhsy.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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe -
Deletes itself 1 IoCs
pid Process 1968 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2460 ehnhwhsy.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2460 set thread context of 1968 2460 ehnhwhsy.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3984 sc.exe 3104 sc.exe 3340 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 3848 3128 WerFault.exe 82 1092 2460 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ehnhwhsy.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3128 wrote to memory of 1424 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 84 PID 3128 wrote to memory of 1424 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 84 PID 3128 wrote to memory of 1424 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 84 PID 3128 wrote to memory of 4964 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 86 PID 3128 wrote to memory of 4964 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 86 PID 3128 wrote to memory of 4964 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 86 PID 3128 wrote to memory of 3984 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 88 PID 3128 wrote to memory of 3984 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 88 PID 3128 wrote to memory of 3984 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 88 PID 3128 wrote to memory of 3104 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 90 PID 3128 wrote to memory of 3104 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 90 PID 3128 wrote to memory of 3104 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 90 PID 3128 wrote to memory of 3340 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 92 PID 3128 wrote to memory of 3340 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 92 PID 3128 wrote to memory of 3340 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 92 PID 3128 wrote to memory of 5040 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 95 PID 3128 wrote to memory of 5040 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 95 PID 3128 wrote to memory of 5040 3128 2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe 95 PID 2460 wrote to memory of 1968 2460 ehnhwhsy.exe 101 PID 2460 wrote to memory of 1968 2460 ehnhwhsy.exe 101 PID 2460 wrote to memory of 1968 2460 ehnhwhsy.exe 101 PID 2460 wrote to memory of 1968 2460 ehnhwhsy.exe 101 PID 2460 wrote to memory of 1968 2460 ehnhwhsy.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3128 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\niyrtgud\2⤵
- System Location Discovery: System Language Discovery
PID:1424
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehnhwhsy.exe" C:\Windows\SysWOW64\niyrtgud\2⤵
- System Location Discovery: System Language Discovery
PID:4964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create niyrtgud binPath= "C:\Windows\SysWOW64\niyrtgud\ehnhwhsy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3984
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description niyrtgud "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3104
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start niyrtgud2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3340
-
-
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:5040
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3128 -s 5802⤵
- Program crash
PID:3848
-
-
C:\Windows\SysWOW64\niyrtgud\ehnhwhsy.exeC:\Windows\SysWOW64\niyrtgud\ehnhwhsy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c637089ab54314c90986ec81a304e0dc_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2460 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1968
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2460 -s 5082⤵
- Program crash
PID:1092
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3128 -ip 31281⤵PID:3316
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2460 -ip 24601⤵PID:4116
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
13.3MB
MD5356fbbc1dfee5058d5443caa464171d4
SHA1be83984e5c5f7da887f71262baaf94e1fc36f2e2
SHA256f21bc125f038669cf71cdb32c2266200db11998e2afbf11c8e6546ee1552fb0c
SHA5126fa6a0021f5528b91d7ff168e46a4c59f8acbd520d2ea4e7580d6ff1724bac4878b65543496e75d23163b6b35025c499ea0e1d51c523da3d0ff1b597e83ae72a