Analysis
-
max time kernel
149s -
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
30-12-2024 20:30
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe
-
Size
14.8MB
-
MD5
d4364d05e95824b67db490a8d95f9fdd
-
SHA1
ef331c4235f32556a897c8b88f147358b968cccc
-
SHA256
abadc617e8a448d3c4c6a6137202bb4fdbaae647610b36c9abbfa91aab40239d
-
SHA512
8f12bb9a3d3eb20b63946eb2a34fd3d6542383bd1ed85744f71b7945a88f559c6a15fd6cdc2483a3bec7edf96374f5bfadd2cdcd00b4937997facb12865ca830
-
SSDEEP
3072:kLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:hOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 2136 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wdyqakbo\ImagePath = "C:\\Windows\\SysWOW64\\wdyqakbo\\qhpnxszn.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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe -
Deletes itself 1 IoCs
pid Process 2700 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1188 qhpnxszn.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1188 set thread context of 2700 1188 qhpnxszn.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4448 sc.exe 3620 sc.exe 664 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 1472 3872 WerFault.exe 81 2344 1188 WerFault.exe 92 -
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 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 qhpnxszn.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3872 wrote to memory of 4140 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 82 PID 3872 wrote to memory of 4140 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 82 PID 3872 wrote to memory of 4140 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 82 PID 3872 wrote to memory of 2628 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 84 PID 3872 wrote to memory of 2628 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 84 PID 3872 wrote to memory of 2628 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 84 PID 3872 wrote to memory of 3620 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 86 PID 3872 wrote to memory of 3620 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 86 PID 3872 wrote to memory of 3620 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 86 PID 3872 wrote to memory of 664 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 88 PID 3872 wrote to memory of 664 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 88 PID 3872 wrote to memory of 664 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 88 PID 3872 wrote to memory of 4448 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 90 PID 3872 wrote to memory of 4448 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 90 PID 3872 wrote to memory of 4448 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 90 PID 3872 wrote to memory of 2136 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 93 PID 3872 wrote to memory of 2136 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 93 PID 3872 wrote to memory of 2136 3872 2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe 93 PID 1188 wrote to memory of 2700 1188 qhpnxszn.exe 98 PID 1188 wrote to memory of 2700 1188 qhpnxszn.exe 98 PID 1188 wrote to memory of 2700 1188 qhpnxszn.exe 98 PID 1188 wrote to memory of 2700 1188 qhpnxszn.exe 98 PID 1188 wrote to memory of 2700 1188 qhpnxszn.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3872 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wdyqakbo\2⤵
- System Location Discovery: System Language Discovery
PID:4140
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qhpnxszn.exe" C:\Windows\SysWOW64\wdyqakbo\2⤵
- System Location Discovery: System Language Discovery
PID:2628
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create wdyqakbo binPath= "C:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3620
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description wdyqakbo "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:664
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start wdyqakbo2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4448
-
-
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:2136
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3872 -s 8962⤵
- Program crash
PID:1472
-
-
C:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exeC:\Windows\SysWOW64\wdyqakbo\qhpnxszn.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-30_d4364d05e95824b67db490a8d95f9fdd_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1188 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2700
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1188 -s 5122⤵
- Program crash
PID:2344
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3872 -ip 38721⤵PID:4856
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1188 -ip 11881⤵PID:2920
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.2MB
MD57191396f7b6fec77fd9b21c20e92a95f
SHA1616242130ebbae912d99c9309654790f7ba6e9f2
SHA256c28e6537c08d928d5ad4c3c8bbdf7a37dbf82a1233c1c6392c17df7d4fb02650
SHA512dc717a40efdfd70851ef7fd465d84e95d92ab4247b573b50531e227f00d7a39c0d57815699282ccf2345a745fef088f2e615f1e9affca798c7bf6e6418b3390d