Analysis
-
max time kernel
148s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 20:08
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe
-
Size
14.7MB
-
MD5
aaf8e49d400422b269c8ae719a1fa882
-
SHA1
f2bd9b6119558167165030f0b4f5c3fb632e456f
-
SHA256
dc1457831a3170e63c3bc791a963c11f1cf670862c7f9c65d4813b97c54ccf66
-
SHA512
267f2de50c70bee415f67c706227b5a66d2785d2e745a013e54aa7c6ea88296fa0c53455bca168d4e05fa11690cbd629cd9bde751e8f2719c681edfc3b9a7bc2
-
SSDEEP
3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:ROMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 2580 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xovtwknw\ImagePath = "C:\\Windows\\SysWOW64\\xovtwknw\\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-3756129449-3121373848-4276368241-1000\Control Panel\International\Geo\Nation 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe -
Deletes itself 1 IoCs
pid Process 3376 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3380 wihvgqys.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3380 set thread context of 3376 3380 wihvgqys.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3604 sc.exe 1968 sc.exe 792 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 3664 2364 WerFault.exe 81 860 3380 WerFault.exe 95 -
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 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language wihvgqys.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2364 wrote to memory of 4140 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 82 PID 2364 wrote to memory of 4140 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 82 PID 2364 wrote to memory of 4140 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 82 PID 2364 wrote to memory of 2472 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 84 PID 2364 wrote to memory of 2472 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 84 PID 2364 wrote to memory of 2472 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 84 PID 2364 wrote to memory of 3604 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 86 PID 2364 wrote to memory of 3604 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 86 PID 2364 wrote to memory of 3604 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 86 PID 2364 wrote to memory of 1968 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 90 PID 2364 wrote to memory of 1968 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 90 PID 2364 wrote to memory of 1968 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 90 PID 2364 wrote to memory of 792 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 92 PID 2364 wrote to memory of 792 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 92 PID 2364 wrote to memory of 792 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 92 PID 2364 wrote to memory of 2580 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 97 PID 2364 wrote to memory of 2580 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 97 PID 2364 wrote to memory of 2580 2364 2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe 97 PID 3380 wrote to memory of 3376 3380 wihvgqys.exe 102 PID 3380 wrote to memory of 3376 3380 wihvgqys.exe 102 PID 3380 wrote to memory of 3376 3380 wihvgqys.exe 102 PID 3380 wrote to memory of 3376 3380 wihvgqys.exe 102 PID 3380 wrote to memory of 3376 3380 wihvgqys.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2364 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xovtwknw\2⤵
- System Location Discovery: System Language Discovery
PID:4140
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wihvgqys.exe" C:\Windows\SysWOW64\xovtwknw\2⤵
- System Location Discovery: System Language Discovery
PID:2472
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xovtwknw binPath= "C:\Windows\SysWOW64\xovtwknw\wihvgqys.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3604
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xovtwknw "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1968
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xovtwknw2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:792
-
-
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:2580
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2364 -s 10362⤵
- Program crash
PID:3664
-
-
C:\Windows\SysWOW64\xovtwknw\wihvgqys.exeC:\Windows\SysWOW64\xovtwknw\wihvgqys.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3380 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3376
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3380 -s 5082⤵
- Program crash
PID:860
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2364 -ip 23641⤵PID:840
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3380 -ip 33801⤵PID:3436
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
14.7MB
MD56f303a357c9a17389e0bbda915946851
SHA1d4a4f91ea8a2a718aa5316b79573221ce485c5ca
SHA256e4cfb5aaa41d69bf2d095c756608af76f0b8e0789827e80762d825ec13664eb6
SHA5124c9fe7e7b778de858c0c34dd72df9407adae3dcdb0334ef20421a6cbb77a89a4ee0c3cc9f734b678b05c3ae5912cf7366205cabbbaeaee169970a62610a7eafb