Analysis
-
max time kernel
149s -
max time network
129s -
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:08
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe
-
Size
11.2MB
-
MD5
4395d1bbc05ca36dccb62e2484276394
-
SHA1
2528c32df15e7d76e77bf836a6c4e76511bcfa9b
-
SHA256
9fc0dbdf5dccc389e47958cb38df30d6690ee4e06e8deec63ead62ddb273776f
-
SHA512
f8b4b76eda8a1d9f1c1e6bb0b4ba7098e0183165489e97ffe980496c6bcb833cb93e39a7e0eb33dece0e3709843784be1841c987a4c5c4df042caf523a30b694
-
SSDEEP
24576:sEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:pfot
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 868 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hkfokevg\ImagePath = "C:\\Windows\\SysWOW64\\hkfokevg\\usbclhws.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe -
Deletes itself 1 IoCs
pid Process 4488 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4736 usbclhws.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4736 set thread context of 4488 4736 usbclhws.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1532 sc.exe 2452 sc.exe 2448 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 540 3108 WerFault.exe 82 2656 4736 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 2025-02-01_4395d1bbc05ca36dccb62e2484276394_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 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 usbclhws.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3108 wrote to memory of 1832 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 86 PID 3108 wrote to memory of 1832 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 86 PID 3108 wrote to memory of 1832 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 86 PID 3108 wrote to memory of 5108 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 88 PID 3108 wrote to memory of 5108 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 88 PID 3108 wrote to memory of 5108 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 88 PID 3108 wrote to memory of 1532 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 90 PID 3108 wrote to memory of 1532 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 90 PID 3108 wrote to memory of 1532 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 90 PID 3108 wrote to memory of 2452 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 92 PID 3108 wrote to memory of 2452 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 92 PID 3108 wrote to memory of 2452 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 92 PID 3108 wrote to memory of 2448 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 94 PID 3108 wrote to memory of 2448 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 94 PID 3108 wrote to memory of 2448 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 94 PID 3108 wrote to memory of 868 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 97 PID 3108 wrote to memory of 868 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 97 PID 3108 wrote to memory of 868 3108 2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe 97 PID 4736 wrote to memory of 4488 4736 usbclhws.exe 102 PID 4736 wrote to memory of 4488 4736 usbclhws.exe 102 PID 4736 wrote to memory of 4488 4736 usbclhws.exe 102 PID 4736 wrote to memory of 4488 4736 usbclhws.exe 102 PID 4736 wrote to memory of 4488 4736 usbclhws.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3108 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkfokevg\2⤵
- System Location Discovery: System Language Discovery
PID:1832
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\usbclhws.exe" C:\Windows\SysWOW64\hkfokevg\2⤵
- System Location Discovery: System Language Discovery
PID:5108
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hkfokevg binPath= "C:\Windows\SysWOW64\hkfokevg\usbclhws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1532
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hkfokevg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2452
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hkfokevg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2448
-
-
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:868
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 11962⤵
- Program crash
PID:540
-
-
C:\Windows\SysWOW64\hkfokevg\usbclhws.exeC:\Windows\SysWOW64\hkfokevg\usbclhws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4736 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4488
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4736 -s 5122⤵
- Program crash
PID:2656
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3108 -ip 31081⤵PID:4340
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4736 -ip 47361⤵PID:1196
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
13.9MB
MD565ed9b35225187447fa749b092486b93
SHA11aca980934bd0b3750fef633f267f6ca01dfcf6e
SHA25603b8efbf6647f08f730bda9796de1d2282ed4262ec078800f096188856061459
SHA51223e28a0e97bb3801a4b54fa951459e98139972e59387ea2174cdaba790939f16581737f129c6de96cdc2835526c6cdd40e5933b22090b893e13a18ea093803eb