Analysis
-
max time kernel
148s -
max time network
128s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 05:48
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe
-
Size
13.8MB
-
MD5
0bc24556871b43248cc95e8fa707217d
-
SHA1
1d6f337f491d57265393cdc0d5bd8bd6757281de
-
SHA256
d1f8162cc1d9a27ebd286bb30b0bc208bd395d26dd859be6635a071f0bc8940b
-
SHA512
adb5ba1a2e4dd6e90d4b615ed72e0c530435437291cb37a3a99a2c7c2b3f72b552c1ea0583bb6dc32e2df4c84e54bccf68663f687ce1f3919ff3cf9257ca53d1
-
SSDEEP
49152:BqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:BqtYc3
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 1796 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\twdpyncl\ImagePath = "C:\\Windows\\SysWOW64\\twdpyncl\\pysxpojf.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-70482961-775596374-3727440602-1000\Control Panel\International\Geo\Nation 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe -
Deletes itself 1 IoCs
pid Process 2668 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3840 pysxpojf.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3840 set thread context of 2668 3840 pysxpojf.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4300 sc.exe 228 sc.exe 4104 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 1840 3840 WerFault.exe 95 2704 4072 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language pysxpojf.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_0bc24556871b43248cc95e8fa707217d_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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4072 wrote to memory of 4412 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 85 PID 4072 wrote to memory of 4412 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 85 PID 4072 wrote to memory of 4412 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 85 PID 4072 wrote to memory of 3672 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 87 PID 4072 wrote to memory of 3672 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 87 PID 4072 wrote to memory of 3672 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 87 PID 4072 wrote to memory of 4300 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 89 PID 4072 wrote to memory of 4300 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 89 PID 4072 wrote to memory of 4300 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 89 PID 4072 wrote to memory of 228 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 91 PID 4072 wrote to memory of 228 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 91 PID 4072 wrote to memory of 228 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 91 PID 4072 wrote to memory of 4104 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 93 PID 4072 wrote to memory of 4104 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 93 PID 4072 wrote to memory of 4104 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 93 PID 4072 wrote to memory of 1796 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 96 PID 4072 wrote to memory of 1796 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 96 PID 4072 wrote to memory of 1796 4072 2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe 96 PID 3840 wrote to memory of 2668 3840 pysxpojf.exe 97 PID 3840 wrote to memory of 2668 3840 pysxpojf.exe 97 PID 3840 wrote to memory of 2668 3840 pysxpojf.exe 97 PID 3840 wrote to memory of 2668 3840 pysxpojf.exe 97 PID 3840 wrote to memory of 2668 3840 pysxpojf.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4072 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\twdpyncl\2⤵
- System Location Discovery: System Language Discovery
PID:4412
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pysxpojf.exe" C:\Windows\SysWOW64\twdpyncl\2⤵
- System Location Discovery: System Language Discovery
PID:3672
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create twdpyncl binPath= "C:\Windows\SysWOW64\twdpyncl\pysxpojf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4300
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description twdpyncl "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start twdpyncl2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4104
-
-
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:1796
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4072 -s 10442⤵
- Program crash
PID:2704
-
-
C:\Windows\SysWOW64\twdpyncl\pysxpojf.exeC:\Windows\SysWOW64\twdpyncl\pysxpojf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0bc24556871b43248cc95e8fa707217d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3840 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2668
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3840 -s 5122⤵
- Program crash
PID:1840
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4072 -ip 40721⤵PID:4200
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3840 -ip 38401⤵PID:4992
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.4MB
MD5f1eef15a8c986a3a43cd30ef3619213d
SHA1cb768efab2b228cef24172f64fb7aca5839f3644
SHA256312bd7ed5f0dee887fdc02034a49cd2846f8c04941fe704b654e1a6fa466bed7
SHA51220de757f735a1d7260eb07b4c07f9183392fd3d2ef28f4e85d574651bc18aaf0ff77089a041f23936b12091a336305aa5898d0bc0f6ae8c40dace4afdfa25cd9