Windows 7 deprecation
Windows 7 will be removed from tria.ge on 2025-03-31
Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
27/01/2025, 18:45
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe
-
Size
12.5MB
-
MD5
315bb49856f11fb734d4f765166c4591
-
SHA1
d55beee88ccae7a33151bc3f21ee0eba1453c688
-
SHA256
91b038d38e75721357bee7068989af43dfb3aaee68d3e228783b91abbba229d8
-
SHA512
f7c6695cc04c6d8941e4293ce3ca1c34fb68f6fc4c969f9fcfd30a83f852c460ed87e2014463cab76f93963705f1d394b4db551ee9aa9227e1f3b58ee0390411
-
SSDEEP
393216:aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn:
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 3240 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\babxpais\ImagePath = "C:\\Windows\\SysWOW64\\babxpais\\ydnicoln.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-27_315bb49856f11fb734d4f765166c4591_mafia.exe -
Deletes itself 1 IoCs
pid Process 4760 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 880 ydnicoln.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 880 set thread context of 4760 880 ydnicoln.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1812 sc.exe 1728 sc.exe 1520 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 ydnicoln.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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-27_315bb49856f11fb734d4f765166c4591_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 1648 wrote to memory of 4652 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 83 PID 1648 wrote to memory of 4652 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 83 PID 1648 wrote to memory of 4652 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 83 PID 1648 wrote to memory of 1844 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 85 PID 1648 wrote to memory of 1844 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 85 PID 1648 wrote to memory of 1844 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 85 PID 1648 wrote to memory of 1812 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 87 PID 1648 wrote to memory of 1812 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 87 PID 1648 wrote to memory of 1812 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 87 PID 1648 wrote to memory of 1728 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 89 PID 1648 wrote to memory of 1728 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 89 PID 1648 wrote to memory of 1728 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 89 PID 1648 wrote to memory of 1520 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 92 PID 1648 wrote to memory of 1520 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 92 PID 1648 wrote to memory of 1520 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 92 PID 1648 wrote to memory of 3240 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 95 PID 1648 wrote to memory of 3240 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 95 PID 1648 wrote to memory of 3240 1648 2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe 95 PID 880 wrote to memory of 4760 880 ydnicoln.exe 97 PID 880 wrote to memory of 4760 880 ydnicoln.exe 97 PID 880 wrote to memory of 4760 880 ydnicoln.exe 97 PID 880 wrote to memory of 4760 880 ydnicoln.exe 97 PID 880 wrote to memory of 4760 880 ydnicoln.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1648 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\babxpais\2⤵
- System Location Discovery: System Language Discovery
PID:4652
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ydnicoln.exe" C:\Windows\SysWOW64\babxpais\2⤵
- System Location Discovery: System Language Discovery
PID:1844
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create babxpais binPath= "C:\Windows\SysWOW64\babxpais\ydnicoln.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1812
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description babxpais "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1728
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start babxpais2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1520
-
-
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:3240
-
-
C:\Windows\SysWOW64\babxpais\ydnicoln.exeC:\Windows\SysWOW64\babxpais\ydnicoln.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_315bb49856f11fb734d4f765166c4591_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:880 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4760
-
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.6MB
MD5ae6b043fdff71095c1bfc099a207bd1f
SHA15141fb80fed9ea1be85b2cf3c2a8f063ab0d31f0
SHA256f1006e99f00f214be069426df2407ee9140d2043e2d343eb49d4ab31f50971ae
SHA51203f707b026f2ecc20862e1c2ef483fbcc7312fdb8fd9859f83c3539c4d49bf0e119dd1297a5a96a731ab6a09469d410dca1c6f2f98b27466386d44a944680520