Analysis
-
max time kernel
143s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
24-01-2025 19:17
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
-
Size
13.6MB
-
MD5
fe68e1702fa55d9c6125bbeb3026a5b8
-
SHA1
3a1cac180b422f57c7a1576baa3f16f09f6c7b7e
-
SHA256
cc9bf7bab2fa10c5b0cdf790586f29f15e3112bd6aa289a2175a1e5aca190993
-
SHA512
03dd144e41475bc9c51122571aa9c78304ea8d4b11c1b28d2028813c45392862d8608ac6aa2c21ecd17e4350730f462fc3fb25a4cb2516744e3a166ebf0e33a4
-
SSDEEP
24576:REfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:qfot
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\pyipdgen = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2828 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\pyipdgen\ImagePath = "C:\\Windows\\SysWOW64\\pyipdgen\\yyzkfgem.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2780 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2596 yyzkfgem.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2596 set thread context of 2780 2596 yyzkfgem.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2836 sc.exe 2900 sc.exe 2676 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-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 yyzkfgem.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 3020 wrote to memory of 2436 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 30 PID 3020 wrote to memory of 2436 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 30 PID 3020 wrote to memory of 2436 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 30 PID 3020 wrote to memory of 2436 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 30 PID 3020 wrote to memory of 2756 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 32 PID 3020 wrote to memory of 2756 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 32 PID 3020 wrote to memory of 2756 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 32 PID 3020 wrote to memory of 2756 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 32 PID 3020 wrote to memory of 2836 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 34 PID 3020 wrote to memory of 2836 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 34 PID 3020 wrote to memory of 2836 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 34 PID 3020 wrote to memory of 2836 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 34 PID 3020 wrote to memory of 2900 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 36 PID 3020 wrote to memory of 2900 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 36 PID 3020 wrote to memory of 2900 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 36 PID 3020 wrote to memory of 2900 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 36 PID 3020 wrote to memory of 2676 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 38 PID 3020 wrote to memory of 2676 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 38 PID 3020 wrote to memory of 2676 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 38 PID 3020 wrote to memory of 2676 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 38 PID 3020 wrote to memory of 2828 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 41 PID 3020 wrote to memory of 2828 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 41 PID 3020 wrote to memory of 2828 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 41 PID 3020 wrote to memory of 2828 3020 2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe 41 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43 PID 2596 wrote to memory of 2780 2596 yyzkfgem.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3020 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pyipdgen\2⤵
- System Location Discovery: System Language Discovery
PID:2436
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yyzkfgem.exe" C:\Windows\SysWOW64\pyipdgen\2⤵
- System Location Discovery: System Language Discovery
PID:2756
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pyipdgen binPath= "C:\Windows\SysWOW64\pyipdgen\yyzkfgem.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2836
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pyipdgen "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2900
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pyipdgen2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2676
-
-
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:2828
-
-
C:\Windows\SysWOW64\pyipdgen\yyzkfgem.exeC:\Windows\SysWOW64\pyipdgen\yyzkfgem.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2596 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2780
-
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.4MB
MD5f4cb1853ccb6068d15303ca0ac73a679
SHA1aa9df21728a8c774617afe3b6edbf66c5da3f872
SHA25699f9e31d0472cda2a7fe3c361bac3ca67469cc6cb50cf99f110f0389f8f234f2
SHA51219c80ced9467fc593cf4f1c0f89e5f3975bfe7c1a7bf981c043b1f4c325116abdc96e454a21c83c9cfde39166f538eb380c3338b885296a50c77965007607a29