Analysis
-
max time kernel
141s -
max time network
130s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
30-01-2025 16:45
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
-
Size
10.8MB
-
MD5
9fba6bf500f826b16e4dd43e6829feec
-
SHA1
a6b38df45fb123a59ed0783030b33726c4ee74de
-
SHA256
d0f978d82cbf058a5b7e9a21adfc71163c858079f27a0d3309562fe8079aea1b
-
SHA512
7d477aceb07682037c2e5c99c96ada856dcfa41efe2271b214e2f93f87ef64ebaf7c05dcc34a7e8c3065541558e5231068c7284674c531c7689d04274ac9b9b5
-
SSDEEP
24576:E6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:pWdLQk
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 392 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hkncicog\ImagePath = "C:\\Windows\\SysWOW64\\hkncicog\\kxjgzmrb.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-3625106387-4207083342-115176794-1000\Control Panel\International\Geo\Nation 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe -
Deletes itself 1 IoCs
pid Process 1296 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3992 kxjgzmrb.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3992 set thread context of 1296 3992 kxjgzmrb.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2132 sc.exe 2108 sc.exe 876 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 2636 400 WerFault.exe 82 972 3992 WerFault.exe 95 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language kxjgzmrb.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 400 wrote to memory of 2176 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 85 PID 400 wrote to memory of 2176 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 85 PID 400 wrote to memory of 2176 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 85 PID 400 wrote to memory of 4552 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 87 PID 400 wrote to memory of 4552 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 87 PID 400 wrote to memory of 4552 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 87 PID 400 wrote to memory of 2132 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 89 PID 400 wrote to memory of 2132 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 89 PID 400 wrote to memory of 2132 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 89 PID 400 wrote to memory of 2108 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 91 PID 400 wrote to memory of 2108 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 91 PID 400 wrote to memory of 2108 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 91 PID 400 wrote to memory of 876 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 93 PID 400 wrote to memory of 876 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 93 PID 400 wrote to memory of 876 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 93 PID 400 wrote to memory of 392 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 96 PID 400 wrote to memory of 392 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 96 PID 400 wrote to memory of 392 400 2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe 96 PID 3992 wrote to memory of 1296 3992 kxjgzmrb.exe 101 PID 3992 wrote to memory of 1296 3992 kxjgzmrb.exe 101 PID 3992 wrote to memory of 1296 3992 kxjgzmrb.exe 101 PID 3992 wrote to memory of 1296 3992 kxjgzmrb.exe 101 PID 3992 wrote to memory of 1296 3992 kxjgzmrb.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:400 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkncicog\2⤵
- System Location Discovery: System Language Discovery
PID:2176
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kxjgzmrb.exe" C:\Windows\SysWOW64\hkncicog\2⤵
- System Location Discovery: System Language Discovery
PID:4552
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hkncicog binPath= "C:\Windows\SysWOW64\hkncicog\kxjgzmrb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2132
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hkncicog "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2108
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hkncicog2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:876
-
-
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:392
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 400 -s 5762⤵
- Program crash
PID:2636
-
-
C:\Windows\SysWOW64\hkncicog\kxjgzmrb.exeC:\Windows\SysWOW64\hkncicog\kxjgzmrb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3992 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1296
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3992 -s 5082⤵
- Program crash
PID:972
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 400 -ip 4001⤵PID:4456
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 3992 -ip 39921⤵PID:3592
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
10.1MB
MD56777fc4d44bfb7ecab53aec7d3db0e48
SHA1388a3c00331e5119861dba268cefa1e4a160e911
SHA25649682dfdaaae026720ac90e7a9017b2c05b6027a3d15a540342a8e26d6563e34
SHA5127dce01e80e22adeadc175d45969a5f99e9a4682b729a4716467d9c1dd5fc19ebbe7c5a977d0cb1f9b5c6bccd28b7490755e4565172677dc9fa09aed266b71321