Analysis
-
max time kernel
142s -
max time network
145s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
11-01-2025 18:25
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe
-
Size
14.2MB
-
MD5
4d8443a6e2de3d95f08b47195eb2049e
-
SHA1
02b019101b6d8b2d2368e04eb35ce8a0b8fdc2fe
-
SHA256
f405202646095edef5846fa1c75bfa27c489c80dce2b7ba9deaf4b6cd3d27f5f
-
SHA512
65772b434c1c0588cc361b65082b8993f830bbe3d934d3a1b1d3d9549d72e597d2a1415c9d7d43bd9f09d0c6891ae9747485b765ff5f47fda8236dd76a12832b
-
SSDEEP
24576:JEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ:Cfot
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 1856 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\mbdevwej\ImagePath = "C:\\Windows\\SysWOW64\\mbdevwej\\wskkhwvj.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-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe -
Deletes itself 1 IoCs
pid Process 2792 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4192 wskkhwvj.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4192 set thread context of 2792 4192 wskkhwvj.exe 109 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1048 sc.exe 624 sc.exe 2128 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 3772 3728 WerFault.exe 82 4036 4192 WerFault.exe 100 -
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-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language wskkhwvj.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3728 wrote to memory of 5052 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 84 PID 3728 wrote to memory of 5052 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 84 PID 3728 wrote to memory of 5052 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 84 PID 3728 wrote to memory of 1560 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 88 PID 3728 wrote to memory of 1560 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 88 PID 3728 wrote to memory of 1560 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 88 PID 3728 wrote to memory of 1048 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 90 PID 3728 wrote to memory of 1048 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 90 PID 3728 wrote to memory of 1048 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 90 PID 3728 wrote to memory of 624 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 96 PID 3728 wrote to memory of 624 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 96 PID 3728 wrote to memory of 624 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 96 PID 3728 wrote to memory of 2128 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 98 PID 3728 wrote to memory of 2128 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 98 PID 3728 wrote to memory of 2128 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 98 PID 3728 wrote to memory of 1856 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 101 PID 3728 wrote to memory of 1856 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 101 PID 3728 wrote to memory of 1856 3728 2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe 101 PID 4192 wrote to memory of 2792 4192 wskkhwvj.exe 109 PID 4192 wrote to memory of 2792 4192 wskkhwvj.exe 109 PID 4192 wrote to memory of 2792 4192 wskkhwvj.exe 109 PID 4192 wrote to memory of 2792 4192 wskkhwvj.exe 109 PID 4192 wrote to memory of 2792 4192 wskkhwvj.exe 109
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3728 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mbdevwej\2⤵
- System Location Discovery: System Language Discovery
PID:5052
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wskkhwvj.exe" C:\Windows\SysWOW64\mbdevwej\2⤵
- System Location Discovery: System Language Discovery
PID:1560
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mbdevwej binPath= "C:\Windows\SysWOW64\mbdevwej\wskkhwvj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1048
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mbdevwej "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:624
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mbdevwej2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2128
-
-
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:1856
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3728 -s 10402⤵
- Program crash
PID:3772
-
-
C:\Windows\SysWOW64\mbdevwej\wskkhwvj.exeC:\Windows\SysWOW64\mbdevwej\wskkhwvj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4192 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2792
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 5082⤵
- Program crash
PID:4036
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3728 -ip 37281⤵PID:3332
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4192 -ip 41921⤵PID:1308
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.6MB
MD5bbf008f9b3b1c71dda38c871c22a7915
SHA1e8a91c3f8eb7048af26681ef51c1e099847db718
SHA256fac5fac1caf507a0dec393a262a52d090d7425d473cf99a5071b162f47491c03
SHA5129e8eab44b30a9a526f3ed27dfba31c7e5e75d6eca98f1c812aad6f6d121050bc645fc8e1e2a5f9fc994c6ac5b8a0424a1058f1520acc53e6a2540565e7e77996