Analysis
-
max time kernel
149s -
max time network
151s -
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, 02:42
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe
-
Size
11.7MB
-
MD5
38a226e27ea670bcda1d696d31180d0e
-
SHA1
05b0084bd2fe7a9ebcf43d13b394d71d7e41cbd9
-
SHA256
0057487f203f8cef19e5359b19b2c7ce04933cb01c762409115847e976aaa274
-
SHA512
2578cd17242c6d5d1b7c3c367b33480a33857d9596d78088fcfe5ae8959b2264826446ffdc16d508ad23eaac18673a2d8ecb6003dff9f4c6c933541a2667b7f4
-
SSDEEP
24576:06WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ2:ZWdLQks
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 4308 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\qauseszh\ImagePath = "C:\\Windows\\SysWOW64\\qauseszh\\zzalghfn.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-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe -
Deletes itself 1 IoCs
pid Process 3180 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4240 zzalghfn.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4240 set thread context of 3180 4240 zzalghfn.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1112 sc.exe 1256 sc.exe 3992 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 5088 4532 WerFault.exe 81 1560 4240 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 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.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 zzalghfn.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 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 4532 wrote to memory of 3876 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 82 PID 4532 wrote to memory of 3876 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 82 PID 4532 wrote to memory of 3876 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 82 PID 4532 wrote to memory of 4560 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 84 PID 4532 wrote to memory of 4560 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 84 PID 4532 wrote to memory of 4560 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 84 PID 4532 wrote to memory of 1112 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 86 PID 4532 wrote to memory of 1112 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 86 PID 4532 wrote to memory of 1112 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 86 PID 4532 wrote to memory of 1256 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 90 PID 4532 wrote to memory of 1256 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 90 PID 4532 wrote to memory of 1256 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 90 PID 4532 wrote to memory of 3992 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 92 PID 4532 wrote to memory of 3992 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 92 PID 4532 wrote to memory of 3992 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 92 PID 4532 wrote to memory of 4308 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 96 PID 4532 wrote to memory of 4308 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 96 PID 4532 wrote to memory of 4308 4532 2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe 96 PID 4240 wrote to memory of 3180 4240 zzalghfn.exe 102 PID 4240 wrote to memory of 3180 4240 zzalghfn.exe 102 PID 4240 wrote to memory of 3180 4240 zzalghfn.exe 102 PID 4240 wrote to memory of 3180 4240 zzalghfn.exe 102 PID 4240 wrote to memory of 3180 4240 zzalghfn.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4532 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qauseszh\2⤵
- System Location Discovery: System Language Discovery
PID:3876
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zzalghfn.exe" C:\Windows\SysWOW64\qauseszh\2⤵
- System Location Discovery: System Language Discovery
PID:4560
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create qauseszh binPath= "C:\Windows\SysWOW64\qauseszh\zzalghfn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1112
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description qauseszh "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1256
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start qauseszh2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3992
-
-
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:4308
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4532 -s 5922⤵
- Program crash
PID:5088
-
-
C:\Windows\SysWOW64\qauseszh\zzalghfn.exeC:\Windows\SysWOW64\qauseszh\zzalghfn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4240 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3180
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4240 -s 5322⤵
- Program crash
PID:1560
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4532 -ip 45321⤵PID:532
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4240 -ip 42401⤵PID:4844
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.5MB
MD5ae775a39ce16b23b421a5295ee639d63
SHA13aa5dd655cbe165dc807a92c83d0cbfd205a680a
SHA25618a9992d963c57c7291a541e270d955311686141c7d5c7ff9eb21a1d0ce1ec40
SHA512d3f995f88b3c9dbcbec9a2682b4888bb19808850e7da7563f7b786a6b3183d0eea8b299fa4248e510069ac582ce1404162de41a7735425a61ea014fece8368f2