Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
02-02-2025 20:22
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe
-
Size
12.7MB
-
MD5
8b73c5f1c9a43ca5442c2ba79f3a7fcd
-
SHA1
53490003ae1d68e6c95bfa94d51c513df914db0e
-
SHA256
c406e74c52d1e76d028b7d3352702995f60fdc7f9ab17f644935286469181001
-
SHA512
fcd553453163d01964a68a2afec29d735f0ca58be680f43a535cccdff99ecb6ec383c9dc9725b7e377afeb694272b3a2635a62b71ab6a45599ac20604355d34d
-
SSDEEP
393216:MXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
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 3956 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gcpfehhv\ImagePath = "C:\\Windows\\SysWOW64\\gcpfehhv\\mzlibotd.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-1412605595-2147700071-3468511006-1000\Control Panel\International\Geo\Nation 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe -
Deletes itself 1 IoCs
pid Process 3036 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4692 mzlibotd.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4692 set thread context of 3036 4692 mzlibotd.exe 99 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3456 sc.exe 716 sc.exe 2260 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mzlibotd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_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 netsh.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2624 wrote to memory of 4972 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 86 PID 2624 wrote to memory of 4972 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 86 PID 2624 wrote to memory of 4972 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 86 PID 2624 wrote to memory of 1052 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 88 PID 2624 wrote to memory of 1052 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 88 PID 2624 wrote to memory of 1052 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 88 PID 2624 wrote to memory of 3456 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 90 PID 2624 wrote to memory of 3456 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 90 PID 2624 wrote to memory of 3456 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 90 PID 2624 wrote to memory of 716 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 92 PID 2624 wrote to memory of 716 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 92 PID 2624 wrote to memory of 716 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 92 PID 2624 wrote to memory of 2260 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 94 PID 2624 wrote to memory of 2260 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 94 PID 2624 wrote to memory of 2260 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 94 PID 2624 wrote to memory of 3956 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 97 PID 2624 wrote to memory of 3956 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 97 PID 2624 wrote to memory of 3956 2624 2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe 97 PID 4692 wrote to memory of 3036 4692 mzlibotd.exe 99 PID 4692 wrote to memory of 3036 4692 mzlibotd.exe 99 PID 4692 wrote to memory of 3036 4692 mzlibotd.exe 99 PID 4692 wrote to memory of 3036 4692 mzlibotd.exe 99 PID 4692 wrote to memory of 3036 4692 mzlibotd.exe 99
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2624 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gcpfehhv\2⤵
- System Location Discovery: System Language Discovery
PID:4972
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mzlibotd.exe" C:\Windows\SysWOW64\gcpfehhv\2⤵
- System Location Discovery: System Language Discovery
PID:1052
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gcpfehhv binPath= "C:\Windows\SysWOW64\gcpfehhv\mzlibotd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3456
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gcpfehhv "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:716
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gcpfehhv2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2260
-
-
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:3956
-
-
C:\Windows\SysWOW64\gcpfehhv\mzlibotd.exeC:\Windows\SysWOW64\gcpfehhv\mzlibotd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_8b73c5f1c9a43ca5442c2ba79f3a7fcd_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4692 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3036
-
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.0MB
MD50de195a144dcd3841d3cc7d431a5828c
SHA1edcf95501def5a45727bae869a3b5cf0bed9716e
SHA256fcdbd19eec1c7d4f545e136b9fa6e70367ffc81fdecf314539a1135f98f1167b
SHA512c394f46bce9bedae441414a56b73d473516dc3db1d0f8c0c52d6f465e4e76db0a2a6c40b124fa3e316631bc673ed957bd8ad76f23098292bed98939bcdd327ce