Analysis
-
max time kernel
144s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28-01-2025 14:03
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe
-
Size
11.2MB
-
MD5
bc69fe693d7847a09ad69fef17f7827a
-
SHA1
e769da6a06c64a656686f9ca39b01cdea4decc60
-
SHA256
ee06a44cd6bc5c852ef5e3e26ce0a11fef7502cdca6b1ac98dfe012770d22e11
-
SHA512
ab887575c2c99f1ee19e7d7cfd6ee9d13ab9930191e3b4fc0f69dae07c11b386462e7ec09e53f02802b305e14c60b03bdaecc141687e88065483a18d824cdf5d
-
SSDEEP
6144:0LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQJ:pTYe+D2jFu+iZoUFhAzG
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 3532 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\pksrvebe\ImagePath = "C:\\Windows\\SysWOW64\\pksrvebe\\sqzajfuq.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-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe -
Deletes itself 1 IoCs
pid Process 3128 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4744 sqzajfuq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4744 set thread context of 3128 4744 sqzajfuq.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4280 sc.exe 2132 sc.exe 1696 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 4072 2940 WerFault.exe 81 1888 4744 WerFault.exe 92 -
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-28_bc69fe693d7847a09ad69fef17f7827a_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 sqzajfuq.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2940 wrote to memory of 4652 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 82 PID 2940 wrote to memory of 4652 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 82 PID 2940 wrote to memory of 4652 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 82 PID 2940 wrote to memory of 2744 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 84 PID 2940 wrote to memory of 2744 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 84 PID 2940 wrote to memory of 2744 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 84 PID 2940 wrote to memory of 4280 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 86 PID 2940 wrote to memory of 4280 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 86 PID 2940 wrote to memory of 4280 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 86 PID 2940 wrote to memory of 2132 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 88 PID 2940 wrote to memory of 2132 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 88 PID 2940 wrote to memory of 2132 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 88 PID 2940 wrote to memory of 1696 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 90 PID 2940 wrote to memory of 1696 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 90 PID 2940 wrote to memory of 1696 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 90 PID 2940 wrote to memory of 3532 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 93 PID 2940 wrote to memory of 3532 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 93 PID 2940 wrote to memory of 3532 2940 2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe 93 PID 4744 wrote to memory of 3128 4744 sqzajfuq.exe 98 PID 4744 wrote to memory of 3128 4744 sqzajfuq.exe 98 PID 4744 wrote to memory of 3128 4744 sqzajfuq.exe 98 PID 4744 wrote to memory of 3128 4744 sqzajfuq.exe 98 PID 4744 wrote to memory of 3128 4744 sqzajfuq.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2940 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pksrvebe\2⤵
- System Location Discovery: System Language Discovery
PID:4652
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqzajfuq.exe" C:\Windows\SysWOW64\pksrvebe\2⤵
- System Location Discovery: System Language Discovery
PID:2744
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pksrvebe binPath= "C:\Windows\SysWOW64\pksrvebe\sqzajfuq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4280
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pksrvebe "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2132
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pksrvebe2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1696
-
-
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:3532
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2940 -s 6642⤵
- Program crash
PID:4072
-
-
C:\Windows\SysWOW64\pksrvebe\sqzajfuq.exeC:\Windows\SysWOW64\pksrvebe\sqzajfuq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4744 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3128
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 5122⤵
- Program crash
PID:1888
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2940 -ip 29401⤵PID:1500
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4744 -ip 47441⤵PID:2420
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.8MB
MD5a115c374f85cd330e596e28fb19c58d5
SHA13cf1a9e97085f77e1ef564695c7f05acf6c92444
SHA256e05b97b6d54a7c0bb15a7eb843a41e50a23330367ec06bc96053389c3c8807b4
SHA5121b089f00086825fef8076246c9a74aefc9125fa2d6d4102d4005ac1cf93e7a9dedc878db654f3bf93cd8f5d0abd078e47c9852906799b957b1a8daf408a624bd