Analysis
-
max time kernel
147s -
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
31-01-2025 19:54
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe
-
Size
11.4MB
-
MD5
479648eb2561691a81eb4c5a850e48a0
-
SHA1
4d3d825f85dcb0901a219add3176a686fdc6a72b
-
SHA256
b147e4cc2fce55d970a4a30890b0818c0b46cc33fd16cb0f33451d2ff50c4baf
-
SHA512
6214f07b23740e4204c3b6e9b20b5e76098a7fd4164d9491965a2427eb3817bec29e3a9642bea673b8128bd4e029d4c84b50bd099530238fab8baab21c5a4dd1
-
SSDEEP
49152:0qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:0qtYc3
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 1240 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\fphtednx\ImagePath = "C:\\Windows\\SysWOW64\\fphtednx\\ktnskjea.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-1121399784-3202166597-3503557106-1000\Control Panel\International\Geo\Nation 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe -
Deletes itself 1 IoCs
pid Process 3372 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2404 ktnskjea.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2404 set thread context of 3372 2404 ktnskjea.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3992 sc.exe 1804 sc.exe 2380 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 3052 2404 WerFault.exe 95 3264 4632 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 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ktnskjea.exe 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 cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4632 wrote to memory of 2056 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 85 PID 4632 wrote to memory of 2056 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 85 PID 4632 wrote to memory of 2056 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 85 PID 4632 wrote to memory of 2456 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 87 PID 4632 wrote to memory of 2456 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 87 PID 4632 wrote to memory of 2456 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 87 PID 4632 wrote to memory of 1804 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 89 PID 4632 wrote to memory of 1804 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 89 PID 4632 wrote to memory of 1804 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 89 PID 4632 wrote to memory of 2380 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 91 PID 4632 wrote to memory of 2380 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 91 PID 4632 wrote to memory of 2380 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 91 PID 4632 wrote to memory of 3992 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 93 PID 4632 wrote to memory of 3992 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 93 PID 4632 wrote to memory of 3992 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 93 PID 4632 wrote to memory of 1240 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 96 PID 4632 wrote to memory of 1240 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 96 PID 4632 wrote to memory of 1240 4632 2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe 96 PID 2404 wrote to memory of 3372 2404 ktnskjea.exe 100 PID 2404 wrote to memory of 3372 2404 ktnskjea.exe 100 PID 2404 wrote to memory of 3372 2404 ktnskjea.exe 100 PID 2404 wrote to memory of 3372 2404 ktnskjea.exe 100 PID 2404 wrote to memory of 3372 2404 ktnskjea.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4632 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fphtednx\2⤵
- System Location Discovery: System Language Discovery
PID:2056
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ktnskjea.exe" C:\Windows\SysWOW64\fphtednx\2⤵
- System Location Discovery: System Language Discovery
PID:2456
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create fphtednx binPath= "C:\Windows\SysWOW64\fphtednx\ktnskjea.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1804
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description fphtednx "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2380
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start fphtednx2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3992
-
-
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:1240
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4632 -s 12602⤵
- Program crash
PID:3264
-
-
C:\Windows\SysWOW64\fphtednx\ktnskjea.exeC:\Windows\SysWOW64\fphtednx\ktnskjea.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_479648eb2561691a81eb4c5a850e48a0_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2404 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3372
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2404 -s 5202⤵
- Program crash
PID:3052
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4632 -ip 46321⤵PID:3672
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2404 -ip 24041⤵PID:4548
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
11.1MB
MD50ebe86ddace953b74b0504def7312840
SHA17adf3c20f299ea73afe6ac1042965aef3dff1e99
SHA25683fbf3dd54cfb6bb10b93154e5770791815eb849d332a1bafb86a6469c08b90a
SHA512a781776729a121feaf269b8de161fdf02464d621448e97e09bef54b7e69e66e8eece32de2cd24ca347b17071e287baeb1cbbf60e7826246b727bfe5e007ee18c