Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
29/01/2025, 17:43
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe
-
Size
12.8MB
-
MD5
b8cbe229db5f5116bb60fa4475e58ea8
-
SHA1
3fcce4344791f791ba62199ad71297387936f038
-
SHA256
2923852431766d3da326baf4bffac6a92a0092e87be7f0f451e4633cb755626b
-
SHA512
6fc0df22623afd501ca73b07790a2bb8f92e700294ba9a9aa6e119a9597596d2a7d10dc28fe650eedc718f118810fd15c349068fe78d95847dfa014b1120ec82
-
SSDEEP
24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:2fot
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 2904 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\pgehxlo\ImagePath = "C:\\Windows\\SysWOW64\\pgehxlo\\lngryguk.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe -
Deletes itself 1 IoCs
pid Process 1380 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4356 lngryguk.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4356 set thread context of 1380 4356 lngryguk.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1924 sc.exe 4984 sc.exe 4456 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 3004 3648 WerFault.exe 80 3012 4356 WerFault.exe 92 -
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 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 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.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 lngryguk.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3648 wrote to memory of 3952 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 82 PID 3648 wrote to memory of 3952 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 82 PID 3648 wrote to memory of 3952 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 82 PID 3648 wrote to memory of 2240 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 84 PID 3648 wrote to memory of 2240 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 84 PID 3648 wrote to memory of 2240 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 84 PID 3648 wrote to memory of 1924 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 86 PID 3648 wrote to memory of 1924 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 86 PID 3648 wrote to memory of 1924 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 86 PID 3648 wrote to memory of 4984 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 88 PID 3648 wrote to memory of 4984 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 88 PID 3648 wrote to memory of 4984 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 88 PID 3648 wrote to memory of 4456 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 90 PID 3648 wrote to memory of 4456 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 90 PID 3648 wrote to memory of 4456 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 90 PID 3648 wrote to memory of 2904 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 93 PID 3648 wrote to memory of 2904 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 93 PID 3648 wrote to memory of 2904 3648 2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe 93 PID 4356 wrote to memory of 1380 4356 lngryguk.exe 100 PID 4356 wrote to memory of 1380 4356 lngryguk.exe 100 PID 4356 wrote to memory of 1380 4356 lngryguk.exe 100 PID 4356 wrote to memory of 1380 4356 lngryguk.exe 100 PID 4356 wrote to memory of 1380 4356 lngryguk.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3648 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pgehxlo\2⤵
- System Location Discovery: System Language Discovery
PID:3952
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lngryguk.exe" C:\Windows\SysWOW64\pgehxlo\2⤵
- System Location Discovery: System Language Discovery
PID:2240
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pgehxlo binPath= "C:\Windows\SysWOW64\pgehxlo\lngryguk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1924
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pgehxlo "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4984
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pgehxlo2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4456
-
-
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:2904
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3648 -s 10442⤵
- Program crash
PID:3004
-
-
C:\Windows\SysWOW64\pgehxlo\lngryguk.exeC:\Windows\SysWOW64\pgehxlo\lngryguk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4356 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1380
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4356 -s 5442⤵
- Program crash
PID:3012
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3648 -ip 36481⤵PID:2428
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 4356 -ip 43561⤵PID:4868
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.3MB
MD59fdfe9888a658a5c32023f56eb4a1daf
SHA1c35594f8fa42629e33c74c5a7a52ea5224d98ffc
SHA2562c1daf4538b0fce4b51d1110d91ad7f24f900fe91d93f5d166c9e00ca4236faf
SHA512c63fd406f45d1b5d9b9caeecc17b0877eba1f5450327c207a526de7204818fa07498bee684633bfe95ddb13cddde62e8376d79915dfcc5abc73a188066748249