Analysis
-
max time kernel
146s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
24-01-2025 09:28
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe
-
Size
12.2MB
-
MD5
a9343ac4629f6571ded4698ac1b1701c
-
SHA1
2e82080cb3f51d9ac04f4740c2bc97123588b936
-
SHA256
d7aff3bd4f728633f95b10819fd19809f9ebb5dba0e989db424a1e1a972d7ee3
-
SHA512
cc7e1872797d4de49d47c3e0b3d9e59ad56aa68f077b2046452d9f161b2bae5f902b511461daa19243b7c0f7dcdfb985dfb6b4e39263431cb11e61561bac94af
-
SSDEEP
6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:ETYe+D2jFu+iZoUFhAz
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2768 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\dnpexbz\ImagePath = "C:\\Windows\\SysWOW64\\dnpexbz\\sbvasrmi.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe -
Deletes itself 1 IoCs
pid Process 1796 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1140 sbvasrmi.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1140 set thread context of 1796 1140 sbvasrmi.exe 93 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2008 sc.exe 3848 sc.exe 2908 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 3012 1140 WerFault.exe 92 3096 2340 WerFault.exe 81 -
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 sbvasrmi.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 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2340 wrote to memory of 2276 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 82 PID 2340 wrote to memory of 2276 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 82 PID 2340 wrote to memory of 2276 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 82 PID 2340 wrote to memory of 2416 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 84 PID 2340 wrote to memory of 2416 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 84 PID 2340 wrote to memory of 2416 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 84 PID 2340 wrote to memory of 2008 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 86 PID 2340 wrote to memory of 2008 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 86 PID 2340 wrote to memory of 2008 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 86 PID 2340 wrote to memory of 3848 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 88 PID 2340 wrote to memory of 3848 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 88 PID 2340 wrote to memory of 3848 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 88 PID 2340 wrote to memory of 2908 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 90 PID 2340 wrote to memory of 2908 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 90 PID 2340 wrote to memory of 2908 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 90 PID 1140 wrote to memory of 1796 1140 sbvasrmi.exe 93 PID 1140 wrote to memory of 1796 1140 sbvasrmi.exe 93 PID 1140 wrote to memory of 1796 1140 sbvasrmi.exe 93 PID 1140 wrote to memory of 1796 1140 sbvasrmi.exe 93 PID 1140 wrote to memory of 1796 1140 sbvasrmi.exe 93 PID 2340 wrote to memory of 2768 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 95 PID 2340 wrote to memory of 2768 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 95 PID 2340 wrote to memory of 2768 2340 2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe 95
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2340 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dnpexbz\2⤵
- System Location Discovery: System Language Discovery
PID:2276
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbvasrmi.exe" C:\Windows\SysWOW64\dnpexbz\2⤵
- System Location Discovery: System Language Discovery
PID:2416
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create dnpexbz binPath= "C:\Windows\SysWOW64\dnpexbz\sbvasrmi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2008
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description dnpexbz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3848
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start dnpexbz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2908
-
-
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:2768
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 10402⤵
- Program crash
PID:3096
-
-
C:\Windows\SysWOW64\dnpexbz\sbvasrmi.exeC:\Windows\SysWOW64\dnpexbz\sbvasrmi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1140 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1796
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1140 -s 5322⤵
- Program crash
PID:3012
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2340 -ip 23401⤵PID:3624
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1140 -ip 11401⤵PID:4292
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
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
10.5MB
MD5bd03ed28209f5f43abf9928a911fe0ec
SHA177a8fa321b113a57284e46a8f641ace5de4693cb
SHA256a82d76c13e4bb43b12ec0dbd1d8f9004e799f025d701a2a6859f7e59dc85f910
SHA512fb9a0669d05ed2d719b1fd67289d4b25e29de14d0fe88be1089e0fd5dcbdac9118f5a5203796da89f252e00282994399bcbbf32f1bcf69c26c4bff85dd85e939