Analysis
-
max time kernel
125s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
01-07-2024 21:16
Static task
static1
Behavioral task
behavioral1
Sample
2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe
Resource
win10v2004-20240508-en
General
-
Target
2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe
-
Size
12.3MB
-
MD5
363971fcae368f8ce07971a103a074a6
-
SHA1
b49dd18b2739ce13bcb1c5448b5a4f94ae7937e4
-
SHA256
e93b25fc2f3e98f23a875044f9aef1c511c32ce591d126f4729c7434f10eab46
-
SHA512
b218906d9faf45946714baa0dc87dc160bd26c7b169905a8b56347828e849f2e91731632c1e792425857297fe4d65dd13f9bc88a4f47ad577fb4cf102884c785
-
SSDEEP
6144:1+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:1+r1IeSXMXc7LlxWV4Ug97GZ+ej
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 3288 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\ygxvkpwl\ImagePath = "C:\\Windows\\SysWOW64\\ygxvkpwl\\vrlrxzri.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3558294865-3673844354-2255444939-1000\Control Panel\International\Geo\Nation 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 1764 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
vrlrxzri.exepid process 3896 vrlrxzri.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
vrlrxzri.exedescription pid process target process PID 3896 set thread context of 1764 3896 vrlrxzri.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 1272 sc.exe 2300 sc.exe 1088 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 -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exevrlrxzri.exedescription pid process target process PID 3172 wrote to memory of 116 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 116 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 116 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 4472 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 4472 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 4472 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe cmd.exe PID 3172 wrote to memory of 1088 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 1088 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 1088 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 1272 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 1272 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 1272 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 2300 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 2300 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 2300 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe sc.exe PID 3172 wrote to memory of 3288 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe netsh.exe PID 3172 wrote to memory of 3288 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe netsh.exe PID 3172 wrote to memory of 3288 3172 2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe netsh.exe PID 3896 wrote to memory of 1764 3896 vrlrxzri.exe svchost.exe PID 3896 wrote to memory of 1764 3896 vrlrxzri.exe svchost.exe PID 3896 wrote to memory of 1764 3896 vrlrxzri.exe svchost.exe PID 3896 wrote to memory of 1764 3896 vrlrxzri.exe svchost.exe PID 3896 wrote to memory of 1764 3896 vrlrxzri.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3172 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ygxvkpwl\2⤵PID:116
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vrlrxzri.exe" C:\Windows\SysWOW64\ygxvkpwl\2⤵PID:4472
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ygxvkpwl binPath= "C:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:1088 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ygxvkpwl "wifi internet conection"2⤵
- Launches sc.exe
PID:1272 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ygxvkpwl2⤵
- Launches sc.exe
PID:2300 -
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
PID:3288
-
C:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exeC:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:3896 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:1764
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
14.8MB
MD585fbe8cc19c82339264ef169cd2408b3
SHA124aa4209acc6164959e0e1fc320abd188be229ed
SHA256efbb4ed2545e4939616eb6e1d788121074a1258caae9ce8e1ad4225554eeae92
SHA512d8b5b6c932abd8da2d4d430f8ef7a9fb3d109661f108c7e023c31eb2372fb047e75fc132caafc6c9af987ba27dc7b3eee03908a826fc62e663d42e73f3338096