Analysis
-
max time kernel
145s -
max time network
123s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 22:28
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
-
Size
13.2MB
-
MD5
bad8fe193f8e3dfb32b36fb15db7847c
-
SHA1
b16ec95b086bde81dec539ccb047b116c4ef956e
-
SHA256
69b8ce694676ef83dba8b43ad91865e1c1c1c65e940dc61c85f06620984e2b44
-
SHA512
dc04ddd04e70220d7187a0d5771df3c3f855e79a78730d33e5537a6224ba49dcd6777499ab3a6049cb291a5868ede3204bbcbbc0fc6fa14300b3ed0534e55abc
-
SSDEEP
6144:QLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:FTYe+D2jFu+iZoUFhAz
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 844 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xnmfsshk\ImagePath = "C:\\Windows\\SysWOW64\\xnmfsshk\\jfxxujiw.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-1412605595-2147700071-3468511006-1000\Control Panel\International\Geo\Nation 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe -
Deletes itself 1 IoCs
pid Process 4852 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3148 jfxxujiw.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3148 set thread context of 4852 3148 jfxxujiw.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4564 sc.exe 668 sc.exe 4868 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 3984 2992 WerFault.exe 82 1556 3148 WerFault.exe 96 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language jfxxujiw.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2992 wrote to memory of 4056 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 2992 wrote to memory of 4056 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 2992 wrote to memory of 4056 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 2992 wrote to memory of 3656 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 2992 wrote to memory of 3656 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 2992 wrote to memory of 3656 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 2992 wrote to memory of 4564 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 2992 wrote to memory of 4564 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 2992 wrote to memory of 4564 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 2992 wrote to memory of 668 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 2992 wrote to memory of 668 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 2992 wrote to memory of 668 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 2992 wrote to memory of 4868 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 2992 wrote to memory of 4868 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 2992 wrote to memory of 4868 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 3148 wrote to memory of 4852 3148 jfxxujiw.exe 97 PID 3148 wrote to memory of 4852 3148 jfxxujiw.exe 97 PID 3148 wrote to memory of 4852 3148 jfxxujiw.exe 97 PID 3148 wrote to memory of 4852 3148 jfxxujiw.exe 97 PID 3148 wrote to memory of 4852 3148 jfxxujiw.exe 97 PID 2992 wrote to memory of 844 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 99 PID 2992 wrote to memory of 844 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 99 PID 2992 wrote to memory of 844 2992 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2992 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xnmfsshk\2⤵
- System Location Discovery: System Language Discovery
PID:4056
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jfxxujiw.exe" C:\Windows\SysWOW64\xnmfsshk\2⤵
- System Location Discovery: System Language Discovery
PID:3656
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xnmfsshk binPath= "C:\Windows\SysWOW64\xnmfsshk\jfxxujiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4564
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xnmfsshk "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:668
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xnmfsshk2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4868
-
-
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:844
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2992 -s 10362⤵
- Program crash
PID:3984
-
-
C:\Windows\SysWOW64\xnmfsshk\jfxxujiw.exeC:\Windows\SysWOW64\xnmfsshk\jfxxujiw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3148 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4852
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3148 -s 5282⤵
- Program crash
PID:1556
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2992 -ip 29921⤵PID:2984
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 516 -p 3148 -ip 31481⤵PID:3004
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.8MB
MD523f478934fbdda8862b58c1512a7a11f
SHA128a77f9adbfec9628585130fdfe29b76f768e0d7
SHA256b2333f74570818278fb6a3b62a76965be56bea83cf21e8069343cadacba767a0
SHA512a992f10015de7004a6a28a5c975254af7bf07d099b7825fead22d703f3caa154ef56a6355f6ac3c6aa551e890915304806b571ac9de056c1642e55202ce369e1