Analysis
-
max time kernel
145s -
max time network
144s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
02-02-2025 20:05
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe
-
Size
14.9MB
-
MD5
01bf0b9dde9e72ff9fb98366b844aee6
-
SHA1
730f1ca9c44ca960abec545ea63a0e1242f4558b
-
SHA256
d7e99265d57a9e1b7582848835b5c2e9b81d5118ab6a69cea1937bc045873991
-
SHA512
7552af928706bf09c6156578367f33f3547fdf4943a2ee3f67ffbe761f62831871c2a89c4a3205be2d2db6a7b8c82b2ca770ab5a8c0141d1316ffcba265c38e2
-
SSDEEP
393216:lXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:
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 4248 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xwxgqawp\ImagePath = "C:\\Windows\\SysWOW64\\xwxgqawp\\vhgufpxr.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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe -
Deletes itself 1 IoCs
pid Process 3796 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3356 vhgufpxr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3356 set thread context of 3796 3356 vhgufpxr.exe 93 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4992 sc.exe 3324 sc.exe 3120 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 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language vhgufpxr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_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 netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2216 wrote to memory of 3664 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 82 PID 2216 wrote to memory of 3664 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 82 PID 2216 wrote to memory of 3664 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 82 PID 2216 wrote to memory of 4348 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 84 PID 2216 wrote to memory of 4348 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 84 PID 2216 wrote to memory of 4348 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 84 PID 2216 wrote to memory of 3120 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 86 PID 2216 wrote to memory of 3120 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 86 PID 2216 wrote to memory of 3120 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 86 PID 2216 wrote to memory of 4992 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 88 PID 2216 wrote to memory of 4992 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 88 PID 2216 wrote to memory of 4992 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 88 PID 2216 wrote to memory of 3324 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 90 PID 2216 wrote to memory of 3324 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 90 PID 2216 wrote to memory of 3324 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 90 PID 3356 wrote to memory of 3796 3356 vhgufpxr.exe 93 PID 3356 wrote to memory of 3796 3356 vhgufpxr.exe 93 PID 3356 wrote to memory of 3796 3356 vhgufpxr.exe 93 PID 2216 wrote to memory of 4248 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 94 PID 2216 wrote to memory of 4248 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 94 PID 2216 wrote to memory of 4248 2216 2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe 94 PID 3356 wrote to memory of 3796 3356 vhgufpxr.exe 93 PID 3356 wrote to memory of 3796 3356 vhgufpxr.exe 93
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2216 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xwxgqawp\2⤵
- System Location Discovery: System Language Discovery
PID:3664
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhgufpxr.exe" C:\Windows\SysWOW64\xwxgqawp\2⤵
- System Location Discovery: System Language Discovery
PID:4348
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xwxgqawp binPath= "C:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3120
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xwxgqawp "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4992
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xwxgqawp2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3324
-
-
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:4248
-
-
C:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exeC:\Windows\SysWOW64\xwxgqawp\vhgufpxr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_01bf0b9dde9e72ff9fb98366b844aee6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3356 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3796
-
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
12.8MB
MD56bbb1b96d86b5e75210e072ff01b8743
SHA1fdbf5e759bbd2a96907da7ac1f08594433257547
SHA2561e2bb2ad1324bafac559c6fc1411ed67f9585733298f50ff71c224a115cd9806
SHA51256e0db9658d72699713c9274b04610fcc80b21a64af13190512512d91e89bcd93d8fb4c08aac19b744348dbe752e2055d4923c56d39278f2c2c0a920bcc81c13