Analysis
-
max time kernel
145s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03-11-2024 09:50
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
-
Size
13.2MB
-
MD5
7805744de467df9742263b9b6bad88db
-
SHA1
f65a57962202de0ab0264ea1c5d5193a2f4bd349
-
SHA256
dce5b9da95d9d01aa4be5091d9cdcc52456d04f5e52385b79bc7887410eeea7e
-
SHA512
b15550cc947017eec88d2fb8ad96fed34f48fd998dca4c7f5efbc789889aefb78264908e054a35b63d47d9c3e6eb2eee2fb7e9e41bf7fb5c5af20f0a9d84298e
-
SSDEEP
196608:H3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+:H
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 2392 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\zlwnnpfs\ImagePath = "C:\\Windows\\SysWOW64\\zlwnnpfs\\gfrnscmz.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-2437139445-1151884604-3026847218-1000\Control Panel\International\Geo\Nation 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe -
Deletes itself 1 IoCs
pid Process 4764 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4760 gfrnscmz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4760 set thread context of 4764 4760 gfrnscmz.exe 103 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3648 sc.exe 1140 sc.exe 2440 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 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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language gfrnscmz.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-11-03_7805744de467df9742263b9b6bad88db_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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3036 wrote to memory of 828 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 87 PID 3036 wrote to memory of 828 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 87 PID 3036 wrote to memory of 828 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 87 PID 3036 wrote to memory of 1676 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 3036 wrote to memory of 1676 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 3036 wrote to memory of 1676 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 3036 wrote to memory of 3648 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 3036 wrote to memory of 3648 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 3036 wrote to memory of 3648 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 3036 wrote to memory of 1140 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 3036 wrote to memory of 1140 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 3036 wrote to memory of 1140 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 3036 wrote to memory of 2440 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 97 PID 3036 wrote to memory of 2440 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 97 PID 3036 wrote to memory of 2440 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 97 PID 3036 wrote to memory of 2392 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 100 PID 3036 wrote to memory of 2392 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 100 PID 3036 wrote to memory of 2392 3036 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 100 PID 4760 wrote to memory of 4764 4760 gfrnscmz.exe 103 PID 4760 wrote to memory of 4764 4760 gfrnscmz.exe 103 PID 4760 wrote to memory of 4764 4760 gfrnscmz.exe 103 PID 4760 wrote to memory of 4764 4760 gfrnscmz.exe 103 PID 4760 wrote to memory of 4764 4760 gfrnscmz.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3036 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zlwnnpfs\2⤵
- System Location Discovery: System Language Discovery
PID:828
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gfrnscmz.exe" C:\Windows\SysWOW64\zlwnnpfs\2⤵
- System Location Discovery: System Language Discovery
PID:1676
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create zlwnnpfs binPath= "C:\Windows\SysWOW64\zlwnnpfs\gfrnscmz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3648
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description zlwnnpfs "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1140
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start zlwnnpfs2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2440
-
-
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:2392
-
-
C:\Windows\SysWOW64\zlwnnpfs\gfrnscmz.exeC:\Windows\SysWOW64\zlwnnpfs\gfrnscmz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4760 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4764
-
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
14.8MB
MD5b69a02cdf8cb5a2fa6e3998cdcece91b
SHA17517b42aaefbaa734d2b360a10dfcf85596e377a
SHA2560101c3631d3cbb3c936a34333499c65d5bbbd2f796031bb8520f7579d50bbc44
SHA512cc7218ae43fd68ed86c7eef278b9b8feb386aa1e8855c968b3b125c38b5b93d6b76bf6e8b5967502d6efd1c3c8c8b8175d16f42d6b483da27068eac722ed0de2