Analysis
-
max time kernel
141s -
max time network
128s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 12:05
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe
-
Size
14.1MB
-
MD5
f7da13f615639ece98410f33d193d766
-
SHA1
3ff4669bef39fbec5c96038aac654faa8d7de61d
-
SHA256
e462a4edf20e32317f6164ab0eb8bcbf34e6e4adaa5c6c51f38e678bfc486944
-
SHA512
3d9b59b17b682fde082029b168a06a27a57ebe931827d4047ed8fe2eae07bcb1b37a8671238e677b89c6a819d3c2400044c2ad698c3a953fa83834c6825669ae
-
SSDEEP
24576:rEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZp:4fotT
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 220 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gmxkowlu\ImagePath = "C:\\Windows\\SysWOW64\\gmxkowlu\\hqkphgbx.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-2436272344-4274332273-444425594-1000\Control Panel\International\Geo\Nation 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe -
Deletes itself 1 IoCs
pid Process 3904 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3184 hqkphgbx.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3184 set thread context of 3904 3184 hqkphgbx.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3136 sc.exe 4052 sc.exe 2112 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 2916 3700 WerFault.exe 82 4904 3184 WerFault.exe 96 -
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 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language hqkphgbx.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3700 wrote to memory of 1252 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 86 PID 3700 wrote to memory of 1252 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 86 PID 3700 wrote to memory of 1252 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 86 PID 3700 wrote to memory of 1648 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 88 PID 3700 wrote to memory of 1648 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 88 PID 3700 wrote to memory of 1648 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 88 PID 3700 wrote to memory of 3136 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 90 PID 3700 wrote to memory of 3136 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 90 PID 3700 wrote to memory of 3136 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 90 PID 3700 wrote to memory of 4052 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 92 PID 3700 wrote to memory of 4052 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 92 PID 3700 wrote to memory of 4052 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 92 PID 3700 wrote to memory of 2112 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 94 PID 3700 wrote to memory of 2112 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 94 PID 3700 wrote to memory of 2112 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 94 PID 3700 wrote to memory of 220 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 97 PID 3700 wrote to memory of 220 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 97 PID 3700 wrote to memory of 220 3700 2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe 97 PID 3184 wrote to memory of 3904 3184 hqkphgbx.exe 102 PID 3184 wrote to memory of 3904 3184 hqkphgbx.exe 102 PID 3184 wrote to memory of 3904 3184 hqkphgbx.exe 102 PID 3184 wrote to memory of 3904 3184 hqkphgbx.exe 102 PID 3184 wrote to memory of 3904 3184 hqkphgbx.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3700 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmxkowlu\2⤵
- System Location Discovery: System Language Discovery
PID:1252
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqkphgbx.exe" C:\Windows\SysWOW64\gmxkowlu\2⤵
- System Location Discovery: System Language Discovery
PID:1648
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gmxkowlu binPath= "C:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3136
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gmxkowlu "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4052
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gmxkowlu2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2112
-
-
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:220
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3700 -s 10362⤵
- Program crash
PID:2916
-
-
C:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exeC:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3184 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3904
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3184 -s 5122⤵
- Program crash
PID:4904
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3700 -ip 37001⤵PID:2948
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3184 -ip 31841⤵PID:1872
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.0MB
MD59a3fdfef5fd94bd9e28a8f8977248d2b
SHA10043ffcf0f937627490a9d0c8e4ac501ac626d34
SHA25689bc1af4a49caa80239dbbe0a04e668d607cdb2fa540853e89eaeeb56d6b473b
SHA512f73efa83f13ab2caccbf51a92c85e50a1ff82c0d5e873d2313d9306fb93161d6522380c42f925d7f6395fa76446237c6ba17f377cac68f262c41d6f119bfbc07