Analysis
-
max time kernel
140s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28-01-2025 01:28
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe
-
Size
13.0MB
-
MD5
0e10aea1cfb39b35a3a5b283d31fd5bf
-
SHA1
0d849c20326f2c9522c60bb8e28afe0d955c5898
-
SHA256
6750b6fb0c62f8dbb8d2c65aa6149f1a08fc3e0da333449e56d735ad52e7898e
-
SHA512
3a0e37fe7fd49ff71635cddf0d8514ebe826a9521c45f45c6ec215983c79a83a9bf65dd64547e57a1b623604ec4fa4d1240503b07b4ae7381af3f19ee1debb05
-
SSDEEP
24576:qpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttJ:+oo/
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 1640 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\ourtknsc\ImagePath = "C:\\Windows\\SysWOW64\\ourtknsc\\kgyyvkjx.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-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe -
Deletes itself 1 IoCs
pid Process 3664 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1792 kgyyvkjx.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1792 set thread context of 3664 1792 kgyyvkjx.exe 99 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3988 sc.exe 3604 sc.exe 1420 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 5060 2320 WerFault.exe 82 2696 1792 WerFault.exe 93 -
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 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language kgyyvkjx.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2320 wrote to memory of 4876 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 83 PID 2320 wrote to memory of 4876 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 83 PID 2320 wrote to memory of 4876 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 83 PID 2320 wrote to memory of 3164 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 85 PID 2320 wrote to memory of 3164 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 85 PID 2320 wrote to memory of 3164 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 85 PID 2320 wrote to memory of 3988 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 87 PID 2320 wrote to memory of 3988 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 87 PID 2320 wrote to memory of 3988 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 87 PID 2320 wrote to memory of 3604 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 89 PID 2320 wrote to memory of 3604 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 89 PID 2320 wrote to memory of 3604 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 89 PID 2320 wrote to memory of 1420 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 91 PID 2320 wrote to memory of 1420 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 91 PID 2320 wrote to memory of 1420 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 91 PID 2320 wrote to memory of 1640 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 94 PID 2320 wrote to memory of 1640 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 94 PID 2320 wrote to memory of 1640 2320 2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe 94 PID 1792 wrote to memory of 3664 1792 kgyyvkjx.exe 99 PID 1792 wrote to memory of 3664 1792 kgyyvkjx.exe 99 PID 1792 wrote to memory of 3664 1792 kgyyvkjx.exe 99 PID 1792 wrote to memory of 3664 1792 kgyyvkjx.exe 99 PID 1792 wrote to memory of 3664 1792 kgyyvkjx.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2320 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ourtknsc\2⤵
- System Location Discovery: System Language Discovery
PID:4876
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kgyyvkjx.exe" C:\Windows\SysWOW64\ourtknsc\2⤵
- System Location Discovery: System Language Discovery
PID:3164
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ourtknsc binPath= "C:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3988
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ourtknsc "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3604
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ourtknsc2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1420
-
-
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:1640
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2320 -s 13002⤵
- Program crash
PID:5060
-
-
C:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exeC:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1792 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3664
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1792 -s 5122⤵
- Program crash
PID:2696
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2320 -ip 23201⤵PID:3656
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 1792 -ip 17921⤵PID:856
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.8MB
MD56dadc40a275257c35a70397158d9dbbd
SHA1f75fefc0ae96cbdfac560c05964c071ad3b665ea
SHA256d8aef3d1ee47620bc5f6c5d75a3940622eb5834b7a6ce083f78faea3a993946a
SHA512234563a57e34b32c5fc835ebfe111aac68d5175395f73de377dac70455f12e4a58594f85acde1cf84c13f70967ff1147632659e193e862e12334d94afcf78af9