Analysis
-
max time kernel
147s -
max time network
126s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
07-02-2025 21:19
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe
Resource
win10v2004-20250207-en
General
-
Target
2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe
-
Size
12.9MB
-
MD5
9f57f133156ab888e4634aa88b4be52a
-
SHA1
b57ace31ad7c3d65b207cab351a34b2b86ed9ea5
-
SHA256
70335ad42fc07389ef9216db1ba762cf6c94961c7f09ed79d312d3598531f16b
-
SHA512
35f1c030ec8031afa29ca2790e42d136c21355568c72960c579341b8396c0d87c64017751428f77643d39848720b11c5ee552b8355a5ee44c0e7857f413d3b87
-
SSDEEP
3072:6LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:jOMdRQr7OB0ypmMXnl8XEPM3noSWOC
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Windows security bypass 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\idnqsgrd = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2128 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\idnqsgrd\ImagePath = "C:\\Windows\\SysWOW64\\idnqsgrd\\kshlywff.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2816 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2948 kshlywff.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2948 set thread context of 2816 2948 kshlywff.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3060 sc.exe 2884 sc.exe 3008 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 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language kshlywff.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 1552 wrote to memory of 2464 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 30 PID 1552 wrote to memory of 2464 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 30 PID 1552 wrote to memory of 2464 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 30 PID 1552 wrote to memory of 2464 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 30 PID 1552 wrote to memory of 2212 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 32 PID 1552 wrote to memory of 2212 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 32 PID 1552 wrote to memory of 2212 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 32 PID 1552 wrote to memory of 2212 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 32 PID 1552 wrote to memory of 3008 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 34 PID 1552 wrote to memory of 3008 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 34 PID 1552 wrote to memory of 3008 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 34 PID 1552 wrote to memory of 3008 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 34 PID 1552 wrote to memory of 3060 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 36 PID 1552 wrote to memory of 3060 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 36 PID 1552 wrote to memory of 3060 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 36 PID 1552 wrote to memory of 3060 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 36 PID 1552 wrote to memory of 2884 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 38 PID 1552 wrote to memory of 2884 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 38 PID 1552 wrote to memory of 2884 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 38 PID 1552 wrote to memory of 2884 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 38 PID 1552 wrote to memory of 2128 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 40 PID 1552 wrote to memory of 2128 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 40 PID 1552 wrote to memory of 2128 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 40 PID 1552 wrote to memory of 2128 1552 2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe 40 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43 PID 2948 wrote to memory of 2816 2948 kshlywff.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1552 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\idnqsgrd\2⤵
- System Location Discovery: System Language Discovery
PID:2464
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kshlywff.exe" C:\Windows\SysWOW64\idnqsgrd\2⤵
- System Location Discovery: System Language Discovery
PID:2212
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create idnqsgrd binPath= "C:\Windows\SysWOW64\idnqsgrd\kshlywff.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3008
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description idnqsgrd "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3060
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start idnqsgrd2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2884
-
-
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:2128
-
-
C:\Windows\SysWOW64\idnqsgrd\kshlywff.exeC:\Windows\SysWOW64\idnqsgrd\kshlywff.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_9f57f133156ab888e4634aa88b4be52a_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2948 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2816
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
11.3MB
MD5d250e58a20bcbc35a083f97e358c409c
SHA1008ab5269c8113a1cc47b36cb452043e8860043a
SHA256f0a72179100e9ad669e1aa6593d31e078f3c3bcf90c43d79a0a852c1115c75b7
SHA51206fc600ecd9131fee52d88d498992e5682c3fa5b2052c75ac6edb26ccc9cd7f8452ab156a333e805f3e74733ff83ebafba7c0a11a63228901b5e18412a303132