Analysis
-
max time kernel
141s -
max time network
129s -
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 08:45
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe
-
Size
13.7MB
-
MD5
19d42f70cf2a641da8785c91e58511dc
-
SHA1
f5586aeaf12a883d755b214f70651cdd74b574b2
-
SHA256
d42784f3215554b90c84380cbaec443685eeb15b109d170a935a7d6352bf66a3
-
SHA512
5e565ed3a87500568d4e9c79d72632844e45794b211b807e7a154a9380e073ee9969c8b046e5c4d06425d4370b9f6281b8674aa84412834ccdd43a09b1fac6a5
-
SSDEEP
3072:FLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:oOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 4024 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\dhlpbejx\ImagePath = "C:\\Windows\\SysWOW64\\dhlpbejx\\vyeynyjp.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-4174397412-4125106315-2776226590-1000\Control Panel\International\Geo\Nation 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe -
Deletes itself 1 IoCs
pid Process 4368 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 408 vyeynyjp.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 408 set thread context of 4368 408 vyeynyjp.exe 104 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4924 sc.exe 912 sc.exe 644 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 1928 4484 WerFault.exe 85 2760 408 WerFault.exe 98 -
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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_19d42f70cf2a641da8785c91e58511dc_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 netsh.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 vyeynyjp.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4484 wrote to memory of 2336 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 88 PID 4484 wrote to memory of 2336 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 88 PID 4484 wrote to memory of 2336 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 88 PID 4484 wrote to memory of 4032 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 90 PID 4484 wrote to memory of 4032 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 90 PID 4484 wrote to memory of 4032 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 90 PID 4484 wrote to memory of 4924 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 92 PID 4484 wrote to memory of 4924 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 92 PID 4484 wrote to memory of 4924 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 92 PID 4484 wrote to memory of 912 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 94 PID 4484 wrote to memory of 912 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 94 PID 4484 wrote to memory of 912 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 94 PID 4484 wrote to memory of 644 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 96 PID 4484 wrote to memory of 644 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 96 PID 4484 wrote to memory of 644 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 96 PID 4484 wrote to memory of 4024 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 99 PID 4484 wrote to memory of 4024 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 99 PID 4484 wrote to memory of 4024 4484 2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe 99 PID 408 wrote to memory of 4368 408 vyeynyjp.exe 104 PID 408 wrote to memory of 4368 408 vyeynyjp.exe 104 PID 408 wrote to memory of 4368 408 vyeynyjp.exe 104 PID 408 wrote to memory of 4368 408 vyeynyjp.exe 104 PID 408 wrote to memory of 4368 408 vyeynyjp.exe 104
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4484 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dhlpbejx\2⤵
- System Location Discovery: System Language Discovery
PID:2336
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vyeynyjp.exe" C:\Windows\SysWOW64\dhlpbejx\2⤵
- System Location Discovery: System Language Discovery
PID:4032
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create dhlpbejx binPath= "C:\Windows\SysWOW64\dhlpbejx\vyeynyjp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4924
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description dhlpbejx "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:912
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start dhlpbejx2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:644
-
-
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:4024
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4484 -s 8922⤵
- Program crash
PID:1928
-
-
C:\Windows\SysWOW64\dhlpbejx\vyeynyjp.exeC:\Windows\SysWOW64\dhlpbejx\vyeynyjp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:408 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4368
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 408 -s 5122⤵
- Program crash
PID:2760
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4484 -ip 44841⤵PID:2884
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 408 -ip 4081⤵PID:4676
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.2MB
MD5b4a41ae916dff61b2479bf39db9fd2e2
SHA1303db90b2be087296c21ec79ba930022895a1b5b
SHA256caa11ed31ab4a54a0988276f7ae2c5c11f17be68c3826f85ab1c685abe867b82
SHA51233c6b7a7c08325bfc0721d134628620d22496048880a4f70432d843fc03e68c8225f56b520a6b470a97bc4dc0fadca5087b2de9f2e0f787995e54d870bb8507a