Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
24-01-2025 19:17
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
-
Size
13.6MB
-
MD5
fe68e1702fa55d9c6125bbeb3026a5b8
-
SHA1
3a1cac180b422f57c7a1576baa3f16f09f6c7b7e
-
SHA256
cc9bf7bab2fa10c5b0cdf790586f29f15e3112bd6aa289a2175a1e5aca190993
-
SHA512
03dd144e41475bc9c51122571aa9c78304ea8d4b11c1b28d2028813c45392862d8608ac6aa2c21ecd17e4350730f462fc3fb25a4cb2516744e3a166ebf0e33a4
-
SSDEEP
24576:REfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:qfot
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 992 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\njmarctl\ImagePath = "C:\\Windows\\SysWOW64\\njmarctl\\dcqsgdew.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-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe -
Deletes itself 1 IoCs
pid Process 2452 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2596 dcqsgdew.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2596 set thread context of 2452 2596 dcqsgdew.exe 107 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3788 sc.exe 4632 sc.exe 4248 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 3784 1356 WerFault.exe 82 4768 2596 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 dcqsgdew.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 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 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1356 wrote to memory of 444 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 84 PID 1356 wrote to memory of 444 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 84 PID 1356 wrote to memory of 444 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 84 PID 1356 wrote to memory of 1080 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 86 PID 1356 wrote to memory of 1080 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 86 PID 1356 wrote to memory of 1080 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 86 PID 1356 wrote to memory of 4248 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 88 PID 1356 wrote to memory of 4248 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 88 PID 1356 wrote to memory of 4248 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 88 PID 1356 wrote to memory of 3788 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 90 PID 1356 wrote to memory of 3788 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 90 PID 1356 wrote to memory of 3788 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 90 PID 1356 wrote to memory of 4632 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 94 PID 1356 wrote to memory of 4632 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 94 PID 1356 wrote to memory of 4632 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 94 PID 1356 wrote to memory of 992 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 97 PID 1356 wrote to memory of 992 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 97 PID 1356 wrote to memory of 992 1356 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 97 PID 2596 wrote to memory of 2452 2596 dcqsgdew.exe 107 PID 2596 wrote to memory of 2452 2596 dcqsgdew.exe 107 PID 2596 wrote to memory of 2452 2596 dcqsgdew.exe 107 PID 2596 wrote to memory of 2452 2596 dcqsgdew.exe 107 PID 2596 wrote to memory of 2452 2596 dcqsgdew.exe 107
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1356 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njmarctl\2⤵
- System Location Discovery: System Language Discovery
PID:444
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dcqsgdew.exe" C:\Windows\SysWOW64\njmarctl\2⤵
- System Location Discovery: System Language Discovery
PID:1080
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create njmarctl binPath= "C:\Windows\SysWOW64\njmarctl\dcqsgdew.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4248
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description njmarctl "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3788
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start njmarctl2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4632
-
-
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:992
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1356 -s 12482⤵
- Program crash
PID:3784
-
-
C:\Windows\SysWOW64\njmarctl\dcqsgdew.exeC:\Windows\SysWOW64\njmarctl\dcqsgdew.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2596 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2452
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2596 -s 5082⤵
- Program crash
PID:4768
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1356 -ip 13561⤵PID:4072
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 2596 -ip 25961⤵PID:2456
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.0MB
MD57e112d921036212b3eb6fefd24fdb1b4
SHA10ff086464b06c543125600d1ee84d10c0de75bef
SHA25660c47296a75f56eff2ef7169528bd3b7556c2c6fdf4fa2547096a3eaf950dbdf
SHA512ea6ebebb42d6451304ad7f6e71afb61b2bbeb65d19f008576ea2c4cabaa1ec42579767d4dc0d6e40cc72887467f3b3f7fc9e10067464c018e238c771079f49e2