Analysis
-
max time kernel
147s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
05-02-2025 22:33
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
-
Size
12.1MB
-
MD5
9cc55c14f3f8b827be600f06294a28ae
-
SHA1
95cac66b7d32e4bbac545b42ab0b4a1e3d5bf0b6
-
SHA256
7f4bf16cfb9771a3158632ca4deb1af275cdb5b52c807f6bfa5176f9cfaf2475
-
SHA512
e0fef214e744710204e3e9897d83cdde34bc70953726975e6223b49ffa8638e66ebe48b7082d9d82b4f6b5972cbc49824f575fac89f1a4b7e88b451cab4382bd
-
SSDEEP
49152:pLFuiE888888888888888888888888888888888888888888888888888888888x:pLMQ
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\peyvomq = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2264 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\peyvomq\ImagePath = "C:\\Windows\\SysWOW64\\peyvomq\\rtounak.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2820 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2984 rtounak.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2984 set thread context of 2820 2984 rtounak.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2184 sc.exe 2760 sc.exe 2856 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-05_9cc55c14f3f8b827be600f06294a28ae_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 netsh.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 rtounak.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2916 wrote to memory of 2196 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 30 PID 2916 wrote to memory of 2196 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 30 PID 2916 wrote to memory of 2196 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 30 PID 2916 wrote to memory of 2196 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 30 PID 2916 wrote to memory of 2564 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 32 PID 2916 wrote to memory of 2564 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 32 PID 2916 wrote to memory of 2564 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 32 PID 2916 wrote to memory of 2564 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 32 PID 2916 wrote to memory of 2184 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 34 PID 2916 wrote to memory of 2184 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 34 PID 2916 wrote to memory of 2184 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 34 PID 2916 wrote to memory of 2184 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 34 PID 2916 wrote to memory of 2760 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 36 PID 2916 wrote to memory of 2760 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 36 PID 2916 wrote to memory of 2760 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 36 PID 2916 wrote to memory of 2760 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 36 PID 2916 wrote to memory of 2856 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 38 PID 2916 wrote to memory of 2856 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 38 PID 2916 wrote to memory of 2856 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 38 PID 2916 wrote to memory of 2856 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 38 PID 2916 wrote to memory of 2264 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 41 PID 2916 wrote to memory of 2264 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 41 PID 2916 wrote to memory of 2264 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 41 PID 2916 wrote to memory of 2264 2916 2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe 41 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43 PID 2984 wrote to memory of 2820 2984 rtounak.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2916 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\peyvomq\2⤵
- System Location Discovery: System Language Discovery
PID:2196
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtounak.exe" C:\Windows\SysWOW64\peyvomq\2⤵
- System Location Discovery: System Language Discovery
PID:2564
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create peyvomq binPath= "C:\Windows\SysWOW64\peyvomq\rtounak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2184
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description peyvomq "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2760
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start peyvomq2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2856
-
-
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:2264
-
-
C:\Windows\SysWOW64\peyvomq\rtounak.exeC:\Windows\SysWOW64\peyvomq\rtounak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2984 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2820
-
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
MD5076dbae768ca3e53f7915af12ec68828
SHA1edd1335fc8d0eac463633bbefde582337c76cb9e
SHA25601293d363ac374537ea922e058e50f0ee38a6a18cc0358b8c741c5148ff9d168
SHA5124d5f6f92add04f63eead0e8af4efe2ff4cd3790c01041e683d0a0099dff77d10ad4f53af50cba41c662e507b95f93801edef53d11794b00c86290d9f6449dadd