Analysis
-
max time kernel
147s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
04-11-2024 22:21
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe
-
Size
12.3MB
-
MD5
b5b8baadae1b217da5ad840ba6712a03
-
SHA1
402c25bf0813af7640a96aeed48ee9ff5fcd4324
-
SHA256
7cae49537cb6924e95212c0cb4c79a9f3b86a652e085b733888052890b7ec68e
-
SHA512
7fd604b1329e8e61c904a4b7231d31e5cd06743fad8093961a06c3def34409297660525b236c28caf45cfae40f17408fe1ebc5313d80bd72a44b5fff803e7961
-
SSDEEP
49152:rVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe:rVdrl/9zG
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Processes:
svchost.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\huqddrsd = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2824 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\huqddrsd\ImagePath = "C:\\Windows\\SysWOW64\\huqddrsd\\dfaricjc.exe" svchost.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 2492 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
dfaricjc.exepid process 2744 dfaricjc.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
dfaricjc.exedescription pid process target process PID 2744 set thread context of 2492 2744 dfaricjc.exe svchost.exe -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
Processes:
sc.exesc.exesc.exepid process 2916 sc.exe 2144 sc.exe 2572 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.
Processes:
netsh.exedescription 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 -
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.
Processes:
2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.execmd.exesc.exesc.exesc.execmd.exenetsh.exedfaricjc.exesvchost.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dfaricjc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 30 IoCs
Processes:
2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exedfaricjc.exedescription pid process target process PID 2640 wrote to memory of 2788 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2788 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2788 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2788 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2192 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2192 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2192 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2192 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe cmd.exe PID 2640 wrote to memory of 2916 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2916 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2916 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2916 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2144 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2144 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2144 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2144 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2572 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2572 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2572 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2572 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe sc.exe PID 2640 wrote to memory of 2824 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe netsh.exe PID 2640 wrote to memory of 2824 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe netsh.exe PID 2640 wrote to memory of 2824 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe netsh.exe PID 2640 wrote to memory of 2824 2640 2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe netsh.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe PID 2744 wrote to memory of 2492 2744 dfaricjc.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2640 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\huqddrsd\2⤵
- System Location Discovery: System Language Discovery
PID:2788
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfaricjc.exe" C:\Windows\SysWOW64\huqddrsd\2⤵
- System Location Discovery: System Language Discovery
PID:2192
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create huqddrsd binPath= "C:\Windows\SysWOW64\huqddrsd\dfaricjc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2916
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description huqddrsd "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2144
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start huqddrsd2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2572
-
-
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:2824
-
-
C:\Windows\SysWOW64\huqddrsd\dfaricjc.exeC:\Windows\SysWOW64\huqddrsd\dfaricjc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2744 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2492
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
10.4MB
MD51140353be81778c46d85d1181dc17d8e
SHA11ef46981f33ecd84ddf87a9d5dd699569f3a40df
SHA256ce6424c8f6080b12e84697beb0471e4cca26e853a63f7379622f0d7508d88d8c
SHA51285f9bb51ff1602425905e6028a2202664d2056ade902080aabb6be8dfd2a5928154a69506beaae0f7876110c4f4b66d170d3437f6a04b80df317fd6e1c51eab4