Analysis
-
max time kernel
144s -
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:21
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe
-
Size
10.4MB
-
MD5
84d420f021fcac98773615ee5ef02e16
-
SHA1
6026658871dfc560b5c8f4e63df9bd143a9e3148
-
SHA256
34a44b3c1fe0d03bab32a58e994ce71b84e312911cf22704b94bd6e9dcea01ad
-
SHA512
ba03146887876314d068ec2592a396f019e14ebaa173624b539e6daa38d462e5534f96dcacdd9920600733f0cf0ee3eff6149be38061af0d7b30c29f34d5728e
-
SSDEEP
196608:AyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:VXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH
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 3700 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\nsqesqtb\ImagePath = "C:\\Windows\\SysWOW64\\nsqesqtb\\bsayidky.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe -
Deletes itself 1 IoCs
pid Process 2336 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4740 bsayidky.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4740 set thread context of 2336 4740 bsayidky.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2788 sc.exe 1600 sc.exe 4140 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language bsayidky.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2268 wrote to memory of 2592 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 86 PID 2268 wrote to memory of 2592 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 86 PID 2268 wrote to memory of 2592 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 86 PID 2268 wrote to memory of 2920 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 88 PID 2268 wrote to memory of 2920 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 88 PID 2268 wrote to memory of 2920 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 88 PID 2268 wrote to memory of 2788 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 90 PID 2268 wrote to memory of 2788 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 90 PID 2268 wrote to memory of 2788 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 90 PID 2268 wrote to memory of 1600 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 92 PID 2268 wrote to memory of 1600 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 92 PID 2268 wrote to memory of 1600 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 92 PID 2268 wrote to memory of 4140 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 94 PID 2268 wrote to memory of 4140 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 94 PID 2268 wrote to memory of 4140 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 94 PID 4740 wrote to memory of 2336 4740 bsayidky.exe 97 PID 4740 wrote to memory of 2336 4740 bsayidky.exe 97 PID 4740 wrote to memory of 2336 4740 bsayidky.exe 97 PID 4740 wrote to memory of 2336 4740 bsayidky.exe 97 PID 4740 wrote to memory of 2336 4740 bsayidky.exe 97 PID 2268 wrote to memory of 3700 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 98 PID 2268 wrote to memory of 3700 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 98 PID 2268 wrote to memory of 3700 2268 2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2268 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nsqesqtb\2⤵
- System Location Discovery: System Language Discovery
PID:2592
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bsayidky.exe" C:\Windows\SysWOW64\nsqesqtb\2⤵
- System Location Discovery: System Language Discovery
PID:2920
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create nsqesqtb binPath= "C:\Windows\SysWOW64\nsqesqtb\bsayidky.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2788
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description nsqesqtb "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1600
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start nsqesqtb2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4140
-
-
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:3700
-
-
C:\Windows\SysWOW64\nsqesqtb\bsayidky.exeC:\Windows\SysWOW64\nsqesqtb\bsayidky.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_84d420f021fcac98773615ee5ef02e16_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4740 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2336
-
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.0MB
MD5f727ae6d0fdf87c44fe430625a1e4c94
SHA19d86862a4753a701d30345de677b78c7d1c242c2
SHA256054998d8a83c4adce209441b11a9bfa78f306d3aaa13e1c27f16e726d3b0fe0c
SHA512abcac99baa15ecea0b052b961c914683ac9f2d6e208463660df086b9d45dd1eb30cf8419d6fb07eca7e550db8448141d99a2d73b10f86ad24b8770a5b42d32ca