Windows 7 deprecation
Windows 7 will be removed from tria.ge on 2025-03-31
Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28/01/2025, 01:32
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe
-
Size
13.6MB
-
MD5
a8c1c593d630a0bfa5378ce57a912489
-
SHA1
b36e5183a0bb250abe802483621cb439cc5b1d88
-
SHA256
09d0d0467f93f111dd908c7059cd0164a4ace3ecc58f45e4cde0f28e913e8130
-
SHA512
daeb183264b3279699292d162e4d3ae20f7a4e65d0d5a2f774be8929f0ba72d3c296018430de69ac2bb6a642792c60fbcb2ccb49a65411e6a578470f3275f7c6
-
SSDEEP
24576:qpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttH:+oo
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 876 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\bkhezffs\ImagePath = "C:\\Windows\\SysWOW64\\bkhezffs\\mggxirik.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-1045960512-3948844814-3059691613-1000\Control Panel\International\Geo\Nation 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe -
Deletes itself 1 IoCs
pid Process 4936 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1872 mggxirik.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1872 set thread context of 4936 1872 mggxirik.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3144 sc.exe 2812 sc.exe 4324 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 212 3344 WerFault.exe 82 3552 1872 WerFault.exe 94 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mggxirik.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3344 wrote to memory of 1120 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 83 PID 3344 wrote to memory of 1120 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 83 PID 3344 wrote to memory of 1120 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 83 PID 3344 wrote to memory of 4636 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 86 PID 3344 wrote to memory of 4636 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 86 PID 3344 wrote to memory of 4636 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 86 PID 3344 wrote to memory of 2812 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 88 PID 3344 wrote to memory of 2812 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 88 PID 3344 wrote to memory of 2812 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 88 PID 3344 wrote to memory of 4324 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 90 PID 3344 wrote to memory of 4324 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 90 PID 3344 wrote to memory of 4324 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 90 PID 3344 wrote to memory of 3144 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 92 PID 3344 wrote to memory of 3144 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 92 PID 3344 wrote to memory of 3144 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 92 PID 3344 wrote to memory of 876 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 95 PID 3344 wrote to memory of 876 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 95 PID 3344 wrote to memory of 876 3344 2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe 95 PID 1872 wrote to memory of 4936 1872 mggxirik.exe 101 PID 1872 wrote to memory of 4936 1872 mggxirik.exe 101 PID 1872 wrote to memory of 4936 1872 mggxirik.exe 101 PID 1872 wrote to memory of 4936 1872 mggxirik.exe 101 PID 1872 wrote to memory of 4936 1872 mggxirik.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3344 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bkhezffs\2⤵
- System Location Discovery: System Language Discovery
PID:1120
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mggxirik.exe" C:\Windows\SysWOW64\bkhezffs\2⤵
- System Location Discovery: System Language Discovery
PID:4636
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bkhezffs binPath= "C:\Windows\SysWOW64\bkhezffs\mggxirik.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2812
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bkhezffs "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4324
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bkhezffs2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3144
-
-
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:876
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3344 -s 10442⤵
- Program crash
PID:212
-
-
C:\Windows\SysWOW64\bkhezffs\mggxirik.exeC:\Windows\SysWOW64\bkhezffs\mggxirik.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a8c1c593d630a0bfa5378ce57a912489_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1872 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4936
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1872 -s 5122⤵
- Program crash
PID:3552
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3344 -ip 33441⤵PID:2508
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1872 -ip 18721⤵PID:4680
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
14.4MB
MD5a3a149e6e8419a687d52ea76e6f7f3f0
SHA176e15e6b2e0c7e796db6383f53efd7caa6c3cbc3
SHA256d480ed3791dd2fee5a37e22bc7b3128f44d728666940290ef2501fb6a615fc93
SHA51265e898647f05f79de7e180c59addfe9ffdff7366a40de77c51cea9cd66ae892cacd3b2dd9d2f5e9c3eaa79bce52b631352d32e8934d44c5ecceb02f92684f5df