Analysis
-
max time kernel
149s -
max time network
155s -
platform
windows10-2004_x64 -
resource
win10v2004-20240611-en -
resource tags
arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system -
submitted
01-07-2024 21:25
Static task
static1
Behavioral task
behavioral1
Sample
2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe
Resource
win10v2004-20240611-en
General
-
Target
2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe
-
Size
13.2MB
-
MD5
6715d07a7cac2eb14e9dbf43ea9817f3
-
SHA1
36c8911ad3c835d4cdea03e2263cfc6423501210
-
SHA256
24c40cf3cb1f4373c84a318ddb3a79299adad8a8a072d2ea179ebd6f127d620f
-
SHA512
cb3ffc8dc574273850a84a01a9ffb24ceb458a8e19cd3b02b5ac9806efa13824f29e364be7fe4d62725dc6e7757a8d4994a2fa51549b0a7b1444fc6a8fd4a5d0
-
SSDEEP
6144:x+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:x+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 4988 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\pemtksm\ImagePath = "C:\\Windows\\SysWOW64\\pemtksm\\tvqhyszs.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_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-200405930-3877336739-3533750831-1000\Control Panel\International\Geo\Nation 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 4824 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
tvqhyszs.exepid process 3744 tvqhyszs.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
tvqhyszs.exedescription pid process target process PID 3744 set thread context of 4824 3744 tvqhyszs.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 1844 sc.exe 2532 sc.exe 4548 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_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exetvqhyszs.exedescription pid process target process PID 4660 wrote to memory of 3544 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 3544 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 3544 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 4332 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 4332 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 4332 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe cmd.exe PID 4660 wrote to memory of 1844 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 1844 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 1844 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 2532 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 2532 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 2532 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 4548 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 4548 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 4548 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe sc.exe PID 4660 wrote to memory of 4988 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe netsh.exe PID 4660 wrote to memory of 4988 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe netsh.exe PID 4660 wrote to memory of 4988 4660 2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe netsh.exe PID 3744 wrote to memory of 4824 3744 tvqhyszs.exe svchost.exe PID 3744 wrote to memory of 4824 3744 tvqhyszs.exe svchost.exe PID 3744 wrote to memory of 4824 3744 tvqhyszs.exe svchost.exe PID 3744 wrote to memory of 4824 3744 tvqhyszs.exe svchost.exe PID 3744 wrote to memory of 4824 3744 tvqhyszs.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4660 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pemtksm\2⤵PID:3544
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvqhyszs.exe" C:\Windows\SysWOW64\pemtksm\2⤵PID:4332
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create pemtksm binPath= "C:\Windows\SysWOW64\pemtksm\tvqhyszs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:1844 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description pemtksm "wifi internet conection"2⤵
- Launches sc.exe
PID:2532 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start pemtksm2⤵
- Launches sc.exe
PID:4548 -
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:4988
-
C:\Windows\SysWOW64\pemtksm\tvqhyszs.exeC:\Windows\SysWOW64\pemtksm\tvqhyszs.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:3744 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:4824
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.9MB
MD5c28bd7bbe17ca145b4a93bc8beab8dfc
SHA1a3eeb2b1726f2b7beb876dbfa0568501535adc60
SHA256585a4414e40b913bde7fa033c72f44a940a7938f4e165ad99ba9ec36af303fc0
SHA5127a80a76c2eded11b987b65062cf4d0df3b54a5b43918adc78c1b298f72b5f872b27dbb2c501c33bc0879e50ce7d3ac62ac8510bf059fb164a7792b749d591a87