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
02-02-2025 04:47
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe
-
Size
15.0MB
-
MD5
44ddf319c7286465c9795bdc4d79e66f
-
SHA1
17fa4e7a77612e29765a143092356174e47493db
-
SHA256
2c0f0fc072f8ab0fc5b31e68944f7c4e76326f887d9bd44ed7e2193d6fb99c83
-
SHA512
640f40f2ff6825d68c97b7e1e02a9d663f1fb18bf97fb93ed94b0e5a94ecb2e9f83585a15c5477e8b6cdf950fda743890adb801acfac27bb288780b2857b69cd
-
SSDEEP
393216:HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXP:P
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 4124 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\shgyeyzr\ImagePath = "C:\\Windows\\SysWOW64\\shgyeyzr\\ivhexkpz.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe -
Deletes itself 1 IoCs
pid Process 4536 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4864 ivhexkpz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4864 set thread context of 4536 4864 ivhexkpz.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4920 sc.exe 116 sc.exe 3400 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 -
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-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ivhexkpz.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 64 wrote to memory of 3844 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 86 PID 64 wrote to memory of 3844 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 86 PID 64 wrote to memory of 3844 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 86 PID 64 wrote to memory of 5108 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 88 PID 64 wrote to memory of 5108 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 88 PID 64 wrote to memory of 5108 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 88 PID 64 wrote to memory of 4920 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 90 PID 64 wrote to memory of 4920 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 90 PID 64 wrote to memory of 4920 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 90 PID 64 wrote to memory of 116 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 92 PID 64 wrote to memory of 116 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 92 PID 64 wrote to memory of 116 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 92 PID 64 wrote to memory of 3400 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 94 PID 64 wrote to memory of 3400 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 94 PID 64 wrote to memory of 3400 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 94 PID 4864 wrote to memory of 4536 4864 ivhexkpz.exe 97 PID 4864 wrote to memory of 4536 4864 ivhexkpz.exe 97 PID 4864 wrote to memory of 4536 4864 ivhexkpz.exe 97 PID 4864 wrote to memory of 4536 4864 ivhexkpz.exe 97 PID 4864 wrote to memory of 4536 4864 ivhexkpz.exe 97 PID 64 wrote to memory of 4124 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 98 PID 64 wrote to memory of 4124 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 98 PID 64 wrote to memory of 4124 64 2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:64 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shgyeyzr\2⤵
- System Location Discovery: System Language Discovery
PID:3844
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ivhexkpz.exe" C:\Windows\SysWOW64\shgyeyzr\2⤵
- System Location Discovery: System Language Discovery
PID:5108
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create shgyeyzr binPath= "C:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4920
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description shgyeyzr "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:116
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start shgyeyzr2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3400
-
-
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:4124
-
-
C:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exeC:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4864 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4536
-
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
11.7MB
MD50e1e7503a866cec4de3b32c517c442dd
SHA1f738f39da3f4ceca10f6c739be8f4327254bf19c
SHA256e5a3a285730f722c216355adf2c0e48ca0d04fc8c8949391b9765887bf0c241f
SHA512fe80d0687dca340c1d90009ce9b457683b2f6b690a02c3cd10cf40d50841cce08e6d4f3cc6873c024b768c939894219d56ea082f722c368466182ed2c4d892e2