Analysis
-
max time kernel
145s -
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
01-02-2025 20:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe
-
Size
12.1MB
-
MD5
345d5622052f8b631231e989b5c85efd
-
SHA1
e90c3bd6d1a5ad151007256374a9fce44ce77c37
-
SHA256
10f5f76b6fce2de585f0ee72990c0d4eeb065c0dcbc13b20c7205abbd4acb0c7
-
SHA512
b2af695e19f13313b30c5821076b6ef32c190ac242627f0be5e9d2d8673587ff32f79cf9257f31a4db2dbc3c7b03d649cbbb3fc20ebef88b70f38496084272c8
-
SSDEEP
6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:bTYe+D2jFu+iZoUFhAz
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 2612 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\rgzehuge\ImagePath = "C:\\Windows\\SysWOW64\\rgzehuge\\npkqjwg.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-2436272344-4274332273-444425594-1000\Control Panel\International\Geo\Nation 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe -
Deletes itself 1 IoCs
pid Process 3660 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2768 npkqjwg.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2768 set thread context of 3660 2768 npkqjwg.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4524 sc.exe 2828 sc.exe 4284 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 2108 1836 WerFault.exe 82 4708 2768 WerFault.exe 96 -
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 npkqjwg.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1836 wrote to memory of 4552 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 86 PID 1836 wrote to memory of 4552 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 86 PID 1836 wrote to memory of 4552 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 86 PID 1836 wrote to memory of 4792 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 88 PID 1836 wrote to memory of 4792 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 88 PID 1836 wrote to memory of 4792 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 88 PID 1836 wrote to memory of 4524 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 90 PID 1836 wrote to memory of 4524 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 90 PID 1836 wrote to memory of 4524 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 90 PID 1836 wrote to memory of 2828 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 92 PID 1836 wrote to memory of 2828 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 92 PID 1836 wrote to memory of 2828 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 92 PID 1836 wrote to memory of 4284 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 94 PID 1836 wrote to memory of 4284 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 94 PID 1836 wrote to memory of 4284 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 94 PID 1836 wrote to memory of 2612 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 97 PID 1836 wrote to memory of 2612 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 97 PID 1836 wrote to memory of 2612 1836 2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe 97 PID 2768 wrote to memory of 3660 2768 npkqjwg.exe 100 PID 2768 wrote to memory of 3660 2768 npkqjwg.exe 100 PID 2768 wrote to memory of 3660 2768 npkqjwg.exe 100 PID 2768 wrote to memory of 3660 2768 npkqjwg.exe 100 PID 2768 wrote to memory of 3660 2768 npkqjwg.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1836 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rgzehuge\2⤵
- System Location Discovery: System Language Discovery
PID:4552
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\npkqjwg.exe" C:\Windows\SysWOW64\rgzehuge\2⤵
- System Location Discovery: System Language Discovery
PID:4792
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rgzehuge binPath= "C:\Windows\SysWOW64\rgzehuge\npkqjwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4524
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rgzehuge "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2828
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rgzehuge2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4284
-
-
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:2612
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 10362⤵
- Program crash
PID:2108
-
-
C:\Windows\SysWOW64\rgzehuge\npkqjwg.exeC:\Windows\SysWOW64\rgzehuge\npkqjwg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2768 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3660
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2768 -s 5602⤵
- Program crash
PID:4708
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2768 -ip 27681⤵PID:4208
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1836 -ip 18361⤵PID:608
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
12.2MB
MD5ba8004dfd224f958d2472d564945e3fe
SHA1b6ca365b14cc1ed03ae03d4e2c3280afeac300cd
SHA256125980d562698bd4a8f4b9f5fa5c2c2dee1b5092b1233719692ddbda4dbd50aa
SHA5124a4a99362a7f025249058f4d83cb8dd224ebe9a598a23a002fde0f230713f6bd30788201b63516beca3dec97f18d1302e9d00e116762fe7e84ff436706a56509