Analysis
-
max time kernel
148s -
max time network
147s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 13:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe
-
Size
14.5MB
-
MD5
21bab2b2396f9666734d4fa8ecb7c391
-
SHA1
cc0110f22a0e113277447eeb0977b1fe0f092b42
-
SHA256
113204d499543435f6256751082b03e43cbfa3e5aaf4ac2ae72791dc1d5b1c4e
-
SHA512
33b705f9d6465f2a42c7f24976e05142e6e6b8295056a20d3ccc96fd711a6546d14a9c7ca0f1e9d43472002913b498045716db8a76116e5c70adc151803556cf
-
SSDEEP
24576:i6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQM:rWdLQkW
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 2168 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gbcuvjhc\ImagePath = "C:\\Windows\\SysWOW64\\gbcuvjhc\\pgcjazdh.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-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe -
Deletes itself 1 IoCs
pid Process 3400 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4124 pgcjazdh.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4124 set thread context of 3400 4124 pgcjazdh.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1932 sc.exe 2948 sc.exe 2276 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 5028 5076 WerFault.exe 83 2988 4124 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 svchost.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 pgcjazdh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_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 netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5076 wrote to memory of 3036 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 84 PID 5076 wrote to memory of 3036 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 84 PID 5076 wrote to memory of 3036 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 84 PID 5076 wrote to memory of 3260 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 86 PID 5076 wrote to memory of 3260 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 86 PID 5076 wrote to memory of 3260 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 86 PID 5076 wrote to memory of 2948 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 88 PID 5076 wrote to memory of 2948 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 88 PID 5076 wrote to memory of 2948 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 88 PID 5076 wrote to memory of 2276 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 90 PID 5076 wrote to memory of 2276 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 90 PID 5076 wrote to memory of 2276 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 90 PID 5076 wrote to memory of 1932 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 92 PID 5076 wrote to memory of 1932 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 92 PID 5076 wrote to memory of 1932 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 92 PID 5076 wrote to memory of 2168 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 95 PID 5076 wrote to memory of 2168 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 95 PID 5076 wrote to memory of 2168 5076 2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe 95 PID 4124 wrote to memory of 3400 4124 pgcjazdh.exe 100 PID 4124 wrote to memory of 3400 4124 pgcjazdh.exe 100 PID 4124 wrote to memory of 3400 4124 pgcjazdh.exe 100 PID 4124 wrote to memory of 3400 4124 pgcjazdh.exe 100 PID 4124 wrote to memory of 3400 4124 pgcjazdh.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5076 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gbcuvjhc\2⤵
- System Location Discovery: System Language Discovery
PID:3036
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgcjazdh.exe" C:\Windows\SysWOW64\gbcuvjhc\2⤵
- System Location Discovery: System Language Discovery
PID:3260
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gbcuvjhc binPath= "C:\Windows\SysWOW64\gbcuvjhc\pgcjazdh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2948
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gbcuvjhc "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2276
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gbcuvjhc2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1932
-
-
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:2168
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5076 -s 13322⤵
- Program crash
PID:5028
-
-
C:\Windows\SysWOW64\gbcuvjhc\pgcjazdh.exeC:\Windows\SysWOW64\gbcuvjhc\pgcjazdh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4124 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3400
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4124 -s 5162⤵
- Program crash
PID:2988
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 5076 -ip 50761⤵PID:3096
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4124 -ip 41241⤵PID:4820
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.8MB
MD56988130bb040f1cd5d33e38b1ccbc62c
SHA1dbffcbf6e50fc6e89cc3f1ee73a1ad54f2ab4049
SHA256fc4163793f45a74aa70dbfb4ed4c93c94778e184d5e6a4d6840ecebf8440b277
SHA512e0e466ceae1ecbfd12db14dbc4dc4d80fa027f4b17b48bb9168748ad361c87dcaabe13c658114e3e992f8108dfb8899cd4dad7028aa6d4a89f60b2a3fbb916e3