Analysis
-
max time kernel
146s -
max time network
141s -
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 18:51
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe
-
Size
11.4MB
-
MD5
0ea20400e10d827ce339c7b33c6f1e7f
-
SHA1
6dda40aede4b6e2e0144a835af27bf22be037409
-
SHA256
d3acc474578634a4a5fcb49255e9a97bb5d9391b2f4019426fb7e0c9586b3271
-
SHA512
e5e2aaade75838d3bb96a31327a022a4765ed5ba80960a94658a06c6c0404cbcae2e5d95a7305de55a999a494e2f4d1da17c848ec740d8eae571fd7388e5b37c
-
SSDEEP
6144:TLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQg:oTYe+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 2872 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\knkrgrey\ImagePath = "C:\\Windows\\SysWOW64\\knkrgrey\\ucrvigpp.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe -
Deletes itself 1 IoCs
pid Process 384 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3860 ucrvigpp.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3860 set thread context of 384 3860 ucrvigpp.exe 106 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3792 sc.exe 868 sc.exe 3880 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 1892 4512 WerFault.exe 84 4204 3860 WerFault.exe 100 -
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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ucrvigpp.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4512 wrote to memory of 2772 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 88 PID 4512 wrote to memory of 2772 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 88 PID 4512 wrote to memory of 2772 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 88 PID 4512 wrote to memory of 3084 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 90 PID 4512 wrote to memory of 3084 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 90 PID 4512 wrote to memory of 3084 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 90 PID 4512 wrote to memory of 3880 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 93 PID 4512 wrote to memory of 3880 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 93 PID 4512 wrote to memory of 3880 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 93 PID 4512 wrote to memory of 3792 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 96 PID 4512 wrote to memory of 3792 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 96 PID 4512 wrote to memory of 3792 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 96 PID 4512 wrote to memory of 868 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 98 PID 4512 wrote to memory of 868 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 98 PID 4512 wrote to memory of 868 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 98 PID 4512 wrote to memory of 2872 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 101 PID 4512 wrote to memory of 2872 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 101 PID 4512 wrote to memory of 2872 4512 2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe 101 PID 3860 wrote to memory of 384 3860 ucrvigpp.exe 106 PID 3860 wrote to memory of 384 3860 ucrvigpp.exe 106 PID 3860 wrote to memory of 384 3860 ucrvigpp.exe 106 PID 3860 wrote to memory of 384 3860 ucrvigpp.exe 106 PID 3860 wrote to memory of 384 3860 ucrvigpp.exe 106
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4512 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\knkrgrey\2⤵
- System Location Discovery: System Language Discovery
PID:2772
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ucrvigpp.exe" C:\Windows\SysWOW64\knkrgrey\2⤵
- System Location Discovery: System Language Discovery
PID:3084
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create knkrgrey binPath= "C:\Windows\SysWOW64\knkrgrey\ucrvigpp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3880
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description knkrgrey "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3792
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start knkrgrey2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:868
-
-
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:2872
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4512 -s 13682⤵
- Program crash
PID:1892
-
-
C:\Windows\SysWOW64\knkrgrey\ucrvigpp.exeC:\Windows\SysWOW64\knkrgrey\ucrvigpp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3860 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:384
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3860 -s 5122⤵
- Program crash
PID:4204
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4512 -ip 45121⤵PID:3136
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3860 -ip 38601⤵PID:4156
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
14.0MB
MD572f80640cf29e910dd8c4a7a97460d60
SHA1efb34fe91fe0500d337b32e4961d16ab49d1efe7
SHA256960ec1f03639ffcdd53dca59f3c4e0ef504016010a73876e9c1f7ce6a0e42fce
SHA51200c5653c864966c1223eb959e6eb7e9d60c4876e05b6f51f30806c9f8bb211b8af9f4894ead09a97a676c79c632483f473f89324474019fd7672eece366e2817