Analysis
-
max time kernel
149s -
max time network
124s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 20:01
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe
-
Size
12.4MB
-
MD5
30a7d8bf5a7eb75f9e72c522ae0b0efd
-
SHA1
54201ea3b968280c003d8b43136bcd274ce050cb
-
SHA256
ab7df9602cb6368e75710ec61a31f508242f8d33cb107ce293fe807434d942b7
-
SHA512
693bae076588d7e8d8c44be14452e72238216b1446f1f1a795af36ec34ca56d273a745673c74437f7b929c65ac24d7776c32bbee31aeaa292aa76f8910322ce9
-
SSDEEP
49152:oqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:oqtYc3
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 320 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\bdlcptxx\ImagePath = "C:\\Windows\\SysWOW64\\bdlcptxx\\frqepzhb.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe -
Deletes itself 1 IoCs
pid Process 2132 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1836 frqepzhb.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1836 set thread context of 2132 1836 frqepzhb.exe 93 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4820 sc.exe 1392 sc.exe 2640 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 1176 1836 WerFault.exe 92 4032 4400 WerFault.exe 81 -
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 svchost.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 frqepzhb.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4400 wrote to memory of 2864 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 82 PID 4400 wrote to memory of 2864 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 82 PID 4400 wrote to memory of 2864 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 82 PID 4400 wrote to memory of 2596 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 84 PID 4400 wrote to memory of 2596 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 84 PID 4400 wrote to memory of 2596 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 84 PID 4400 wrote to memory of 4820 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 86 PID 4400 wrote to memory of 4820 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 86 PID 4400 wrote to memory of 4820 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 86 PID 4400 wrote to memory of 1392 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 88 PID 4400 wrote to memory of 1392 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 88 PID 4400 wrote to memory of 1392 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 88 PID 4400 wrote to memory of 2640 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 90 PID 4400 wrote to memory of 2640 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 90 PID 4400 wrote to memory of 2640 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 90 PID 1836 wrote to memory of 2132 1836 frqepzhb.exe 93 PID 1836 wrote to memory of 2132 1836 frqepzhb.exe 93 PID 1836 wrote to memory of 2132 1836 frqepzhb.exe 93 PID 1836 wrote to memory of 2132 1836 frqepzhb.exe 93 PID 1836 wrote to memory of 2132 1836 frqepzhb.exe 93 PID 4400 wrote to memory of 320 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 96 PID 4400 wrote to memory of 320 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 96 PID 4400 wrote to memory of 320 4400 2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe 96
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4400 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bdlcptxx\2⤵
- System Location Discovery: System Language Discovery
PID:2864
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frqepzhb.exe" C:\Windows\SysWOW64\bdlcptxx\2⤵
- System Location Discovery: System Language Discovery
PID:2596
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bdlcptxx binPath= "C:\Windows\SysWOW64\bdlcptxx\frqepzhb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4820
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bdlcptxx "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1392
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bdlcptxx2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2640
-
-
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:320
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4400 -s 8922⤵
- Program crash
PID:4032
-
-
C:\Windows\SysWOW64\bdlcptxx\frqepzhb.exeC:\Windows\SysWOW64\bdlcptxx\frqepzhb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1836 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2132
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 5122⤵
- Program crash
PID:1176
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1836 -ip 18361⤵PID:3460
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4400 -ip 44001⤵PID:2956
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
13.2MB
MD5ccfdd3b3bd716781c58f384e57832015
SHA116cbe22c63946bab54a091bbc868f5a1029bf817
SHA256587d46422210f07b6fa947c32729635b21defda03a4030132ca3a4ac6b6bdd80
SHA51251ce7ef3d59287d5aa22c98c56e96018d19308cdb12d4be05d1602cd7dabbb17269c9579dbad6907436dc8a5312f92f753f7463890a005dbdc0a2c48dca0e177