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
05-02-2025 15:59
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe
-
Size
13.3MB
-
MD5
a94221b87b1c15461a5b0171b8fc8d6c
-
SHA1
f5c1128fa4565abd48f88f5b62af5873c7d7349f
-
SHA256
888b24f166ffdd2fda3837034bcaeb062cf10761323a69973e428049a7dfb1cb
-
SHA512
9748ed77a31878ee308133f1e85786ac6ba73613566f62cf41234fbbd99ecd160a85341f402ef986f6c229b1711bfecc2310e1679f14feda24775787056c05da
-
SSDEEP
24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZq:HfotA
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 4976 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\rhihrbni\ImagePath = "C:\\Windows\\SysWOW64\\rhihrbni\\uhtqjwbl.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe -
Deletes itself 1 IoCs
pid Process 4664 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1908 uhtqjwbl.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1908 set thread context of 4664 1908 uhtqjwbl.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4832 sc.exe 812 sc.exe 1592 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 3300 220 WerFault.exe 82 528 1908 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 svchost.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language uhtqjwbl.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.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 220 wrote to memory of 1484 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 86 PID 220 wrote to memory of 1484 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 86 PID 220 wrote to memory of 1484 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 86 PID 220 wrote to memory of 3524 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 88 PID 220 wrote to memory of 3524 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 88 PID 220 wrote to memory of 3524 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 88 PID 220 wrote to memory of 1592 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 90 PID 220 wrote to memory of 1592 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 90 PID 220 wrote to memory of 1592 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 90 PID 220 wrote to memory of 4832 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 92 PID 220 wrote to memory of 4832 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 92 PID 220 wrote to memory of 4832 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 92 PID 220 wrote to memory of 812 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 94 PID 220 wrote to memory of 812 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 94 PID 220 wrote to memory of 812 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 94 PID 220 wrote to memory of 4976 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 97 PID 220 wrote to memory of 4976 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 97 PID 220 wrote to memory of 4976 220 2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe 97 PID 1908 wrote to memory of 4664 1908 uhtqjwbl.exe 102 PID 1908 wrote to memory of 4664 1908 uhtqjwbl.exe 102 PID 1908 wrote to memory of 4664 1908 uhtqjwbl.exe 102 PID 1908 wrote to memory of 4664 1908 uhtqjwbl.exe 102 PID 1908 wrote to memory of 4664 1908 uhtqjwbl.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:220 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rhihrbni\2⤵
- System Location Discovery: System Language Discovery
PID:1484
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uhtqjwbl.exe" C:\Windows\SysWOW64\rhihrbni\2⤵
- System Location Discovery: System Language Discovery
PID:3524
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rhihrbni binPath= "C:\Windows\SysWOW64\rhihrbni\uhtqjwbl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1592
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rhihrbni "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4832
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rhihrbni2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:812
-
-
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:4976
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 220 -s 6762⤵
- Program crash
PID:3300
-
-
C:\Windows\SysWOW64\rhihrbni\uhtqjwbl.exeC:\Windows\SysWOW64\rhihrbni\uhtqjwbl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_a94221b87b1c15461a5b0171b8fc8d6c_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1908 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4664
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1908 -s 5162⤵
- Program crash
PID:528
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 220 -ip 2201⤵PID:2716
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 1908 -ip 19081⤵PID:3116
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
10.3MB
MD55349a8ef8ca967bde36d9261ed712f15
SHA1cb38207ee1430bc4781a7b2f0d25c3605bea3fa2
SHA2564788a7c613284b815b02b29660d175a940ed28822171bf0b4f145404b35a8dd2
SHA5129e558a7835df822e240f690fbfacc7bf94bf94602d43419c3afa6a903d08ec2d0a7985e5537338636bf2950344b5f646cf6fc4c698b2f42b08e5c6ee6d1ec440