Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
25-12-2024 18:28
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe
-
Size
13.4MB
-
MD5
085c0df426a67559b07390c7e519fa04
-
SHA1
f7461925cf572b1a4e6185878699a1709d5afa90
-
SHA256
b598f6bd5a40129cc3e11e473dc774d3ad4c5c0ae45850ae4b2a282de7051af3
-
SHA512
52643632a7adecadcebeaf57e0334da1dc0a61aec3da1b8a95153b63e9edc49a86a3f341a16069e4e79d505f58876bcda9e722e30e4471ce96f2d48b93c67086
-
SSDEEP
3072:aLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:DOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 2588 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\pbwpfav\ImagePath = "C:\\Windows\\SysWOW64\\pbwpfav\\gftvjghz.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-940901362-3608833189-1915618603-1000\Control Panel\International\Geo\Nation 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe -
Deletes itself 1 IoCs
pid Process 4860 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4104 gftvjghz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4104 set thread context of 4860 4104 gftvjghz.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1556 sc.exe 3704 sc.exe 2760 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 632 4812 WerFault.exe 82 1488 4104 WerFault.exe 94 -
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 gftvjghz.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-12-25_085c0df426a67559b07390c7e519fa04_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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4812 wrote to memory of 4076 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 84 PID 4812 wrote to memory of 4076 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 84 PID 4812 wrote to memory of 4076 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 84 PID 4812 wrote to memory of 4692 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 86 PID 4812 wrote to memory of 4692 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 86 PID 4812 wrote to memory of 4692 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 86 PID 4812 wrote to memory of 3704 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 88 PID 4812 wrote to memory of 3704 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 88 PID 4812 wrote to memory of 3704 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 88 PID 4812 wrote to memory of 2760 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 90 PID 4812 wrote to memory of 2760 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 90 PID 4812 wrote to memory of 2760 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 90 PID 4812 wrote to memory of 1556 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 92 PID 4812 wrote to memory of 1556 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 92 PID 4812 wrote to memory of 1556 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 92 PID 4812 wrote to memory of 2588 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 95 PID 4812 wrote to memory of 2588 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 95 PID 4812 wrote to memory of 2588 4812 2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe 95 PID 4104 wrote to memory of 4860 4104 gftvjghz.exe 101 PID 4104 wrote to memory of 4860 4104 gftvjghz.exe 101 PID 4104 wrote to memory of 4860 4104 gftvjghz.exe 101 PID 4104 wrote to memory of 4860 4104 gftvjghz.exe 101 PID 4104 wrote to memory of 4860 4104 gftvjghz.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4812 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pbwpfav\2⤵
- System Location Discovery: System Language Discovery
PID:4076
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gftvjghz.exe" C:\Windows\SysWOW64\pbwpfav\2⤵
- System Location Discovery: System Language Discovery
PID:4692
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pbwpfav binPath= "C:\Windows\SysWOW64\pbwpfav\gftvjghz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3704
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pbwpfav "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2760
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pbwpfav2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1556
-
-
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:2588
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 7962⤵
- Program crash
PID:632
-
-
C:\Windows\SysWOW64\pbwpfav\gftvjghz.exeC:\Windows\SysWOW64\pbwpfav\gftvjghz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4104 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4860
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4104 -s 5122⤵
- Program crash
PID:1488
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4812 -ip 48121⤵PID:2168
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4104 -ip 41041⤵PID:4164
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.3MB
MD506c60c7147b87a1f50653401bb8cca77
SHA1898fecfbdec37f39c18f2c67de965a65e066c28e
SHA2560a288d303c780de21108f4423e6efff7d0cc74b2806f722c87257db2607b3385
SHA51255703f3fe86ee19e0304c89f3f0e7ccc8a0be342e1fdf7bef5675e898e584c40adfc61eb2205c707eab2465c8fd4a6c32a2bdadadeac6719886d040923eda5fd