Analysis
-
max time kernel
144s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
06-02-2025 06:07
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe
-
Size
11.0MB
-
MD5
9f4c0627ea07f2500c36b904a510be48
-
SHA1
030bc5f580aeb4d1d154e88255e42867bf3f1993
-
SHA256
d3c0e377a3f6c5a21528d5440de0378d64c7277bca9f65e4942d79b60f5d0197
-
SHA512
7d439fc2d821d0a4fb9650785836a966eb64744be27981fd057e7345b75cb4c14d34a6fcb96353b715c88b855bb5fb3907b00f5ff52456334ea25a7ea1f4af2a
-
SSDEEP
3072:0LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/u:xOMdRQr7OB0ypmMXnl8XEPM3noSWOC1
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\hnhnalkb = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3056 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\hnhnalkb\ImagePath = "C:\\Windows\\SysWOW64\\hnhnalkb\\gghsnomu.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2680 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2740 gghsnomu.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2740 set thread context of 2680 2740 gghsnomu.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2300 sc.exe 580 sc.exe 2668 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 netsh.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 gghsnomu.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 1864 wrote to memory of 2056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 30 PID 1864 wrote to memory of 2056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 30 PID 1864 wrote to memory of 2056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 30 PID 1864 wrote to memory of 2056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 30 PID 1864 wrote to memory of 2352 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 32 PID 1864 wrote to memory of 2352 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 32 PID 1864 wrote to memory of 2352 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 32 PID 1864 wrote to memory of 2352 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 32 PID 1864 wrote to memory of 2300 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 34 PID 1864 wrote to memory of 2300 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 34 PID 1864 wrote to memory of 2300 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 34 PID 1864 wrote to memory of 2300 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 34 PID 1864 wrote to memory of 580 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 36 PID 1864 wrote to memory of 580 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 36 PID 1864 wrote to memory of 580 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 36 PID 1864 wrote to memory of 580 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 36 PID 1864 wrote to memory of 2668 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 38 PID 1864 wrote to memory of 2668 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 38 PID 1864 wrote to memory of 2668 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 38 PID 1864 wrote to memory of 2668 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 38 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 2740 wrote to memory of 2680 2740 gghsnomu.exe 41 PID 1864 wrote to memory of 3056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 42 PID 1864 wrote to memory of 3056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 42 PID 1864 wrote to memory of 3056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 42 PID 1864 wrote to memory of 3056 1864 2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1864 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnhnalkb\2⤵
- System Location Discovery: System Language Discovery
PID:2056
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gghsnomu.exe" C:\Windows\SysWOW64\hnhnalkb\2⤵
- System Location Discovery: System Language Discovery
PID:2352
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hnhnalkb binPath= "C:\Windows\SysWOW64\hnhnalkb\gghsnomu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2300
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hnhnalkb "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:580
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hnhnalkb2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2668
-
-
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:3056
-
-
C:\Windows\SysWOW64\hnhnalkb\gghsnomu.exeC:\Windows\SysWOW64\hnhnalkb\gghsnomu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2740 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2680
-
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
12.7MB
MD55b58cfa58a33cbeb62962960477683a2
SHA18300923a06e2a4d4c87b3ccfdc36536243540c85
SHA256ed036f406cc44d1ea45f15fa46d9b8f2c6b160caf78c1e364122642b9453119f
SHA5124798ba23a606856dadf0885014e2470e1d795d2c85f0b54830dd4915ec6f350f39164a58389b921c40477e63802500d5d7f7b36efb580f3c80de872369bc526e