Analysis
-
max time kernel
149s -
max time network
119s -
platform
windows7_x64 -
resource
win7-20241023-en -
resource tags
arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system -
submitted
26-01-2025 18:39
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
-
Size
11.9MB
-
MD5
cf1ee4c0d22d48ebd7ba5de6d28e37ff
-
SHA1
feffa2b1e47bb1770e61c0f1b76b37cb4ee4ad1d
-
SHA256
5cdda5a30dfac65c765ddba79a5eb58eea819a818347e6b9a15e138a553e9c1c
-
SHA512
6fd0cf200d338613a6eabfe20d12576572c73d12f99e01a7e1b2d431d3b692b6fbb2149e9a48463ee9235bb2e1dfefae692c1e11f9cdf20e970624841b3892b1
-
SSDEEP
49152:OqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:OqtYc3
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\rrffckhm = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1144 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\rrffckhm\ImagePath = "C:\\Windows\\SysWOW64\\rrffckhm\\saptgenn.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2848 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2956 saptgenn.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2956 set thread context of 2848 2956 saptgenn.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2368 sc.exe 2788 sc.exe 2800 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language saptgenn.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2408 wrote to memory of 2592 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 30 PID 2408 wrote to memory of 2592 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 30 PID 2408 wrote to memory of 2592 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 30 PID 2408 wrote to memory of 2592 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 30 PID 2408 wrote to memory of 1972 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 32 PID 2408 wrote to memory of 1972 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 32 PID 2408 wrote to memory of 1972 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 32 PID 2408 wrote to memory of 1972 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 32 PID 2408 wrote to memory of 2368 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 34 PID 2408 wrote to memory of 2368 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 34 PID 2408 wrote to memory of 2368 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 34 PID 2408 wrote to memory of 2368 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 34 PID 2408 wrote to memory of 2788 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 36 PID 2408 wrote to memory of 2788 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 36 PID 2408 wrote to memory of 2788 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 36 PID 2408 wrote to memory of 2788 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 36 PID 2408 wrote to memory of 2800 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 38 PID 2408 wrote to memory of 2800 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 38 PID 2408 wrote to memory of 2800 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 38 PID 2408 wrote to memory of 2800 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 38 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2956 wrote to memory of 2848 2956 saptgenn.exe 41 PID 2408 wrote to memory of 1144 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 42 PID 2408 wrote to memory of 1144 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 42 PID 2408 wrote to memory of 1144 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 42 PID 2408 wrote to memory of 1144 2408 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2408 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrffckhm\2⤵
- System Location Discovery: System Language Discovery
PID:2592
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\rrffckhm\2⤵
- System Location Discovery: System Language Discovery
PID:1972
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rrffckhm binPath= "C:\Windows\SysWOW64\rrffckhm\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2368
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rrffckhm "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2788
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rrffckhm2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2800
-
-
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:1144
-
-
C:\Windows\SysWOW64\rrffckhm\saptgenn.exeC:\Windows\SysWOW64\rrffckhm\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2956 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2848
-
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.0MB
MD5ce1d703ddf4fa438fbb93c9473578a71
SHA18bb244e49588139f57e090a795654701e57c6da1
SHA256537dbeebe9b285a5174f1c3f1ca3b1096d57865d06d08a6c044c41347039eb83
SHA512f26c125f538bce872909e4b243f4c3dd68d9231a260d42167202be9a8426aad7e4fd5eb8cfdb0ff2f16c4abe41bfb04b748be70619a990828caf1f8500fc9a90