Analysis
-
max time kernel
142s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
11-01-2025 18:27
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe
-
Size
12.0MB
-
MD5
b88efd6fd62027047f6503b844b1254b
-
SHA1
4517af79b45370fbebbe0c232c60a492b6522a21
-
SHA256
9225795b892568f50097ba1ea2c0cf9872aa3f8c65dc1ad1f4c5a709ae11156f
-
SHA512
3314dbc99d7f90926f2e2b878bdf32986833f888ae6f58de2e6452592b20f44de0a82a2bcf20daf848257a3da2bb764e570ed10f9791dc546af3b628e9ff1ef4
-
SSDEEP
24576:OEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:nfot
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 3844 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\nsgijfo\ImagePath = "C:\\Windows\\SysWOW64\\nsgijfo\\erdatglv.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-11_b88efd6fd62027047f6503b844b1254b_mafia.exe -
Deletes itself 1 IoCs
pid Process 2376 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2856 erdatglv.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2856 set thread context of 2376 2856 erdatglv.exe 108 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1968 sc.exe 2960 sc.exe 1336 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 2696 2152 WerFault.exe 84 2864 2856 WerFault.exe 95 -
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 erdatglv.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-01-11_b88efd6fd62027047f6503b844b1254b_mafia.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 2152 wrote to memory of 2680 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 85 PID 2152 wrote to memory of 2680 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 85 PID 2152 wrote to memory of 2680 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 85 PID 2152 wrote to memory of 432 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 87 PID 2152 wrote to memory of 432 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 87 PID 2152 wrote to memory of 432 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 87 PID 2152 wrote to memory of 1336 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 89 PID 2152 wrote to memory of 1336 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 89 PID 2152 wrote to memory of 1336 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 89 PID 2152 wrote to memory of 1968 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 91 PID 2152 wrote to memory of 1968 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 91 PID 2152 wrote to memory of 1968 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 91 PID 2152 wrote to memory of 2960 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 93 PID 2152 wrote to memory of 2960 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 93 PID 2152 wrote to memory of 2960 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 93 PID 2152 wrote to memory of 3844 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 96 PID 2152 wrote to memory of 3844 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 96 PID 2152 wrote to memory of 3844 2152 2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe 96 PID 2856 wrote to memory of 2376 2856 erdatglv.exe 108 PID 2856 wrote to memory of 2376 2856 erdatglv.exe 108 PID 2856 wrote to memory of 2376 2856 erdatglv.exe 108 PID 2856 wrote to memory of 2376 2856 erdatglv.exe 108 PID 2856 wrote to memory of 2376 2856 erdatglv.exe 108
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2152 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nsgijfo\2⤵
- System Location Discovery: System Language Discovery
PID:2680
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\erdatglv.exe" C:\Windows\SysWOW64\nsgijfo\2⤵
- System Location Discovery: System Language Discovery
PID:432
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create nsgijfo binPath= "C:\Windows\SysWOW64\nsgijfo\erdatglv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1336
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description nsgijfo "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1968
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start nsgijfo2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2960
-
-
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:3844
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2152 -s 10402⤵
- Program crash
PID:2696
-
-
C:\Windows\SysWOW64\nsgijfo\erdatglv.exeC:\Windows\SysWOW64\nsgijfo\erdatglv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2856 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2376
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2856 -s 5162⤵
- Program crash
PID:2864
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2152 -ip 21521⤵PID:5012
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2856 -ip 28561⤵PID:2472
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.0MB
MD525fa6ead976f01f1aa60f8c580081393
SHA1cdb90f579d08d6c42237069865ca8b49d0c1b547
SHA256959921b5ba2698f5469a2274a2ba0aa629db04c17ec39d9c89e7588a54478550
SHA5129a94fa6ed419fc5a51d8006ade12fc658bb6d6a197ab4cff5182f08229b8b13d22ab3873b82a0ab8dd7d1b2a030994593dfd3ba88f6abf79dd44557384e5454d