Analysis
-
max time kernel
141s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 02:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe
-
Size
14.7MB
-
MD5
5dc90b4af645432c2a130c25b4348f4f
-
SHA1
25e4153df22e92c64d53ac7f1cde48fbf964ac5a
-
SHA256
c1dd5abe327d73b5152cb7a0d0bca205d6808981e25fc469f9c0118e313e4987
-
SHA512
f406f0adecb584f783ee8eebe805fc6dfe6190d22e46c483de3b82f65a35af0803a37ab91cd838d965afc01c14a380209fa15fc5b9a99935cb97c7fc8ba3b00c
-
SSDEEP
24576:cpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttn:4oo
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 5024 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\zargnyyx\ImagePath = "C:\\Windows\\SysWOW64\\zargnyyx\\lykhansc.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-3625106387-4207083342-115176794-1000\Control Panel\International\Geo\Nation 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe -
Deletes itself 1 IoCs
pid Process 1172 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2912 lykhansc.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2912 set thread context of 1172 2912 lykhansc.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1952 sc.exe 2928 sc.exe 1028 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 3696 368 WerFault.exe 82 1668 2912 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 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language lykhansc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 368 wrote to memory of 1660 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 86 PID 368 wrote to memory of 1660 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 86 PID 368 wrote to memory of 1660 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 86 PID 368 wrote to memory of 3092 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 88 PID 368 wrote to memory of 3092 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 88 PID 368 wrote to memory of 3092 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 88 PID 368 wrote to memory of 2928 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 90 PID 368 wrote to memory of 2928 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 90 PID 368 wrote to memory of 2928 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 90 PID 368 wrote to memory of 1028 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 92 PID 368 wrote to memory of 1028 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 92 PID 368 wrote to memory of 1028 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 92 PID 368 wrote to memory of 1952 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 94 PID 368 wrote to memory of 1952 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 94 PID 368 wrote to memory of 1952 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 94 PID 368 wrote to memory of 5024 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 97 PID 368 wrote to memory of 5024 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 97 PID 368 wrote to memory of 5024 368 2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe 97 PID 2912 wrote to memory of 1172 2912 lykhansc.exe 102 PID 2912 wrote to memory of 1172 2912 lykhansc.exe 102 PID 2912 wrote to memory of 1172 2912 lykhansc.exe 102 PID 2912 wrote to memory of 1172 2912 lykhansc.exe 102 PID 2912 wrote to memory of 1172 2912 lykhansc.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:368 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zargnyyx\2⤵
- System Location Discovery: System Language Discovery
PID:1660
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lykhansc.exe" C:\Windows\SysWOW64\zargnyyx\2⤵
- System Location Discovery: System Language Discovery
PID:3092
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create zargnyyx binPath= "C:\Windows\SysWOW64\zargnyyx\lykhansc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2928
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description zargnyyx "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1028
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start zargnyyx2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1952
-
-
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:5024
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 368 -s 5722⤵
- Program crash
PID:3696
-
-
C:\Windows\SysWOW64\zargnyyx\lykhansc.exeC:\Windows\SysWOW64\zargnyyx\lykhansc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2912 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1172
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2912 -s 5122⤵
- Program crash
PID:1668
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 368 -ip 3681⤵PID:3744
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 2912 -ip 29121⤵PID:4956
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
11.6MB
MD52f8bcec49f9d457bbdfc39dfd26a7544
SHA150c63ecd2c0825a14b4c4a759145a4c66cb3fe4d
SHA25644ae8e94edd15b6e9d11742e75b2696bba22e920425b802e11b3a723e5ab37de
SHA5121c3b4694a8bf3c05b43bfe1ff419a3d23689b2a297c8b9c4f1df5b0fdeaec8623e3189aa4c55b0db266dd66714db0137a09cedb47263360aa5265bda968949b0