Analysis
-
max time kernel
145s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
29/01/2025, 17:28
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe
-
Size
10.8MB
-
MD5
566bbb19f3c7cc564d8bc4387efba05c
-
SHA1
7d5c801927244a0c64a164fe66f23c2c7566bee3
-
SHA256
18a7e2c03f3ef42f3f49633f77567e9d52126bfb9d7364d3a64cecf242279583
-
SHA512
eaac74c7a2fced2ef0237b12004949391d2b55f8922b184cdd07adc71a8e4366f368f2541c91103f0d5eb6ed3823b790c41e9ae3754c51469cbf1260d9ca8d64
-
SSDEEP
49152:lqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:lqtYc3
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 228 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gjexofaz\ImagePath = "C:\\Windows\\SysWOW64\\gjexofaz\\saptgenn.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe -
Deletes itself 1 IoCs
pid Process 3552 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3652 saptgenn.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3652 set thread context of 3552 3652 saptgenn.exe 93 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2292 sc.exe 2740 sc.exe 4280 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 2496 3652 WerFault.exe 92 2180 5032 WerFault.exe 81 -
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 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language saptgenn.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5032 wrote to memory of 3156 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 82 PID 5032 wrote to memory of 3156 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 82 PID 5032 wrote to memory of 3156 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 82 PID 5032 wrote to memory of 3544 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 84 PID 5032 wrote to memory of 3544 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 84 PID 5032 wrote to memory of 3544 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 84 PID 5032 wrote to memory of 2292 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 86 PID 5032 wrote to memory of 2292 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 86 PID 5032 wrote to memory of 2292 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 86 PID 5032 wrote to memory of 2740 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 88 PID 5032 wrote to memory of 2740 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 88 PID 5032 wrote to memory of 2740 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 88 PID 5032 wrote to memory of 4280 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 90 PID 5032 wrote to memory of 4280 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 90 PID 5032 wrote to memory of 4280 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 90 PID 3652 wrote to memory of 3552 3652 saptgenn.exe 93 PID 3652 wrote to memory of 3552 3652 saptgenn.exe 93 PID 3652 wrote to memory of 3552 3652 saptgenn.exe 93 PID 3652 wrote to memory of 3552 3652 saptgenn.exe 93 PID 3652 wrote to memory of 3552 3652 saptgenn.exe 93 PID 5032 wrote to memory of 228 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 97 PID 5032 wrote to memory of 228 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 97 PID 5032 wrote to memory of 228 5032 2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5032 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjexofaz\2⤵
- System Location Discovery: System Language Discovery
PID:3156
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\gjexofaz\2⤵
- System Location Discovery: System Language Discovery
PID:3544
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gjexofaz binPath= "C:\Windows\SysWOW64\gjexofaz\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2292
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gjexofaz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2740
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gjexofaz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4280
-
-
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:228
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5032 -s 11682⤵
- Program crash
PID:2180
-
-
C:\Windows\SysWOW64\gjexofaz\saptgenn.exeC:\Windows\SysWOW64\gjexofaz\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3652 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3552
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3652 -s 5282⤵
- Program crash
PID:2496
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3652 -ip 36521⤵PID:2116
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 5032 -ip 50321⤵PID:4940
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.8MB
MD5d593f8375ff0df3c53bcb949b81980e5
SHA1c89752b2cdad561687010104461b6215cbee870d
SHA2561a8afb0a9fe1d212e9c88917ab4cb2ba7c486266dffaf413e896720ffdf7014d
SHA512d9632aadd6ff42de02b801cb729976e31e5bd1f4b8e3f9af11cccb2fc23129d421c311bebade97eec2067f6d28a8e42646baf56ceb0dfe99f53fe9af36853051