Analysis
-
max time kernel
149s -
max time network
128s -
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 19:43
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe
-
Size
12.5MB
-
MD5
985d5a3c0a38f3438ecf1ee322381de5
-
SHA1
e1abddfb5e5550bc28d529a5ef293a575fb362a2
-
SHA256
6b62d421c0993ea2c1d4213c5fa44f08e381642fed36603a6fc8efafec955de3
-
SHA512
2b81be138cfe0501d45d7a7a5c1ee710971483e413ba41df5ea5f1d28b861cb0a722b47ee55feb04d1660f6888675008019379b56a0006ec66f395da6f29c850
-
SSDEEP
24576:dpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttV:3oo
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 4604 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\zriiutwq\ImagePath = "C:\\Windows\\SysWOW64\\zriiutwq\\afpkeqnp.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe -
Deletes itself 1 IoCs
pid Process 3644 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2956 afpkeqnp.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2956 set thread context of 3644 2956 afpkeqnp.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2644 sc.exe 2216 sc.exe 1900 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 2032 5096 WerFault.exe 84 1972 2956 WerFault.exe 96 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language afpkeqnp.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_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 sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5096 wrote to memory of 1192 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 86 PID 5096 wrote to memory of 1192 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 86 PID 5096 wrote to memory of 1192 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 86 PID 5096 wrote to memory of 4460 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 88 PID 5096 wrote to memory of 4460 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 88 PID 5096 wrote to memory of 4460 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 88 PID 5096 wrote to memory of 2644 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 90 PID 5096 wrote to memory of 2644 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 90 PID 5096 wrote to memory of 2644 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 90 PID 5096 wrote to memory of 2216 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 92 PID 5096 wrote to memory of 2216 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 92 PID 5096 wrote to memory of 2216 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 92 PID 5096 wrote to memory of 1900 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 94 PID 5096 wrote to memory of 1900 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 94 PID 5096 wrote to memory of 1900 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 94 PID 5096 wrote to memory of 4604 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 97 PID 5096 wrote to memory of 4604 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 97 PID 5096 wrote to memory of 4604 5096 2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe 97 PID 2956 wrote to memory of 3644 2956 afpkeqnp.exe 102 PID 2956 wrote to memory of 3644 2956 afpkeqnp.exe 102 PID 2956 wrote to memory of 3644 2956 afpkeqnp.exe 102 PID 2956 wrote to memory of 3644 2956 afpkeqnp.exe 102 PID 2956 wrote to memory of 3644 2956 afpkeqnp.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5096 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zriiutwq\2⤵
- System Location Discovery: System Language Discovery
PID:1192
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afpkeqnp.exe" C:\Windows\SysWOW64\zriiutwq\2⤵
- System Location Discovery: System Language Discovery
PID:4460
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create zriiutwq binPath= "C:\Windows\SysWOW64\zriiutwq\afpkeqnp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2644
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description zriiutwq "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2216
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start zriiutwq2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1900
-
-
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:4604
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5096 -s 10282⤵
- Program crash
PID:2032
-
-
C:\Windows\SysWOW64\zriiutwq\afpkeqnp.exeC:\Windows\SysWOW64\zriiutwq\afpkeqnp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_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⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3644
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2956 -s 5122⤵
- Program crash
PID:1972
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 5096 -ip 50961⤵PID:4512
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2956 -ip 29561⤵PID:1728
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.2MB
MD5d5e8216bc373479931e4480ca748c816
SHA1ea4d06528808f7c42eacbf169bb8236e8539cd46
SHA256d3380f80d0cafbe25cf6df4f1a6484e0aa2b33e7997b86e334f3c7250c4f50d5
SHA5127e6ec11a7681b31437ff66391d4b495f8d324e3f385fe4537158c3bdd48a95bbc1f7814bd932f5a7970a195fb91b0f180e43f9a801ade64e45e915d0d8361ab8