Analysis
-
max time kernel
147s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
05-02-2025 15:57
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe
-
Size
13.8MB
-
MD5
99fd259d8dba4646c7b263555322f4ae
-
SHA1
59d0249f0244270dae1959de2b71e253f2c1a6a4
-
SHA256
1731a77436c24217e5be57d93cb9e3354e5e38d005cf2202e6a1048da303ffc1
-
SHA512
56e1dccee2cdd5ce7737f8942b367a6b1f75adb87da49938e08e7c331d0639bb81eb96fd752927cb57102c179234d0f69754c009c2f00084a0e7fdc9eee88d28
-
SSDEEP
393216:hXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXC:k
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 3836 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wslvedij\ImagePath = "C:\\Windows\\SysWOW64\\wslvedij\\tksqavcq.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-70482961-775596374-3727440602-1000\Control Panel\International\Geo\Nation 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe -
Deletes itself 1 IoCs
pid Process 3984 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 5028 tksqavcq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5028 set thread context of 3984 5028 tksqavcq.exe 99 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2088 sc.exe 3712 sc.exe 64 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 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.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 tksqavcq.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1172 wrote to memory of 4612 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 86 PID 1172 wrote to memory of 4612 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 86 PID 1172 wrote to memory of 4612 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 86 PID 1172 wrote to memory of 1780 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 88 PID 1172 wrote to memory of 1780 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 88 PID 1172 wrote to memory of 1780 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 88 PID 1172 wrote to memory of 2088 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 90 PID 1172 wrote to memory of 2088 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 90 PID 1172 wrote to memory of 2088 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 90 PID 1172 wrote to memory of 3712 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 92 PID 1172 wrote to memory of 3712 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 92 PID 1172 wrote to memory of 3712 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 92 PID 1172 wrote to memory of 64 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 94 PID 1172 wrote to memory of 64 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 94 PID 1172 wrote to memory of 64 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 94 PID 1172 wrote to memory of 3836 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 97 PID 1172 wrote to memory of 3836 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 97 PID 1172 wrote to memory of 3836 1172 2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe 97 PID 5028 wrote to memory of 3984 5028 tksqavcq.exe 99 PID 5028 wrote to memory of 3984 5028 tksqavcq.exe 99 PID 5028 wrote to memory of 3984 5028 tksqavcq.exe 99 PID 5028 wrote to memory of 3984 5028 tksqavcq.exe 99 PID 5028 wrote to memory of 3984 5028 tksqavcq.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1172 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wslvedij\2⤵
- System Location Discovery: System Language Discovery
PID:4612
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tksqavcq.exe" C:\Windows\SysWOW64\wslvedij\2⤵
- System Location Discovery: System Language Discovery
PID:1780
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create wslvedij binPath= "C:\Windows\SysWOW64\wslvedij\tksqavcq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2088
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description wslvedij "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3712
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start wslvedij2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:64
-
-
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:3836
-
-
C:\Windows\SysWOW64\wslvedij\tksqavcq.exeC:\Windows\SysWOW64\wslvedij\tksqavcq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5028 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3984
-
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
MD5e1fd400ae4b97ebf1851ed6f7baf790c
SHA1780527b1d8b7b6f12c93ea105dbd0ff061faee35
SHA256c3feae91cbd3153423ae92457907ac8c7868de00950e15d01c938f117294c4da
SHA512e3b9e41183ce6bb70754b3b680681c972c81eac377b0044d96bc5618aa94d869ee052b03274d6e4dc15b20af5e3c777598cf6fbdb41cb860fc0958f3794389a0