Analysis
-
max time kernel
149s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20250207-en -
resource tags
arch:x64arch:x86image:win10v2004-20250207-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 21:23
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe
Resource
win10v2004-20250207-en
General
-
Target
2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe
-
Size
14.9MB
-
MD5
b0f09514c99964765ca02524215f8315
-
SHA1
681adbf30ab864d06b14d1f8690c4a55875c1f0e
-
SHA256
2b81c5946f5c47a09703ba433305f5df54730c29033fe988beca31655d7119ef
-
SHA512
5609396f51c1ded618a670cb061696db72514abec59301138f86b4a8fbc6c548aaf8172bddd50ac8f870cfa1b930ce54dd318cbeaaccc3347a8323e3c2494c50
-
SSDEEP
393216:EXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Downloads MZ/PE file 1 IoCs
flow pid Process 53 2160 Process not Found -
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2004 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xsqnrjsq\ImagePath = "C:\\Windows\\SysWOW64\\xsqnrjsq\\wnvtdyft.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-1290774215-692483676-1419523182-1000\Control Panel\International\Geo\Nation 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe -
Deletes itself 1 IoCs
pid Process 524 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 916 wnvtdyft.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 916 set thread context of 524 916 wnvtdyft.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3800 sc.exe 4356 sc.exe 3524 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 10 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language wnvtdyft.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language MicrosoftEdgeUpdate.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-07_b0f09514c99964765ca02524215f8315_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 -
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 1 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 1412 MicrosoftEdgeUpdate.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3248 wrote to memory of 3628 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 89 PID 3248 wrote to memory of 3628 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 89 PID 3248 wrote to memory of 3628 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 89 PID 3248 wrote to memory of 3964 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 91 PID 3248 wrote to memory of 3964 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 91 PID 3248 wrote to memory of 3964 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 91 PID 3248 wrote to memory of 3800 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 93 PID 3248 wrote to memory of 3800 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 93 PID 3248 wrote to memory of 3800 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 93 PID 3248 wrote to memory of 4356 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 95 PID 3248 wrote to memory of 4356 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 95 PID 3248 wrote to memory of 4356 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 95 PID 3248 wrote to memory of 3524 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 97 PID 3248 wrote to memory of 3524 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 97 PID 3248 wrote to memory of 3524 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 97 PID 916 wrote to memory of 524 916 wnvtdyft.exe 100 PID 916 wrote to memory of 524 916 wnvtdyft.exe 100 PID 916 wrote to memory of 524 916 wnvtdyft.exe 100 PID 916 wrote to memory of 524 916 wnvtdyft.exe 100 PID 916 wrote to memory of 524 916 wnvtdyft.exe 100 PID 3248 wrote to memory of 2004 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 101 PID 3248 wrote to memory of 2004 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 101 PID 3248 wrote to memory of 2004 3248 2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3248 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xsqnrjsq\2⤵
- System Location Discovery: System Language Discovery
PID:3628
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wnvtdyft.exe" C:\Windows\SysWOW64\xsqnrjsq\2⤵
- System Location Discovery: System Language Discovery
PID:3964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xsqnrjsq binPath= "C:\Windows\SysWOW64\xsqnrjsq\wnvtdyft.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3800
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xsqnrjsq "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4356
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xsqnrjsq2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3524
-
-
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:2004
-
-
C:\Windows\SysWOW64\xsqnrjsq\wnvtdyft.exeC:\Windows\SysWOW64\xsqnrjsq\wnvtdyft.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_b0f09514c99964765ca02524215f8315_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:916 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:524
-
-
C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" /ping PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48cmVxdWVzdCBwcm90b2NvbD0iMy4wIiB1cGRhdGVyPSJPbWFoYSIgdXBkYXRlcnZlcnNpb249IjEuMy4xOTUuNDMiIHNoZWxsX3ZlcnNpb249IjEuMy4xOTUuNDMiIGlzbWFjaGluZT0iMSIgc2Vzc2lvbmlkPSJ7OEZCQ0ZBNzItQTg1NC00MzBCLTlERkYtNkQ1MTJBNTdCODQ3fSIgdXNlcmlkPSJ7NjYzMkUzRDAtOUVEMC00Rjg4LThBNkMtODA2NDY4MzNFQjE3fSIgaW5zdGFsbHNvdXJjZT0ibGltaXRlZCIgcmVxdWVzdGlkPSJ7OTg1OTgyNUQtNjA5NS00Mjk5LUJBQjQtMDU3Nzk0NTYxRDE1fSIgZGVkdXA9ImNyIiBkb21haW5qb2luZWQ9IjAiPjxodyBsb2dpY2FsX2NwdXM9IjIiIHBoeXNtZW1vcnk9IjQiIGRpc2tfdHlwZT0iMiIgc3NlPSIxIiBzc2UyPSIxIiBzc2UzPSIxIiBzc3NlMz0iMSIgc3NlNDE9IjEiIHNzZTQyPSIxIiBhdng9IjEiLz48b3MgcGxhdGZvcm09IndpbiIgdmVyc2lvbj0iMTAuMC4xOTA0MS4xMjg4IiBzcD0iIiBhcmNoPSJ4NjQiIHByb2R1Y3RfdHlwZT0iNDgiIGlzX3dpcD0iMCIgaXNfaW5fbG9ja2Rvd25fbW9kZT0iMCIvPjxvZW0gcHJvZHVjdF9tYW51ZmFjdHVyZXI9IiIgcHJvZHVjdF9uYW1lPSIiLz48ZXhwIGV0YWc9IiZxdW90O0UreGJBejZZNnNVMTI4OWJTNnFsNFZSTGJramZCVUdUTUpzanJIcjQ0aUk9JnF1b3Q7Ii8-PGFwcCBhcHBpZD0iezhBNjlEMzQ1LUQ1NjQtNDYzYy1BRkYxLUE2OUQ5RTUzMEY5Nn0iIHZlcnNpb249IjEyMy4wLjYzMTIuMTIzIiBuZXh0dmVyc2lvbj0iIiBsYW5nPSJlbiIgYnJhbmQ9IkdHTFMiIGNsaWVudD0iIiBpbnN0YWxsYWdlPSIxIiBpbnN0YWxsZGF0ZXRpbWU9IjE3Mzg5NDQ5MjgiIG9vYmVfaW5zdGFsbF90aW1lPSIxMzM4MzQxNzQzMjM4OTAwMDAiPjxldmVudCBldmVudHR5cGU9IjMxIiBldmVudHJlc3VsdD0iMSIgZXJyb3Jjb2RlPSIwIiBleHRyYWNvZGUxPSIyMTc5ODYyIiBzeXN0ZW1fdXB0aW1lX3RpY2tzPSI1MjI0MjgzODczIi8-PC9hcHA-PC9yZXF1ZXN0Pg1⤵
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
PID:1412
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.2MB
MD5aaaf36b3e25857800948318423041b4a
SHA18c042bbe10f0cea479f96ed76e1cdbc9dab0db46
SHA2569e11bb39bfddcc5724c8e110a9500db71c2b6d8cc44ab7127e4bc3bf0d32392b
SHA5125f125f15fefa9b2dc2a325a567ee3df00c6606fcd4497d9e26f718c032bd11f029f2b8f5f85715584efeb0d8d4b7acd0e80abc7d0ae51accdaf161955e1c8526