Analysis
-
max time kernel
148s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
20-06-2024 20:13
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe
Resource
win10v2004-20240508-en
General
-
Target
2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe
-
Size
13.9MB
-
MD5
dbe440eadee03dc056718f695dcb66e7
-
SHA1
4cb4b7dd184cb3ab34daa57cb3706e0cc4fa75cf
-
SHA256
5261edddfdea12841188800723f12edbd0e0b9d021855827ded935c29c0f36e1
-
SHA512
24cbc6e40447b2964bed072a4f4f60f9024cdada6a68200ea141c761963d694d5c58e5edc4b9aafa18c3ff4aa0353a2954a3954c2a5ea96a1038f234f65a45fd
-
SSDEEP
6144:d+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:d+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 1992 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\chwafsnp\ImagePath = "C:\\Windows\\SysWOW64\\chwafsnp\\pnuqpywn.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 4504 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
pnuqpywn.exepid process 4612 pnuqpywn.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
pnuqpywn.exedescription pid process target process PID 4612 set thread context of 4504 4612 pnuqpywn.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 3428 sc.exe 2072 sc.exe 1136 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 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 -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exepnuqpywn.exedescription pid process target process PID 4616 wrote to memory of 3056 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 3056 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 3056 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 1936 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 1936 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 1936 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe cmd.exe PID 4616 wrote to memory of 3428 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 3428 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 3428 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 2072 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 2072 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 2072 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 1136 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 1136 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 1136 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe sc.exe PID 4616 wrote to memory of 1992 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe netsh.exe PID 4616 wrote to memory of 1992 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe netsh.exe PID 4616 wrote to memory of 1992 4616 2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe netsh.exe PID 4612 wrote to memory of 4504 4612 pnuqpywn.exe svchost.exe PID 4612 wrote to memory of 4504 4612 pnuqpywn.exe svchost.exe PID 4612 wrote to memory of 4504 4612 pnuqpywn.exe svchost.exe PID 4612 wrote to memory of 4504 4612 pnuqpywn.exe svchost.exe PID 4612 wrote to memory of 4504 4612 pnuqpywn.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4616 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\chwafsnp\2⤵PID:3056
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pnuqpywn.exe" C:\Windows\SysWOW64\chwafsnp\2⤵PID:1936
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create chwafsnp binPath= "C:\Windows\SysWOW64\chwafsnp\pnuqpywn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:3428 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description chwafsnp "wifi internet conection"2⤵
- Launches sc.exe
PID:2072 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start chwafsnp2⤵
- Launches sc.exe
PID:1136 -
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:1992
-
C:\Windows\SysWOW64\chwafsnp\pnuqpywn.exeC:\Windows\SysWOW64\chwafsnp\pnuqpywn.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4612 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:4504
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.7MB
MD5aac628c29c3464d00c07a0687dc784af
SHA13ecbdd85e573faec97362e0d79aa278bbdd316ba
SHA256b6890ca4f036f3fc5642783714f57e6924a8d76a6876f99fa8d5d94630721429
SHA512e7ae29409e395e2ede972e6b2d193f7bcdfda7540b5c6c9895bf80bb4840e4b9ca274eeb5d62719ea8b398bf110ca9fe1cab86e5c50f6b577836d2fe1bded87b