Analysis
-
max time kernel
145s -
max time network
148s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
24-01-2025 18:58
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe
-
Size
14.5MB
-
MD5
de0805035b3a9aa55f09883322888394
-
SHA1
392914c76884aaf03d6c27766cec5f0ab12d6877
-
SHA256
2617e0696091241eff473df91d50b96033d6b0b2af79e47e50503b42ea53f7c0
-
SHA512
332d26c390db347f4f0ce5bfdc667dc7c080a25e0aa962ae2198f44934e45d8e7ea76b9c2d857f45be4b0dc1a281f9c5ace4177c59bf5f8aa040109c676f3ff8
-
SSDEEP
6144:bLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQY:wTYe+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 4084 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\vhrpwugr\ImagePath = "C:\\Windows\\SysWOW64\\vhrpwugr\\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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe -
Deletes itself 1 IoCs
pid Process 3860 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 740 kgyyvkjx.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 740 set thread context of 3860 740 kgyyvkjx.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4856 sc.exe 4288 sc.exe 856 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 4580 3784 WerFault.exe 82 1008 740 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 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language kgyyvkjx.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3784 wrote to memory of 3376 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 83 PID 3784 wrote to memory of 3376 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 83 PID 3784 wrote to memory of 3376 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 83 PID 3784 wrote to memory of 2144 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 85 PID 3784 wrote to memory of 2144 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 85 PID 3784 wrote to memory of 2144 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 85 PID 3784 wrote to memory of 4856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 87 PID 3784 wrote to memory of 4856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 87 PID 3784 wrote to memory of 4856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 87 PID 3784 wrote to memory of 4288 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 89 PID 3784 wrote to memory of 4288 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 89 PID 3784 wrote to memory of 4288 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 89 PID 3784 wrote to memory of 856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 91 PID 3784 wrote to memory of 856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 91 PID 3784 wrote to memory of 856 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 91 PID 3784 wrote to memory of 4084 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 94 PID 3784 wrote to memory of 4084 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 94 PID 3784 wrote to memory of 4084 3784 2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe 94 PID 740 wrote to memory of 3860 740 kgyyvkjx.exe 100 PID 740 wrote to memory of 3860 740 kgyyvkjx.exe 100 PID 740 wrote to memory of 3860 740 kgyyvkjx.exe 100 PID 740 wrote to memory of 3860 740 kgyyvkjx.exe 100 PID 740 wrote to memory of 3860 740 kgyyvkjx.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3784 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vhrpwugr\2⤵
- System Location Discovery: System Language Discovery
PID:3376
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kgyyvkjx.exe" C:\Windows\SysWOW64\vhrpwugr\2⤵
- System Location Discovery: System Language Discovery
PID:2144
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create vhrpwugr binPath= "C:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4856
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description vhrpwugr "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4288
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start vhrpwugr2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:856
-
-
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:4084
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3784 -s 12802⤵
- Program crash
PID:4580
-
-
C:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exeC:\Windows\SysWOW64\vhrpwugr\kgyyvkjx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:740 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3860
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 740 -s 5282⤵
- Program crash
PID:1008
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3784 -ip 37841⤵PID:3244
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 740 -ip 7401⤵PID:3992
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
14.7MB
MD5ecf8ea102db83fda2d278ec3bc52632c
SHA118b4b8fc10ced4e6c0ee4ef10f4ff8bca1ba9c87
SHA256a7b030b6468a980632f6e5707b17e44f95cb0fbe42a49015d704d1e6cac3ec5d
SHA512f4187f1064c2c1cf0edb8874a04406081ed607e56424be764ea0b470a4b1efc60d22f44166d79f4ffb4d90a6b17da8f0abd946691aba004ca2a3be7675571ec6