Analysis
-
max time kernel
146s -
max time network
145s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
05-02-2025 21:45
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe
-
Size
12.1MB
-
MD5
0d6033f04c52d76dfb4f91626b147366
-
SHA1
2d2b4e4ed500d4b403cfbe1e4f2f8a1549953604
-
SHA256
6a1da763c46e6b2629d9860a9faff3f8022bb7f3f832351249870c848ea6b5a3
-
SHA512
d2d24eb3dae4890e0a4ec40cade8d0ed86117ec74127a550069848b59ab3a5d9c0378b815df4a63746b261b05f108e50bc827b3de44f79a978dd5c18c406b474
-
SSDEEP
6144:9LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQA:uTYe+D2jFu+iZoUFhAzx
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 2160 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\kpxbfpvf\ImagePath = "C:\\Windows\\SysWOW64\\kpxbfpvf\\hbbsdmdf.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe -
Deletes itself 1 IoCs
pid Process 1068 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3592 hbbsdmdf.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3592 set thread context of 1068 3592 hbbsdmdf.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 448 sc.exe 3368 sc.exe 2004 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 840 4704 WerFault.exe 83 876 3592 WerFault.exe 97 -
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-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 hbbsdmdf.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4704 wrote to memory of 4812 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 87 PID 4704 wrote to memory of 4812 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 87 PID 4704 wrote to memory of 4812 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 87 PID 4704 wrote to memory of 1664 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 89 PID 4704 wrote to memory of 1664 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 89 PID 4704 wrote to memory of 1664 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 89 PID 4704 wrote to memory of 448 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 91 PID 4704 wrote to memory of 448 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 91 PID 4704 wrote to memory of 448 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 91 PID 4704 wrote to memory of 3368 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 93 PID 4704 wrote to memory of 3368 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 93 PID 4704 wrote to memory of 3368 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 93 PID 4704 wrote to memory of 2004 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 95 PID 4704 wrote to memory of 2004 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 95 PID 4704 wrote to memory of 2004 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 95 PID 4704 wrote to memory of 2160 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 98 PID 4704 wrote to memory of 2160 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 98 PID 4704 wrote to memory of 2160 4704 2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe 98 PID 3592 wrote to memory of 1068 3592 hbbsdmdf.exe 102 PID 3592 wrote to memory of 1068 3592 hbbsdmdf.exe 102 PID 3592 wrote to memory of 1068 3592 hbbsdmdf.exe 102 PID 3592 wrote to memory of 1068 3592 hbbsdmdf.exe 102 PID 3592 wrote to memory of 1068 3592 hbbsdmdf.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4704 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kpxbfpvf\2⤵
- System Location Discovery: System Language Discovery
PID:4812
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbbsdmdf.exe" C:\Windows\SysWOW64\kpxbfpvf\2⤵
- System Location Discovery: System Language Discovery
PID:1664
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create kpxbfpvf binPath= "C:\Windows\SysWOW64\kpxbfpvf\hbbsdmdf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:448
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description kpxbfpvf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3368
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start kpxbfpvf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2004
-
-
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:2160
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4704 -s 12282⤵
- Program crash
PID:840
-
-
C:\Windows\SysWOW64\kpxbfpvf\hbbsdmdf.exeC:\Windows\SysWOW64\kpxbfpvf\hbbsdmdf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_0d6033f04c52d76dfb4f91626b147366_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3592 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1068
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3592 -s 5122⤵
- Program crash
PID:876
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4704 -ip 47041⤵PID:2560
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3592 -ip 35921⤵PID:1480
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
13.4MB
MD5eb66c977f265a0b882d33437754a4820
SHA1ad36a914167737676d0f4062ff8c98482ba6167c
SHA25613e1f9bc91875702f283c0385bf2c3ffcf655dcfeb85e52b51228329cdeb6259
SHA512d005b2bb8f4d2487249a2a1b2d44fedef64dacfa8d42fa0648b5d5180283d5d3be8373c2ec1dd36a137cc05681c5270632bc0a0208dd3818b220d5df80006423