Analysis
-
max time kernel
140s -
max time network
145s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
31-12-2024 18:49
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe
-
Size
11.3MB
-
MD5
041bff40cf772c28086f2136218489f2
-
SHA1
a933c80b433a90b7985599f6d7b4a498cf2c75d7
-
SHA256
b0bdf6212ea9483d04f5ad47a0d4af05f379eeddbee38b13627ad921af336bf3
-
SHA512
77c8cf466a70b5ff5545d2fe997b48c84f090f3e63c48ed9df087c5bbf76d00f2132a3173fd792caee7c12621adafd08fddb72631d11025edcc2204d15cf39c5
-
SSDEEP
3072:RLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:UOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 4380 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\qgwcdpkd\ImagePath = "C:\\Windows\\SysWOW64\\qgwcdpkd\\tnnepypr.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 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe -
Deletes itself 1 IoCs
pid Process 3044 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4324 tnnepypr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4324 set thread context of 3044 4324 tnnepypr.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4056 sc.exe 2548 sc.exe 3816 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 1800 2260 WerFault.exe 81 2392 4324 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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language tnnepypr.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2260 wrote to memory of 3488 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 82 PID 2260 wrote to memory of 3488 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 82 PID 2260 wrote to memory of 3488 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 82 PID 2260 wrote to memory of 1564 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 84 PID 2260 wrote to memory of 1564 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 84 PID 2260 wrote to memory of 1564 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 84 PID 2260 wrote to memory of 2548 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 86 PID 2260 wrote to memory of 2548 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 86 PID 2260 wrote to memory of 2548 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 86 PID 2260 wrote to memory of 3816 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 88 PID 2260 wrote to memory of 3816 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 88 PID 2260 wrote to memory of 3816 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 88 PID 2260 wrote to memory of 4056 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 90 PID 2260 wrote to memory of 4056 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 90 PID 2260 wrote to memory of 4056 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 90 PID 2260 wrote to memory of 4380 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 93 PID 2260 wrote to memory of 4380 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 93 PID 2260 wrote to memory of 4380 2260 2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe 93 PID 4324 wrote to memory of 3044 4324 tnnepypr.exe 102 PID 4324 wrote to memory of 3044 4324 tnnepypr.exe 102 PID 4324 wrote to memory of 3044 4324 tnnepypr.exe 102 PID 4324 wrote to memory of 3044 4324 tnnepypr.exe 102 PID 4324 wrote to memory of 3044 4324 tnnepypr.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2260 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qgwcdpkd\2⤵
- System Location Discovery: System Language Discovery
PID:3488
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnnepypr.exe" C:\Windows\SysWOW64\qgwcdpkd\2⤵
- System Location Discovery: System Language Discovery
PID:1564
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create qgwcdpkd binPath= "C:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2548
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description qgwcdpkd "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3816
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start qgwcdpkd2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4056
-
-
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:4380
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2260 -s 6682⤵
- Program crash
PID:1800
-
-
C:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exeC:\Windows\SysWOW64\qgwcdpkd\tnnepypr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-31_041bff40cf772c28086f2136218489f2_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4324 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3044
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4324 -s 5082⤵
- Program crash
PID:2392
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2260 -ip 22601⤵PID:3580
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4324 -ip 43241⤵PID:2692
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
15.0MB
MD531662ab62107e8f6583a83384594711b
SHA10f18bde661495e638aed3d198e53536915f4e91e
SHA2563e569fcd1f2429be2345f3696d401fe14e663de33ec9cc608a061c2dbed640fe
SHA512e1e0fcf8a8359e79148d8871b9881a1cf51fa607863ebc112774d425e9e69a75a883d4a10c87bec4a94252ca0eaeac36fb4284611b4e03c18fbc49888001d60e