Analysis
-
max time kernel
144s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
30-01-2025 22:25
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe
-
Size
12.6MB
-
MD5
173d0dae116ce3af630bb816a5016ce6
-
SHA1
e922787a276ddb7dcd6a9920f37c69e62c326d69
-
SHA256
559392ab0d8b5822bfb22af22fa624a4d13ed5dbe2dfb41479b88175c36e115b
-
SHA512
3c7ac21a257f8b44582b5bf8c337a20cd7053331679ccab22fa1182a516213825ef6bdf182e5253f67c8f61b783aa614045109f5eaff4ace42a16a1149a2c67f
-
SSDEEP
24576:eEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ5:3fotz
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Windows security bypass 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\pftiohfe = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2640 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\pftiohfe\ImagePath = "C:\\Windows\\SysWOW64\\pftiohfe\\hqkphgbx.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 1656 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2608 hqkphgbx.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2608 set thread context of 1656 2608 hqkphgbx.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2708 sc.exe 1680 sc.exe 2880 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 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 hqkphgbx.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-30_173d0dae116ce3af630bb816a5016ce6_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 -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2256 wrote to memory of 2808 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 30 PID 2256 wrote to memory of 2808 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 30 PID 2256 wrote to memory of 2808 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 30 PID 2256 wrote to memory of 2808 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 30 PID 2256 wrote to memory of 2716 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 32 PID 2256 wrote to memory of 2716 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 32 PID 2256 wrote to memory of 2716 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 32 PID 2256 wrote to memory of 2716 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 32 PID 2256 wrote to memory of 2708 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 34 PID 2256 wrote to memory of 2708 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 34 PID 2256 wrote to memory of 2708 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 34 PID 2256 wrote to memory of 2708 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 34 PID 2256 wrote to memory of 1680 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 36 PID 2256 wrote to memory of 1680 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 36 PID 2256 wrote to memory of 1680 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 36 PID 2256 wrote to memory of 1680 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 36 PID 2256 wrote to memory of 2880 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 38 PID 2256 wrote to memory of 2880 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 38 PID 2256 wrote to memory of 2880 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 38 PID 2256 wrote to memory of 2880 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 38 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2608 wrote to memory of 1656 2608 hqkphgbx.exe 41 PID 2256 wrote to memory of 2640 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 42 PID 2256 wrote to memory of 2640 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 42 PID 2256 wrote to memory of 2640 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 42 PID 2256 wrote to memory of 2640 2256 2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2256 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pftiohfe\2⤵
- System Location Discovery: System Language Discovery
PID:2808
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqkphgbx.exe" C:\Windows\SysWOW64\pftiohfe\2⤵
- System Location Discovery: System Language Discovery
PID:2716
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pftiohfe binPath= "C:\Windows\SysWOW64\pftiohfe\hqkphgbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2708
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pftiohfe "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1680
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pftiohfe2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2880
-
-
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:2640
-
-
C:\Windows\SysWOW64\pftiohfe\hqkphgbx.exeC:\Windows\SysWOW64\pftiohfe\hqkphgbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2608 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1656
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
11.4MB
MD5b05fb6a8b2d40d7437c6265ce6f89d72
SHA12223109395080261ddc53a4482458dfaf8fe9f73
SHA2568aa877bf5242a8facc04f988f780b9fb24a90e48b71c0764fad6092b370e9bcb
SHA5124b321360f483a65f9377607586e9ba67c3d5debb12a278816e7bd5dd5622a53d325f6fd5f2a2f542b7aa964caced38cfe134707c80ba125e00a475a5b6abff8b