Analysis
-
max time kernel
149s -
max time network
140s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
06-02-2025 14:44
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe
-
Size
12.8MB
-
MD5
5c8dd9bde13889f4abc1f3e62a14e1ad
-
SHA1
59306df44642a5d7b1d7341739dbb298d189cfe0
-
SHA256
02c394db4c8a4ca4e1d4a6c06285233de8c74079e4908caa151921936df67598
-
SHA512
ceb0d0a38d0b3291edd580e57976d6186498f496a7c6758aeae5f6126e01183741bb561bc09759eee7ed097ccf0093b90c44d00ee250b9ba9af60c9e3e1e91eb
-
SSDEEP
24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZr:MfotF
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 2616 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\mjstvywf\ImagePath = "C:\\Windows\\SysWOW64\\mjstvywf\\qslwdlzp.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe -
Deletes itself 1 IoCs
pid Process 3016 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 760 qslwdlzp.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 760 set thread context of 3016 760 qslwdlzp.exe 111 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2972 sc.exe 2364 sc.exe 4828 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 4692 808 WerFault.exe 83 4732 760 WerFault.exe 104 -
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 qslwdlzp.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_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 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 808 wrote to memory of 2808 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 92 PID 808 wrote to memory of 2808 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 92 PID 808 wrote to memory of 2808 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 92 PID 808 wrote to memory of 4236 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 96 PID 808 wrote to memory of 4236 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 96 PID 808 wrote to memory of 4236 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 96 PID 808 wrote to memory of 2972 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 98 PID 808 wrote to memory of 2972 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 98 PID 808 wrote to memory of 2972 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 98 PID 808 wrote to memory of 2364 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 100 PID 808 wrote to memory of 2364 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 100 PID 808 wrote to memory of 2364 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 100 PID 808 wrote to memory of 4828 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 102 PID 808 wrote to memory of 4828 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 102 PID 808 wrote to memory of 4828 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 102 PID 808 wrote to memory of 2616 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 105 PID 808 wrote to memory of 2616 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 105 PID 808 wrote to memory of 2616 808 2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe 105 PID 760 wrote to memory of 3016 760 qslwdlzp.exe 111 PID 760 wrote to memory of 3016 760 qslwdlzp.exe 111 PID 760 wrote to memory of 3016 760 qslwdlzp.exe 111 PID 760 wrote to memory of 3016 760 qslwdlzp.exe 111 PID 760 wrote to memory of 3016 760 qslwdlzp.exe 111
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:808 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mjstvywf\2⤵
- System Location Discovery: System Language Discovery
PID:2808
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qslwdlzp.exe" C:\Windows\SysWOW64\mjstvywf\2⤵
- System Location Discovery: System Language Discovery
PID:4236
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mjstvywf binPath= "C:\Windows\SysWOW64\mjstvywf\qslwdlzp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2972
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mjstvywf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2364
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mjstvywf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4828
-
-
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:2616
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 808 -s 7922⤵
- Program crash
PID:4692
-
-
C:\Windows\SysWOW64\mjstvywf\qslwdlzp.exeC:\Windows\SysWOW64\mjstvywf\qslwdlzp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_5c8dd9bde13889f4abc1f3e62a14e1ad_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:760 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3016
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 760 -s 5562⤵
- Program crash
PID:4732
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 808 -ip 8081⤵PID:1012
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 760 -ip 7601⤵PID:2720
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
13.3MB
MD59739bd31ccba52850ff72b006ef94365
SHA164e899441d185f6a614b2a4bd5442b1daa016bc4
SHA2566cd9f7868726fa5ef1d0ea8bd4aa00c857e7516120d50450c2b6a1cd142a5674
SHA512fb8be82db6d79eb50e6be8017e39ac504d8153b27768d2341991869b56e34a4f0ff200b877f1fcc97ab112fa74dbe331af3a441ebd6e2b662a8acff77bd64d90