Analysis
-
max time kernel
148s -
max time network
136s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
07-02-2025 21:21
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe
Resource
win10v2004-20250207-en
General
-
Target
2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe
-
Size
13.9MB
-
MD5
aae43fa6b3f27f8df9ff8854a839c4fe
-
SHA1
7a8672db1d7c3a75162f76190b90a85a7bb02f60
-
SHA256
b7386e0050452f12db270edb540853a2b10a005609671d2d5f087bbd7b153f2d
-
SHA512
20153e2d44d9863db43b2db057fdd7fc553f17a3eeeba35c9d8bbd13f37f6744e4cb22334f62831cc05fe28e02b40b1ee658152be15512e1d2d2938b872ba689
-
SSDEEP
49152:bqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:bqtYc3
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\qhgmkiso = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3028 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\qhgmkiso\ImagePath = "C:\\Windows\\SysWOW64\\qhgmkiso\\cpbyrejt.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2056 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2788 cpbyrejt.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2788 set thread context of 2056 2788 cpbyrejt.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 636 sc.exe 2032 sc.exe 2932 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 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_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 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cpbyrejt.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2576 wrote to memory of 2912 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 30 PID 2576 wrote to memory of 2912 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 30 PID 2576 wrote to memory of 2912 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 30 PID 2576 wrote to memory of 2912 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 30 PID 2576 wrote to memory of 2980 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 32 PID 2576 wrote to memory of 2980 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 32 PID 2576 wrote to memory of 2980 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 32 PID 2576 wrote to memory of 2980 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 32 PID 2576 wrote to memory of 2032 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 34 PID 2576 wrote to memory of 2032 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 34 PID 2576 wrote to memory of 2032 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 34 PID 2576 wrote to memory of 2032 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 34 PID 2576 wrote to memory of 2932 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 36 PID 2576 wrote to memory of 2932 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 36 PID 2576 wrote to memory of 2932 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 36 PID 2576 wrote to memory of 2932 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 36 PID 2576 wrote to memory of 636 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 38 PID 2576 wrote to memory of 636 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 38 PID 2576 wrote to memory of 636 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 38 PID 2576 wrote to memory of 636 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 38 PID 2576 wrote to memory of 3028 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 40 PID 2576 wrote to memory of 3028 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 40 PID 2576 wrote to memory of 3028 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 40 PID 2576 wrote to memory of 3028 2576 2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe 40 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43 PID 2788 wrote to memory of 2056 2788 cpbyrejt.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2576 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qhgmkiso\2⤵
- System Location Discovery: System Language Discovery
PID:2912
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cpbyrejt.exe" C:\Windows\SysWOW64\qhgmkiso\2⤵
- System Location Discovery: System Language Discovery
PID:2980
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create qhgmkiso binPath= "C:\Windows\SysWOW64\qhgmkiso\cpbyrejt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2032
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description qhgmkiso "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2932
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start qhgmkiso2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:636
-
-
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:3028
-
-
C:\Windows\SysWOW64\qhgmkiso\cpbyrejt.exeC:\Windows\SysWOW64\qhgmkiso\cpbyrejt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_aae43fa6b3f27f8df9ff8854a839c4fe_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2788 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2056
-
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
13.7MB
MD563dcaac1b381fa7e88d8cd2e4cdd8d74
SHA1c30c822977803bfab85a9ff37961517bd74c8311
SHA256e1df3fe8c0ae2b0705699516b26e6cc71c741e05c56922378d1a0c608d8c399c
SHA512484379fcf1f922c65e2bbd8ad204344fe11422e3f3bf6d5959b2d84c3efae0945a66175b86fd8daa8607f1189022d4cc9cb04752a275af724395a500c1bd6451