Analysis
-
max time kernel
148s -
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
31-01-2025 19:54
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe
-
Size
10.9MB
-
MD5
064ff886ce1dfae017a3a8ffd297c74d
-
SHA1
93a9531d32673ebeb3f9adc54aebe0caa6ce9ecc
-
SHA256
5f51d30f289b1a454e24a69f7b6bedbe46feac7777fb99b903edcb0e12064ff4
-
SHA512
0da174a798c099d9e03ddd4b6a015c37ae013aa18dc6c6327153fea8f9a551b8f44d7a3fd7d89ccdee1be333c68c079b1349bcfd13e5dff38b898336e493458a
-
SSDEEP
49152:/qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:/qtYc3
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 3924 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\whoenwhr\ImagePath = "C:\\Windows\\SysWOW64\\whoenwhr\\gxfdnipd.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-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe -
Deletes itself 1 IoCs
pid Process 2056 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3296 gxfdnipd.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3296 set thread context of 2056 3296 gxfdnipd.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2692 sc.exe 4696 sc.exe 748 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 4016 4424 WerFault.exe 82 3752 3296 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language gxfdnipd.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4424 wrote to memory of 4320 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 86 PID 4424 wrote to memory of 4320 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 86 PID 4424 wrote to memory of 4320 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 86 PID 4424 wrote to memory of 2228 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 88 PID 4424 wrote to memory of 2228 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 88 PID 4424 wrote to memory of 2228 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 88 PID 4424 wrote to memory of 2692 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 90 PID 4424 wrote to memory of 2692 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 90 PID 4424 wrote to memory of 2692 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 90 PID 4424 wrote to memory of 4696 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 92 PID 4424 wrote to memory of 4696 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 92 PID 4424 wrote to memory of 4696 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 92 PID 4424 wrote to memory of 748 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 94 PID 4424 wrote to memory of 748 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 94 PID 4424 wrote to memory of 748 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 94 PID 3296 wrote to memory of 2056 3296 gxfdnipd.exe 97 PID 3296 wrote to memory of 2056 3296 gxfdnipd.exe 97 PID 3296 wrote to memory of 2056 3296 gxfdnipd.exe 97 PID 3296 wrote to memory of 2056 3296 gxfdnipd.exe 97 PID 3296 wrote to memory of 2056 3296 gxfdnipd.exe 97 PID 4424 wrote to memory of 3924 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 99 PID 4424 wrote to memory of 3924 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 99 PID 4424 wrote to memory of 3924 4424 2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4424 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\whoenwhr\2⤵
- System Location Discovery: System Language Discovery
PID:4320
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gxfdnipd.exe" C:\Windows\SysWOW64\whoenwhr\2⤵
- System Location Discovery: System Language Discovery
PID:2228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create whoenwhr binPath= "C:\Windows\SysWOW64\whoenwhr\gxfdnipd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2692
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description whoenwhr "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4696
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start whoenwhr2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:748
-
-
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:3924
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4424 -s 5922⤵
- Program crash
PID:4016
-
-
C:\Windows\SysWOW64\whoenwhr\gxfdnipd.exeC:\Windows\SysWOW64\whoenwhr\gxfdnipd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3296 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2056
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3296 -s 5482⤵
- Program crash
PID:3752
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3296 -ip 32961⤵PID:2128
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4424 -ip 44241⤵PID:2296
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.7MB
MD5a54b021a8223c5a7125f46b1c75749fb
SHA173ed8ef52e45823bcc01173389ca9c9d840c81a7
SHA2567d6d2980b591cbf4e66b89610569b695d1c100336bb4e07bb894a5925884d205
SHA512ce58683aeffa229758a36fe929c0d00e917dbebade0966e5f4ad92dbb62d1cfb8c168e2dea676b080677c4da79dcb70d6d2bbb3319f12ea89b56a4aeaf3e37bf