Analysis
-
max time kernel
145s -
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
25-01-2025 18:47
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe
-
Size
12.4MB
-
MD5
8c94d6b3385483ea8c78bc863da3bb6e
-
SHA1
f45058578f354f8b9a2b64c91cdaec3354250403
-
SHA256
520936f0d45054384bedb2f685da3b9d47c9bd989d552c856cc758d7c42b5701
-
SHA512
aac43c83d709b547ef5720642e1cf0d9c2f8d55cb4357ce04a32e28f002133230f8ec5de8686e2e5891fb55f29d1f7584b94858258144f19df4e0f630218925b
-
SSDEEP
49152:nqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:nqtYc3
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 4952 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hnbtrjed\ImagePath = "C:\\Windows\\SysWOW64\\hnbtrjed\\ihvxlijb.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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe -
Deletes itself 1 IoCs
pid Process 3668 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 212 ihvxlijb.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 212 set thread context of 3668 212 ihvxlijb.exe 94 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4036 sc.exe 1472 sc.exe 3160 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 4656 2800 WerFault.exe 82 2216 212 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 svchost.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 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 ihvxlijb.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2800 wrote to memory of 3696 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 83 PID 2800 wrote to memory of 3696 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 83 PID 2800 wrote to memory of 3696 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 83 PID 2800 wrote to memory of 1964 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 85 PID 2800 wrote to memory of 1964 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 85 PID 2800 wrote to memory of 1964 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 85 PID 2800 wrote to memory of 4036 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 87 PID 2800 wrote to memory of 4036 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 87 PID 2800 wrote to memory of 4036 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 87 PID 2800 wrote to memory of 1472 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 89 PID 2800 wrote to memory of 1472 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 89 PID 2800 wrote to memory of 1472 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 89 PID 2800 wrote to memory of 3160 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 91 PID 2800 wrote to memory of 3160 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 91 PID 2800 wrote to memory of 3160 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 91 PID 212 wrote to memory of 3668 212 ihvxlijb.exe 94 PID 212 wrote to memory of 3668 212 ihvxlijb.exe 94 PID 212 wrote to memory of 3668 212 ihvxlijb.exe 94 PID 212 wrote to memory of 3668 212 ihvxlijb.exe 94 PID 212 wrote to memory of 3668 212 ihvxlijb.exe 94 PID 2800 wrote to memory of 4952 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 98 PID 2800 wrote to memory of 4952 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 98 PID 2800 wrote to memory of 4952 2800 2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2800 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnbtrjed\2⤵
- System Location Discovery: System Language Discovery
PID:3696
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ihvxlijb.exe" C:\Windows\SysWOW64\hnbtrjed\2⤵
- System Location Discovery: System Language Discovery
PID:1964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hnbtrjed binPath= "C:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4036
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hnbtrjed "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1472
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hnbtrjed2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3160
-
-
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:4952
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2800 -s 5802⤵
- Program crash
PID:4656
-
-
C:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exeC:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:212 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3668
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 5282⤵
- Program crash
PID:2216
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 212 -ip 2121⤵PID:2572
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2800 -ip 28001⤵PID:1508
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.4MB
MD59c1614a8f8987a793c66fff33226b5c4
SHA1ac1a56f4892219630bcf007a0b9fbab6e25bd866
SHA256971904d16840933ac012e864e1ebcb270b0189912c538e3bb4bcb2821eb4e1e3
SHA512e0a8924e7cc439492945ef8f936faa14a101fe88282efc6fd29df663a217211ed2bd32d41070873f065ccc74cf8a6d7674ef0e918e028bcfb7debdcfe2aa18ad