Analysis
-
max time kernel
147s -
max time network
142s -
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 22:33
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
-
Size
12.1MB
-
MD5
9cc55c14f3f8b827be600f06294a28ae
-
SHA1
95cac66b7d32e4bbac545b42ab0b4a1e3d5bf0b6
-
SHA256
7f4bf16cfb9771a3158632ca4deb1af275cdb5b52c807f6bfa5176f9cfaf2475
-
SHA512
e0fef214e744710204e3e9897d83cdde34bc70953726975e6223b49ffa8638e66ebe48b7082d9d82b4f6b5972cbc49824f575fac89f1a4b7e88b451cab4382bd
-
SSDEEP
49152:pLFuiE888888888888888888888888888888888888888888888888888888888x:pLMQ
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 4728 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\kdzkkhkz\ImagePath = "C:\\Windows\\SysWOW64\\kdzkkhkz\\egbhanx.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-1121399784-3202166597-3503557106-1000\Control Panel\International\Geo\Nation 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe -
Deletes itself 1 IoCs
pid Process 4840 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4992 egbhanx.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4992 set thread context of 4840 4992 egbhanx.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2772 sc.exe 3780 sc.exe 4816 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 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 egbhanx.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2252 wrote to memory of 1792 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 87 PID 2252 wrote to memory of 1792 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 87 PID 2252 wrote to memory of 1792 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 87 PID 2252 wrote to memory of 5028 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 89 PID 2252 wrote to memory of 5028 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 89 PID 2252 wrote to memory of 5028 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 89 PID 2252 wrote to memory of 2772 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 91 PID 2252 wrote to memory of 2772 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 91 PID 2252 wrote to memory of 2772 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 91 PID 2252 wrote to memory of 3780 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 95 PID 2252 wrote to memory of 3780 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 95 PID 2252 wrote to memory of 3780 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 95 PID 2252 wrote to memory of 4816 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 98 PID 2252 wrote to memory of 4816 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 98 PID 2252 wrote to memory of 4816 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 98 PID 4992 wrote to memory of 4840 4992 egbhanx.exe 102 PID 4992 wrote to memory of 4840 4992 egbhanx.exe 102 PID 4992 wrote to memory of 4840 4992 egbhanx.exe 102 PID 4992 wrote to memory of 4840 4992 egbhanx.exe 102 PID 4992 wrote to memory of 4840 4992 egbhanx.exe 102 PID 2252 wrote to memory of 4728 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 103 PID 2252 wrote to memory of 4728 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 103 PID 2252 wrote to memory of 4728 2252 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2252 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kdzkkhkz\2⤵
- System Location Discovery: System Language Discovery
PID:1792
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\egbhanx.exe" C:\Windows\SysWOW64\kdzkkhkz\2⤵
- System Location Discovery: System Language Discovery
PID:5028
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create kdzkkhkz binPath= "C:\Windows\SysWOW64\kdzkkhkz\egbhanx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2772
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description kdzkkhkz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3780
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start kdzkkhkz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4816
-
-
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:4728
-
-
C:\Windows\SysWOW64\kdzkkhkz\egbhanx.exeC:\Windows\SysWOW64\kdzkkhkz\egbhanx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4992 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4840
-
-
C:\Windows\System32\rundll32.exeC:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding1⤵PID:4816
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
12.1MB
MD51a1b8ddf49f231361424feae64a3f305
SHA16c2738acb9be91d4ec218196e9b957b9d359ca0e
SHA256d362a4e2720298047f6f2151acf371e148eb0cacdc47b4a656107836ec565cff
SHA512c457f47a4100cc0d4272959fe5f6dd411c86ed418b18c2d676421868de1a0162b3d425831eb299195e0cc30e8ebf1b3520b194c414e947dae806575a1de1e097