Analysis
-
max time kernel
143s -
max time network
124s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
22-01-2025 19:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe
-
Size
13.0MB
-
MD5
402ef750eeb6f0bf1cf8c0afa7d5e870
-
SHA1
de5899740d65c56dd7306f309fb31d0b32241cdb
-
SHA256
8d36e7449053f920033f770121952e5c8843c4d84078ac742d3f2017ae428e9a
-
SHA512
98acfd5bf20729f554cf295a77c6d041ffd2fe2981c7e1f1c3563b1aa546a38de631dd6611f4d3abf8ecdd60a1d12fc73cab005406301343fcfc52f563359917
-
SSDEEP
6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:bTYe+D2jFu+iZoUFhAz
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\hkgqkmjf = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2168 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\hkgqkmjf\ImagePath = "C:\\Windows\\SysWOW64\\hkgqkmjf\\xwkmaxyq.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2760 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2628 xwkmaxyq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2628 set thread context of 2760 2628 xwkmaxyq.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2992 sc.exe 2748 sc.exe 1016 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 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language xwkmaxyq.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2240 wrote to memory of 1172 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 30 PID 2240 wrote to memory of 1172 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 30 PID 2240 wrote to memory of 1172 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 30 PID 2240 wrote to memory of 1172 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 30 PID 2240 wrote to memory of 2888 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 32 PID 2240 wrote to memory of 2888 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 32 PID 2240 wrote to memory of 2888 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 32 PID 2240 wrote to memory of 2888 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 32 PID 2240 wrote to memory of 2992 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 34 PID 2240 wrote to memory of 2992 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 34 PID 2240 wrote to memory of 2992 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 34 PID 2240 wrote to memory of 2992 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 34 PID 2240 wrote to memory of 2748 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 36 PID 2240 wrote to memory of 2748 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 36 PID 2240 wrote to memory of 2748 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 36 PID 2240 wrote to memory of 2748 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 36 PID 2240 wrote to memory of 1016 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 38 PID 2240 wrote to memory of 1016 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 38 PID 2240 wrote to memory of 1016 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 38 PID 2240 wrote to memory of 1016 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 38 PID 2240 wrote to memory of 2168 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 40 PID 2240 wrote to memory of 2168 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 40 PID 2240 wrote to memory of 2168 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 40 PID 2240 wrote to memory of 2168 2240 2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe 40 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43 PID 2628 wrote to memory of 2760 2628 xwkmaxyq.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2240 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkgqkmjf\2⤵
- System Location Discovery: System Language Discovery
PID:1172
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xwkmaxyq.exe" C:\Windows\SysWOW64\hkgqkmjf\2⤵
- System Location Discovery: System Language Discovery
PID:2888
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hkgqkmjf binPath= "C:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2992
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hkgqkmjf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2748
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hkgqkmjf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1016
-
-
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:2168
-
-
C:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exeC:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2628 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2760
-
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
10.5MB
MD5681523abad6ac128d520bdebc58aabd0
SHA1deb3defbe8a1dae1f30c81cf35acd42472c9b2d7
SHA256eb026093f54342c1a60f6d5988c3ce61a5d6137fc10e6933866abe4dea9497f1
SHA5125c26ddecd9a51d107655464d6468da17243ca9a6b8b6e27c1032198742aa8e3f507feab0871670d46adb263f56c43975fc60b738d3b5e54b3afa98935521e42c