Analysis
-
max time kernel
149s -
max time network
149s -
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:41
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe
-
Size
13.8MB
-
MD5
60c5a5e092b4cf3d120e3592142e6288
-
SHA1
e72d477b6c9e5ae53501b6ff712938245d0d444b
-
SHA256
387da9f1c0db0a113e160f090cc338a0a0287185142260611399b23f0b7b3fa6
-
SHA512
a1f6092002d96ded9a11bf767dcd780945f9214e0519d323f9c703a6764fa8d51a6d78cffe066709423800c547301a856112f89723739cb4033d66adc77d2608
-
SSDEEP
393216:2XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:
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 4828 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hspeha\ImagePath = "C:\\Windows\\SysWOW64\\hspeha\\hcgyozbz.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe -
Deletes itself 1 IoCs
pid Process 2136 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3996 hcgyozbz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3996 set thread context of 2136 3996 hcgyozbz.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3948 sc.exe 552 sc.exe 4736 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 -
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 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 hcgyozbz.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1552 wrote to memory of 212 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 86 PID 1552 wrote to memory of 212 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 86 PID 1552 wrote to memory of 212 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 86 PID 1552 wrote to memory of 3680 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 88 PID 1552 wrote to memory of 3680 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 88 PID 1552 wrote to memory of 3680 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 88 PID 1552 wrote to memory of 3948 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 90 PID 1552 wrote to memory of 3948 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 90 PID 1552 wrote to memory of 3948 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 90 PID 1552 wrote to memory of 552 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 92 PID 1552 wrote to memory of 552 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 92 PID 1552 wrote to memory of 552 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 92 PID 1552 wrote to memory of 4736 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 94 PID 1552 wrote to memory of 4736 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 94 PID 1552 wrote to memory of 4736 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 94 PID 3996 wrote to memory of 2136 3996 hcgyozbz.exe 97 PID 3996 wrote to memory of 2136 3996 hcgyozbz.exe 97 PID 3996 wrote to memory of 2136 3996 hcgyozbz.exe 97 PID 3996 wrote to memory of 2136 3996 hcgyozbz.exe 97 PID 3996 wrote to memory of 2136 3996 hcgyozbz.exe 97 PID 1552 wrote to memory of 4828 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 98 PID 1552 wrote to memory of 4828 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 98 PID 1552 wrote to memory of 4828 1552 2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1552 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hspeha\2⤵
- System Location Discovery: System Language Discovery
PID:212
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\hspeha\2⤵
- System Location Discovery: System Language Discovery
PID:3680
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hspeha binPath= "C:\Windows\SysWOW64\hspeha\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3948
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hspeha "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:552
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hspeha2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4736
-
-
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:4828
-
-
C:\Windows\SysWOW64\hspeha\hcgyozbz.exeC:\Windows\SysWOW64\hspeha\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_60c5a5e092b4cf3d120e3592142e6288_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3996 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2136
-
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.4MB
MD5da5065ed36f6027815412c9f3a7fc5f5
SHA100651175ff2cae6e73d6948dad568d1fcd0b6c5d
SHA256ff4b5a6d937a950ecc3a31ad6996c3ea9252200f69c98ac00f8a5d5e19026da2
SHA512bee8412200d011039d6ea8fceb65c4871646840a5d777292341f4deda23210ea37b2628709dd531fd3e3a49787838d43dd1d0b3f60d433c6ba8bc0e0f641f4c3