Analysis
-
max time kernel
148s -
max time network
127s -
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 21:26
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe
-
Size
10.2MB
-
MD5
e8749f4125656b64d35444950d07b83e
-
SHA1
b6b4996217f862d3945cf72c036884dc3cd77d39
-
SHA256
67354b31b1847a125b832183dd256f7b66ad4879a328bdccdc920d0fba5b8839
-
SHA512
5af6ad357b0e46811822aff5690418b71ff8cecc00da9e63f872396a4754099f809f23cf412cea04ba305a87bc1484baf45b3d557326d94b663d85177cc38c6a
-
SSDEEP
24576:BpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:boo
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 3508 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\akrynrf\ImagePath = "C:\\Windows\\SysWOW64\\akrynrf\\fbttqfes.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-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe -
Deletes itself 1 IoCs
pid Process 3360 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4756 fbttqfes.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4756 set thread context of 3360 4756 fbttqfes.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4460 sc.exe 380 sc.exe 3924 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 2492 2500 WerFault.exe 83 1652 4756 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language fbttqfes.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2500 wrote to memory of 2188 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 86 PID 2500 wrote to memory of 2188 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 86 PID 2500 wrote to memory of 2188 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 86 PID 2500 wrote to memory of 1904 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 88 PID 2500 wrote to memory of 1904 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 88 PID 2500 wrote to memory of 1904 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 88 PID 2500 wrote to memory of 4460 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 90 PID 2500 wrote to memory of 4460 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 90 PID 2500 wrote to memory of 4460 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 90 PID 2500 wrote to memory of 380 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 92 PID 2500 wrote to memory of 380 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 92 PID 2500 wrote to memory of 380 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 92 PID 2500 wrote to memory of 3924 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 94 PID 2500 wrote to memory of 3924 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 94 PID 2500 wrote to memory of 3924 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 94 PID 2500 wrote to memory of 3508 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 97 PID 2500 wrote to memory of 3508 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 97 PID 2500 wrote to memory of 3508 2500 2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe 97 PID 4756 wrote to memory of 3360 4756 fbttqfes.exe 102 PID 4756 wrote to memory of 3360 4756 fbttqfes.exe 102 PID 4756 wrote to memory of 3360 4756 fbttqfes.exe 102 PID 4756 wrote to memory of 3360 4756 fbttqfes.exe 102 PID 4756 wrote to memory of 3360 4756 fbttqfes.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2500 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\akrynrf\2⤵
- System Location Discovery: System Language Discovery
PID:2188
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fbttqfes.exe" C:\Windows\SysWOW64\akrynrf\2⤵
- System Location Discovery: System Language Discovery
PID:1904
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create akrynrf binPath= "C:\Windows\SysWOW64\akrynrf\fbttqfes.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4460
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description akrynrf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:380
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start akrynrf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3924
-
-
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:3508
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2500 -s 10282⤵
- Program crash
PID:2492
-
-
C:\Windows\SysWOW64\akrynrf\fbttqfes.exeC:\Windows\SysWOW64\akrynrf\fbttqfes.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_e8749f4125656b64d35444950d07b83e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4756 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3360
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4756 -s 5122⤵
- Program crash
PID:1652
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2500 -ip 25001⤵PID:5024
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4756 -ip 47561⤵PID:5072
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
MD5d1dca4137b545cb6fa5221de89f5b392
SHA10a31a33baa0f43563ee91a75df82d220750d63fd
SHA256e30dc001c43316682366ba827b5e9b83cf5e316ac06ea82b72607cc8400fd0e8
SHA512b2709c878f0ef1267c3c58b3d469640ae058aca242d2bec773e888074ee606bd585d666da37ef44d5852f4388a3a0b842abe0722859999f735886e01b1856d75