Analysis
-
max time kernel
145s -
max time network
136s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 22:31
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe
-
Size
13.2MB
-
MD5
bad8fe193f8e3dfb32b36fb15db7847c
-
SHA1
b16ec95b086bde81dec539ccb047b116c4ef956e
-
SHA256
69b8ce694676ef83dba8b43ad91865e1c1c1c65e940dc61c85f06620984e2b44
-
SHA512
dc04ddd04e70220d7187a0d5771df3c3f855e79a78730d33e5537a6224ba49dcd6777499ab3a6049cb291a5868ede3204bbcbbc0fc6fa14300b3ed0534e55abc
-
SSDEEP
6144:QLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:FTYe+D2jFu+iZoUFhAz
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 2468 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\zhmgnlau\ImagePath = "C:\\Windows\\SysWOW64\\zhmgnlau\\lkyaolme.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe -
Deletes itself 1 IoCs
pid Process 632 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4020 lkyaolme.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4020 set thread context of 632 4020 lkyaolme.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1816 sc.exe 3476 sc.exe 3312 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 3416 4020 WerFault.exe 96 4160 540 WerFault.exe 82 -
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 lkyaolme.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 540 wrote to memory of 2960 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 540 wrote to memory of 2960 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 540 wrote to memory of 2960 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 86 PID 540 wrote to memory of 264 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 540 wrote to memory of 264 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 540 wrote to memory of 264 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 88 PID 540 wrote to memory of 1816 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 540 wrote to memory of 1816 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 540 wrote to memory of 1816 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 90 PID 540 wrote to memory of 3476 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 540 wrote to memory of 3476 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 540 wrote to memory of 3476 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 92 PID 540 wrote to memory of 3312 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 540 wrote to memory of 3312 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 540 wrote to memory of 3312 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 94 PID 540 wrote to memory of 2468 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 97 PID 540 wrote to memory of 2468 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 97 PID 540 wrote to memory of 2468 540 2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe 97 PID 4020 wrote to memory of 632 4020 lkyaolme.exe 100 PID 4020 wrote to memory of 632 4020 lkyaolme.exe 100 PID 4020 wrote to memory of 632 4020 lkyaolme.exe 100 PID 4020 wrote to memory of 632 4020 lkyaolme.exe 100 PID 4020 wrote to memory of 632 4020 lkyaolme.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:540 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zhmgnlau\2⤵
- System Location Discovery: System Language Discovery
PID:2960
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lkyaolme.exe" C:\Windows\SysWOW64\zhmgnlau\2⤵
- System Location Discovery: System Language Discovery
PID:264
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create zhmgnlau binPath= "C:\Windows\SysWOW64\zhmgnlau\lkyaolme.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1816
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description zhmgnlau "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3476
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start zhmgnlau2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3312
-
-
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:2468
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 540 -s 5962⤵
- Program crash
PID:4160
-
-
C:\Windows\SysWOW64\zhmgnlau\lkyaolme.exeC:\Windows\SysWOW64\zhmgnlau\lkyaolme.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_bad8fe193f8e3dfb32b36fb15db7847c_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4020 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:632
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4020 -s 5122⤵
- Program crash
PID:3416
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 540 -ip 5401⤵PID:2280
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4020 -ip 40201⤵PID:1384
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.6MB
MD513fc5f8dd383257bb7f4ed16e57a04ba
SHA1e655473b585037b5b3c2a522ff79dd96b18a550b
SHA25618c4c237cbd17d4b48bc5d9b4998b583ceccb065f237303aba96577a3cf733f9
SHA512ac19e38319733f0159cabe6ed62fb03b53c0b5f395c7313acc39c88008ba67049886a867c3e8cac4aebcdf966de5448ea234100a17bfc460784efd5e8fd47e87