Analysis
-
max time kernel
149s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 20:01
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe
-
Size
11.7MB
-
MD5
8b2bfd98f7a67be7cf3cca77f60b2c77
-
SHA1
d5137cd797229cf309edaea9e77c9e840d564d7c
-
SHA256
a8786e809db0f73eb45a3751cc5adeed5a3f298de5e9d79ed1833a4177ed12a5
-
SHA512
c52a4a295e7dd38d4f6e2f8df7fb73c6fb65ae8776d9acdba53bd1989fad22d86984ada35a193feece095000ae6f9e158cf436e76461b54a39560db31814fe96
-
SSDEEP
196608:IyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:tXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn
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 1812 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\lqpmjhja\ImagePath = "C:\\Windows\\SysWOW64\\lqpmjhja\\kshlywff.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-4174397412-4125106315-2776226590-1000\Control Panel\International\Geo\Nation 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe -
Deletes itself 1 IoCs
pid Process 4920 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3008 kshlywff.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3008 set thread context of 4920 3008 kshlywff.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1948 sc.exe 4208 sc.exe 1268 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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language kshlywff.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 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 cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4716 wrote to memory of 3144 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 81 PID 4716 wrote to memory of 3144 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 81 PID 4716 wrote to memory of 3144 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 81 PID 4716 wrote to memory of 4092 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 83 PID 4716 wrote to memory of 4092 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 83 PID 4716 wrote to memory of 4092 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 83 PID 4716 wrote to memory of 1948 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 89 PID 4716 wrote to memory of 1948 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 89 PID 4716 wrote to memory of 1948 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 89 PID 4716 wrote to memory of 4208 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 92 PID 4716 wrote to memory of 4208 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 92 PID 4716 wrote to memory of 4208 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 92 PID 4716 wrote to memory of 1268 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 94 PID 4716 wrote to memory of 1268 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 94 PID 4716 wrote to memory of 1268 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 94 PID 3008 wrote to memory of 4920 3008 kshlywff.exe 97 PID 3008 wrote to memory of 4920 3008 kshlywff.exe 97 PID 3008 wrote to memory of 4920 3008 kshlywff.exe 97 PID 3008 wrote to memory of 4920 3008 kshlywff.exe 97 PID 3008 wrote to memory of 4920 3008 kshlywff.exe 97 PID 4716 wrote to memory of 1812 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 98 PID 4716 wrote to memory of 1812 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 98 PID 4716 wrote to memory of 1812 4716 2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4716 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqpmjhja\2⤵
- System Location Discovery: System Language Discovery
PID:3144
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kshlywff.exe" C:\Windows\SysWOW64\lqpmjhja\2⤵
- System Location Discovery: System Language Discovery
PID:4092
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create lqpmjhja binPath= "C:\Windows\SysWOW64\lqpmjhja\kshlywff.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1948
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description lqpmjhja "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4208
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start lqpmjhja2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1268
-
-
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:1812
-
-
C:\Windows\SysWOW64\lqpmjhja\kshlywff.exeC:\Windows\SysWOW64\lqpmjhja\kshlywff.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8b2bfd98f7a67be7cf3cca77f60b2c77_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3008 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4920
-
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
13.7MB
MD5f34517a782500d46bc34be4040d56288
SHA1a4774898733818331df7293181290cc526c3d2c0
SHA2561c2575607f7f0c65321a118c49ec295a80d988a4bfc9fb69345c877df88426b2
SHA512ec4c192df19067a3811f86d42b006024df251e3015edd50c3ae834b9685625e804622a7d92db5ebb5f3144994bca64d31aaa2b6e09ebdcccd51dff98e339ccfb