Analysis
-
max time kernel
144s -
max time network
123s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
02-02-2025 20:05
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe
-
Size
11.1MB
-
MD5
f48605f506b20afc9f3bc5a77d0c373f
-
SHA1
e1bcbb011c3ed1496a13314bc72cf1700b2f7e96
-
SHA256
06bd0dc28db9c7f463fd3c178a0eef882b4cdbff118d95389b1cafa8ab93e617
-
SHA512
cd8cf10385f06585196dfc18e3a548972b2274aeb4404ce6b58aedc36139190cade4d2d35387bda48895551beb2d35d82ad13a3edf0d7870d592bca5725a4f19
-
SSDEEP
196608:/yXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn:aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3
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 1272 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\rhwxdih\ImagePath = "C:\\Windows\\SysWOW64\\rhwxdih\\psyshsdj.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe -
Deletes itself 1 IoCs
pid Process 3876 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 5088 psyshsdj.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5088 set thread context of 3876 5088 psyshsdj.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 376 sc.exe 3688 sc.exe 2312 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 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_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 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 psyshsdj.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3056 wrote to memory of 2956 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 86 PID 3056 wrote to memory of 2956 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 86 PID 3056 wrote to memory of 2956 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 86 PID 3056 wrote to memory of 3424 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 88 PID 3056 wrote to memory of 3424 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 88 PID 3056 wrote to memory of 3424 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 88 PID 3056 wrote to memory of 376 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 90 PID 3056 wrote to memory of 376 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 90 PID 3056 wrote to memory of 376 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 90 PID 3056 wrote to memory of 3688 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 94 PID 3056 wrote to memory of 3688 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 94 PID 3056 wrote to memory of 3688 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 94 PID 3056 wrote to memory of 2312 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 97 PID 3056 wrote to memory of 2312 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 97 PID 3056 wrote to memory of 2312 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 97 PID 5088 wrote to memory of 3876 5088 psyshsdj.exe 100 PID 5088 wrote to memory of 3876 5088 psyshsdj.exe 100 PID 5088 wrote to memory of 3876 5088 psyshsdj.exe 100 PID 5088 wrote to memory of 3876 5088 psyshsdj.exe 100 PID 5088 wrote to memory of 3876 5088 psyshsdj.exe 100 PID 3056 wrote to memory of 1272 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 101 PID 3056 wrote to memory of 1272 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 101 PID 3056 wrote to memory of 1272 3056 2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3056 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rhwxdih\2⤵
- System Location Discovery: System Language Discovery
PID:2956
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psyshsdj.exe" C:\Windows\SysWOW64\rhwxdih\2⤵
- System Location Discovery: System Language Discovery
PID:3424
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rhwxdih binPath= "C:\Windows\SysWOW64\rhwxdih\psyshsdj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:376
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rhwxdih "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3688
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rhwxdih2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2312
-
-
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:1272
-
-
C:\Windows\SysWOW64\rhwxdih\psyshsdj.exeC:\Windows\SysWOW64\rhwxdih\psyshsdj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_f48605f506b20afc9f3bc5a77d0c373f_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5088 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3876
-
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
12.8MB
MD55f4784fb7f515343b3f20504be086aa2
SHA1c6e8ce48cdc12959d2f437966e4b6f9e6741ad81
SHA25664e21229c8aa0d0cd5f8c0b1ec2db0c0a6eb94cb4d8bb3e1bf531c4452342296
SHA51200395faca8eb2fd9b127d8ce1afac4a47e7d92eacdcdfd35173bef824a13cab4774d8f6e2af84ae64818c93b306dd9ae040f47249e81cf65ff85c3061d184ae0