Analysis
-
max time kernel
143s -
max time network
131s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 20:05
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_3995761237124e0f137cded35908b237_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-01_3995761237124e0f137cded35908b237_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_3995761237124e0f137cded35908b237_mafia.exe
-
Size
12.8MB
-
MD5
3995761237124e0f137cded35908b237
-
SHA1
16813f1fa14675c902afe02172c5c3f60cf6d78f
-
SHA256
0d2b433856638eed525068a6bb6f84417c63edccc0067ff6e6151edbcc1240a1
-
SHA512
60c4a255036b7e6a17e218260f05fa5683d8bf5007ac086490833081ffb5f597c37fca7d0e8e9f3dee996df6313cc1c77fbecb1db512ff5ad1e0db586bcaa2c9
-
SSDEEP
393216:rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:
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 516 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xjzkkqyp\ImagePath = "C:\\Windows\\SysWOW64\\xjzkkqyp\\zqywgbiw.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe -
Deletes itself 1 IoCs
pid Process 2200 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1816 zqywgbiw.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1816 set thread context of 2200 1816 zqywgbiw.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3248 sc.exe 3220 sc.exe 3688 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 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-01_3995761237124e0f137cded35908b237_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 zqywgbiw.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1980 wrote to memory of 2532 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 86 PID 1980 wrote to memory of 2532 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 86 PID 1980 wrote to memory of 2532 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 86 PID 1980 wrote to memory of 4960 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 88 PID 1980 wrote to memory of 4960 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 88 PID 1980 wrote to memory of 4960 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 88 PID 1980 wrote to memory of 3248 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 90 PID 1980 wrote to memory of 3248 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 90 PID 1980 wrote to memory of 3248 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 90 PID 1980 wrote to memory of 3220 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 92 PID 1980 wrote to memory of 3220 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 92 PID 1980 wrote to memory of 3220 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 92 PID 1980 wrote to memory of 3688 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 94 PID 1980 wrote to memory of 3688 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 94 PID 1980 wrote to memory of 3688 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 94 PID 1816 wrote to memory of 2200 1816 zqywgbiw.exe 98 PID 1816 wrote to memory of 2200 1816 zqywgbiw.exe 98 PID 1816 wrote to memory of 2200 1816 zqywgbiw.exe 98 PID 1980 wrote to memory of 516 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 97 PID 1980 wrote to memory of 516 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 97 PID 1980 wrote to memory of 516 1980 2025-02-01_3995761237124e0f137cded35908b237_mafia.exe 97 PID 1816 wrote to memory of 2200 1816 zqywgbiw.exe 98 PID 1816 wrote to memory of 2200 1816 zqywgbiw.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1980 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xjzkkqyp\2⤵
- System Location Discovery: System Language Discovery
PID:2532
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqywgbiw.exe" C:\Windows\SysWOW64\xjzkkqyp\2⤵
- System Location Discovery: System Language Discovery
PID:4960
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xjzkkqyp binPath= "C:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3248
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xjzkkqyp "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3220
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xjzkkqyp2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3688
-
-
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:516
-
-
C:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exeC:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1816 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2200
-
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.5MB
MD59f0f7c586f7ce40d911651f0987fb75e
SHA1ec8a8f5320569256b2075697b8f154456b478d50
SHA25654bf5efa77a1f2106426687bea0e421338daf7fdba76d81518891e40c0a481c4
SHA512e4b8e7656af657571ba5b270dd4fa9c9a8e9cbe09d0f0a8b16ab28d167b31812bdd1e66d7e5eb9fd3b7d23493493c4ed4dde6c1ea1b17349fa4ce3013caeef2e