Analysis
-
max time kernel
149s -
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
05-02-2025 16:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe
-
Size
11.4MB
-
MD5
f1eef15a8c986a3a43cd30ef3619213d
-
SHA1
cb768efab2b228cef24172f64fb7aca5839f3644
-
SHA256
312bd7ed5f0dee887fdc02034a49cd2846f8c04941fe704b654e1a6fa466bed7
-
SHA512
20de757f735a1d7260eb07b4c07f9183392fd3d2ef28f4e85d574651bc18aaf0ff77089a041f23936b12091a336305aa5898d0bc0f6ae8c40dace4afdfa25cd9
-
SSDEEP
49152:fqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:fqtYc3
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 3576 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\ufnhsass\ImagePath = "C:\\Windows\\SysWOW64\\ufnhsass\\wihvgqys.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe -
Deletes itself 1 IoCs
pid Process 4384 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2916 wihvgqys.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2916 set thread context of 4384 2916 wihvgqys.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2352 sc.exe 3452 sc.exe 5100 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 4300 2916 WerFault.exe 96 864 1844 WerFault.exe 82 -
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 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 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.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 wihvgqys.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1844 wrote to memory of 4976 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 86 PID 1844 wrote to memory of 4976 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 86 PID 1844 wrote to memory of 4976 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 86 PID 1844 wrote to memory of 3668 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 88 PID 1844 wrote to memory of 3668 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 88 PID 1844 wrote to memory of 3668 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 88 PID 1844 wrote to memory of 2352 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 90 PID 1844 wrote to memory of 2352 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 90 PID 1844 wrote to memory of 2352 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 90 PID 1844 wrote to memory of 3452 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 92 PID 1844 wrote to memory of 3452 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 92 PID 1844 wrote to memory of 3452 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 92 PID 1844 wrote to memory of 5100 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 94 PID 1844 wrote to memory of 5100 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 94 PID 1844 wrote to memory of 5100 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 94 PID 2916 wrote to memory of 4384 2916 wihvgqys.exe 97 PID 2916 wrote to memory of 4384 2916 wihvgqys.exe 97 PID 2916 wrote to memory of 4384 2916 wihvgqys.exe 97 PID 2916 wrote to memory of 4384 2916 wihvgqys.exe 97 PID 2916 wrote to memory of 4384 2916 wihvgqys.exe 97 PID 1844 wrote to memory of 3576 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 99 PID 1844 wrote to memory of 3576 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 99 PID 1844 wrote to memory of 3576 1844 2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1844 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ufnhsass\2⤵
- System Location Discovery: System Language Discovery
PID:4976
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wihvgqys.exe" C:\Windows\SysWOW64\ufnhsass\2⤵
- System Location Discovery: System Language Discovery
PID:3668
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ufnhsass binPath= "C:\Windows\SysWOW64\ufnhsass\wihvgqys.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2352
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ufnhsass "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3452
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ufnhsass2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5100
-
-
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:3576
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1844 -s 10442⤵
- Program crash
PID:864
-
-
C:\Windows\SysWOW64\ufnhsass\wihvgqys.exeC:\Windows\SysWOW64\ufnhsass\wihvgqys.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f1eef15a8c986a3a43cd30ef3619213d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2916 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4384
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2916 -s 5122⤵
- Program crash
PID:4300
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1844 -ip 18441⤵PID:4296
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2916 -ip 29161⤵PID:5016
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.9MB
MD53bf729ef16213e8862081cce26c9c0d2
SHA11a3263776bf88022fe81ef4df4aeaea408bd4fab
SHA256a6d87a2bd255cff39a5bffddde0af87e71066d0c85057a5fde89d429c9ed6786
SHA512b5ce2d28217b8a55945ed5c45971f50dbd05a094e3ad0dfbe50d1b107f718e4d2c2eaeaa561a8b51051715f84a20c63f5db99bcb7faf731a4266c23e22d6dd64