Analysis
-
max time kernel
150s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28-01-2025 15:43
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe
-
Size
13.0MB
-
MD5
73fac9797acbd907ea90abc6b3daec3e
-
SHA1
e87ffea509e39d8abf5bf8b6a0a848ae2f71e225
-
SHA256
deca27efcb76e9f1367b6e1c000637e8bbece45ad54f46eb2cbf92bbaff61653
-
SHA512
5e6bca82ceaa8d506abf874244e831b623f579ba54e234408904e77e9eabf8b178d44fd149a8d428f9768165e7179ec72d53c526fa04974899f74aef72404322
-
SSDEEP
24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ6:Ofotw
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 4764 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\ijfyshsg\ImagePath = "C:\\Windows\\SysWOW64\\ijfyshsg\\iewwtihv.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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe -
Deletes itself 1 IoCs
pid Process 936 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2208 iewwtihv.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2208 set thread context of 936 2208 iewwtihv.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 464 sc.exe 4684 sc.exe 3204 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 3272 3808 WerFault.exe 81 2160 2208 WerFault.exe 92 -
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 iewwtihv.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_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 sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3808 wrote to memory of 3516 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 82 PID 3808 wrote to memory of 3516 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 82 PID 3808 wrote to memory of 3516 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 82 PID 3808 wrote to memory of 4296 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 84 PID 3808 wrote to memory of 4296 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 84 PID 3808 wrote to memory of 4296 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 84 PID 3808 wrote to memory of 4684 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 86 PID 3808 wrote to memory of 4684 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 86 PID 3808 wrote to memory of 4684 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 86 PID 3808 wrote to memory of 3204 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 88 PID 3808 wrote to memory of 3204 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 88 PID 3808 wrote to memory of 3204 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 88 PID 3808 wrote to memory of 464 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 90 PID 3808 wrote to memory of 464 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 90 PID 3808 wrote to memory of 464 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 90 PID 3808 wrote to memory of 4764 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 93 PID 3808 wrote to memory of 4764 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 93 PID 3808 wrote to memory of 4764 3808 2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe 93 PID 2208 wrote to memory of 936 2208 iewwtihv.exe 102 PID 2208 wrote to memory of 936 2208 iewwtihv.exe 102 PID 2208 wrote to memory of 936 2208 iewwtihv.exe 102 PID 2208 wrote to memory of 936 2208 iewwtihv.exe 102 PID 2208 wrote to memory of 936 2208 iewwtihv.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3808 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ijfyshsg\2⤵
- System Location Discovery: System Language Discovery
PID:3516
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iewwtihv.exe" C:\Windows\SysWOW64\ijfyshsg\2⤵
- System Location Discovery: System Language Discovery
PID:4296
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ijfyshsg binPath= "C:\Windows\SysWOW64\ijfyshsg\iewwtihv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4684
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ijfyshsg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3204
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ijfyshsg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:464
-
-
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:4764
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3808 -s 10442⤵
- Program crash
PID:3272
-
-
C:\Windows\SysWOW64\ijfyshsg\iewwtihv.exeC:\Windows\SysWOW64\ijfyshsg\iewwtihv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2208 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:936
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2208 -s 5282⤵
- Program crash
PID:2160
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3808 -ip 38081⤵PID:3456
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2208 -ip 22081⤵PID:2292
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
MD540db7ed79331fda07c83fddc1f5ed39e
SHA1aea0f7660b8b485e534a87094a3b958fedd2f1fd
SHA256f616478e1e53ba130afbe1e930d5239a15e3a40dbac07dd63cef947f6d9950bd
SHA51288c492caf766d15b88e38cae37090146967021226916502ca1eee37fc2582e6f9734aa934e84d4b3c8a778ae0df30dbf0301bfeca8edbf7f3e2624bbf73e29f1