Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 07:02
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe
-
Size
12.8MB
-
MD5
9d5863a9ae43e0ca1a631bce9f0f8abc
-
SHA1
d068e742cd0a0b717ff6ee23b09b75a5730c0947
-
SHA256
5c6e2601359a3f22947a7e94f63aa0d6c0408f069f3846f11a7efd6889642d35
-
SHA512
9cc601348648b40ce12cc5166b61eca0bddfe898792b9ce0fc9f487be7f2d040b0a95a3d3e1bdf3b94c30b909c4f82ad02db121079303cc1850dcf856e958cdb
-
SSDEEP
24576:4EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZv:1fot
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 2592 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hxwqxgnz\ImagePath = "C:\\Windows\\SysWOW64\\hxwqxgnz\\nzymxhpj.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-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe -
Deletes itself 1 IoCs
pid Process 1840 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2956 nzymxhpj.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2956 set thread context of 1840 2956 nzymxhpj.exe 112 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1228 sc.exe 5108 sc.exe 3756 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 2936 1056 WerFault.exe 83 3236 2956 WerFault.exe 105 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language nzymxhpj.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1056 wrote to memory of 2920 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 94 PID 1056 wrote to memory of 2920 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 94 PID 1056 wrote to memory of 2920 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 94 PID 1056 wrote to memory of 4692 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 96 PID 1056 wrote to memory of 4692 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 96 PID 1056 wrote to memory of 4692 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 96 PID 1056 wrote to memory of 1228 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 99 PID 1056 wrote to memory of 1228 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 99 PID 1056 wrote to memory of 1228 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 99 PID 1056 wrote to memory of 5108 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 101 PID 1056 wrote to memory of 5108 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 101 PID 1056 wrote to memory of 5108 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 101 PID 1056 wrote to memory of 3756 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 103 PID 1056 wrote to memory of 3756 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 103 PID 1056 wrote to memory of 3756 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 103 PID 1056 wrote to memory of 2592 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 106 PID 1056 wrote to memory of 2592 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 106 PID 1056 wrote to memory of 2592 1056 2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe 106 PID 2956 wrote to memory of 1840 2956 nzymxhpj.exe 112 PID 2956 wrote to memory of 1840 2956 nzymxhpj.exe 112 PID 2956 wrote to memory of 1840 2956 nzymxhpj.exe 112 PID 2956 wrote to memory of 1840 2956 nzymxhpj.exe 112 PID 2956 wrote to memory of 1840 2956 nzymxhpj.exe 112
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1056 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hxwqxgnz\2⤵
- System Location Discovery: System Language Discovery
PID:2920
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzymxhpj.exe" C:\Windows\SysWOW64\hxwqxgnz\2⤵
- System Location Discovery: System Language Discovery
PID:4692
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hxwqxgnz binPath= "C:\Windows\SysWOW64\hxwqxgnz\nzymxhpj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hxwqxgnz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5108
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hxwqxgnz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3756
-
-
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:2592
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1056 -s 8922⤵
- Program crash
PID:2936
-
-
C:\Windows\SysWOW64\hxwqxgnz\nzymxhpj.exeC:\Windows\SysWOW64\hxwqxgnz\nzymxhpj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9d5863a9ae43e0ca1a631bce9f0f8abc_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2956 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1840
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2956 -s 5082⤵
- Program crash
PID:3236
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1056 -ip 10561⤵PID:2288
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2956 -ip 29561⤵PID:2912
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
13.3MB
MD5971082daa57cb92279eda184b9a1b3b5
SHA1ed5488526f8b1b877e130def8db431186757c600
SHA256cb67bf763e66f36581ac8172efa697423d4b3f729549e074b71383e76c557f79
SHA5121990c721cd0d960efb701e5db1df4c67bdcd088fe740e8a9d2f9f10a46303835bdafe8085142785f5ca969ab54f720a3e77b37ea5eea1a7eb6cbad020ddbc785