Analysis
-
max time kernel
146s -
max time network
131s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
03-02-2025 21:32
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe
-
Size
11.2MB
-
MD5
d523ff8a708717cffd3d2578c5c0e011
-
SHA1
08c7989555ca249bf6c495ec6e78258cafba060f
-
SHA256
9d32a1cfb62fde141d638c713d9d5e5e7bb082ca582b3b4cceeb9cdc2a8930d4
-
SHA512
d07a1afc1b3c6e22f1ad797c2d90a14b71f1a8ff112cb283e1480e069f45f2af5320d2bff3901b8c3a5cb94e932e8bb31764d9bb078e3f8a385cd2bb5b25b1a3
-
SSDEEP
49152:RqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:RqtYc3
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 1840 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gaqeiibc\ImagePath = "C:\\Windows\\SysWOW64\\gaqeiibc\\qynrecll.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe -
Deletes itself 1 IoCs
pid Process 4452 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1432 qynrecll.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1432 set thread context of 4452 1432 qynrecll.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2424 sc.exe 4376 sc.exe 2224 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 536 1432 WerFault.exe 99 880 1704 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 cmd.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 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_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 qynrecll.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1704 wrote to memory of 996 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 86 PID 1704 wrote to memory of 996 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 86 PID 1704 wrote to memory of 996 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 86 PID 1704 wrote to memory of 3520 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 88 PID 1704 wrote to memory of 3520 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 88 PID 1704 wrote to memory of 3520 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 88 PID 1704 wrote to memory of 2424 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 90 PID 1704 wrote to memory of 2424 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 90 PID 1704 wrote to memory of 2424 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 90 PID 1704 wrote to memory of 4376 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 94 PID 1704 wrote to memory of 4376 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 94 PID 1704 wrote to memory of 4376 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 94 PID 1704 wrote to memory of 2224 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 97 PID 1704 wrote to memory of 2224 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 97 PID 1704 wrote to memory of 2224 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 97 PID 1432 wrote to memory of 4452 1432 qynrecll.exe 100 PID 1432 wrote to memory of 4452 1432 qynrecll.exe 100 PID 1432 wrote to memory of 4452 1432 qynrecll.exe 100 PID 1432 wrote to memory of 4452 1432 qynrecll.exe 100 PID 1432 wrote to memory of 4452 1432 qynrecll.exe 100 PID 1704 wrote to memory of 1840 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 104 PID 1704 wrote to memory of 1840 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 104 PID 1704 wrote to memory of 1840 1704 2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe 104
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1704 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gaqeiibc\2⤵
- System Location Discovery: System Language Discovery
PID:996
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qynrecll.exe" C:\Windows\SysWOW64\gaqeiibc\2⤵
- System Location Discovery: System Language Discovery
PID:3520
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gaqeiibc binPath= "C:\Windows\SysWOW64\gaqeiibc\qynrecll.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2424
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gaqeiibc "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4376
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gaqeiibc2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2224
-
-
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:1840
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1704 -s 13282⤵
- Program crash
PID:880
-
-
C:\Windows\SysWOW64\gaqeiibc\qynrecll.exeC:\Windows\SysWOW64\gaqeiibc\qynrecll.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1432 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4452
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1432 -s 5122⤵
- Program crash
PID:536
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1432 -ip 14321⤵PID:2872
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1704 -ip 17041⤵PID:1988
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.6MB
MD5d8c225b239f132a2f624c1ba74e32f55
SHA1527f1fea4db2e3a1232c1316ee415fee4064760d
SHA256adb4ed43db0193954860386c70829bca06d30d35f444a0159e46fd47fa68663c
SHA512dcad523d53a3ef5008d40ed5c5300b50b38f823d981a7058872903875d62ddd90d1b0cbf75327520c35276bb0ab1ec521a9d451ff54dfb8eda4a877c81dba8c3