Analysis
- max time kernel
145s - max time network
144s - platform
windows10-2004_x64 - resource
win10v2004-20240704-en - resource tags
arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system - submitted
09/07/2024, 11:47
Static task
static1
Behavioral task
behavioral1
Sample
2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe
Resource
win10v2004-20240704-en
General
- Target 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe
- Size 10.3MB
- Sample240709-nx9kjssemq
- SHA256 92d6e1b4165db1deb01836a96e099495ed1f0acfc7a26083bf16a532ebcdc845
- MD5 1db98a402157b472c886344ddf6e0a21
- SHA1 ab07ed1f0464df94c2757b4b9c54dfd33fe7ee7d
- SHA512 44432589c245145288d67af531f5ac6dc36d703cade711e60fc58f495274c45b836498e3de18a840e92529015f5c09996d84934bc14443d3efcb35543e377fe2
- SSDEEP 6144:8+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:8+r1IeSXMXc7LlxWV4Ug97GZ+ej
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
tofsee
-
43.231.4.7
-
lazystax.ru
Signatures
- Creates new service(s) 2 TTPs
- Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2768 netsh.exe - Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\rarjwkmq\ImagePath = "C:\\Windows\\SysWOW64\\rarjwkmq\\qsnevpwp.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-771719357-2485960699-3367710044-1000\Control Panel\International\Geo\Nation 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe - Deletes itself 1 IoCs
pid Process 2544 svchost.exe - Executes dropped EXE 1 IoCs
pid Process 2472 qsnevpwp.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2472 set thread context of 2544 2472 qsnevpwp.exe 98 - Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4408 sc.exe 1604 sc.exe 2000 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 queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3372 wrote to memory of 892 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 85 PID 3372 wrote to memory of 892 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 85 PID 3372 wrote to memory of 892 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 85 PID 3372 wrote to memory of 1860 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 87 PID 3372 wrote to memory of 1860 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 87 PID 3372 wrote to memory of 1860 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 87 PID 3372 wrote to memory of 4408 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 89 PID 3372 wrote to memory of 4408 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 89 PID 3372 wrote to memory of 4408 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 89 PID 3372 wrote to memory of 1604 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 91 PID 3372 wrote to memory of 1604 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 91 PID 3372 wrote to memory of 1604 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 91 PID 3372 wrote to memory of 2000 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 93 PID 3372 wrote to memory of 2000 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 93 PID 3372 wrote to memory of 2000 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 93 PID 3372 wrote to memory of 2768 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 96 PID 3372 wrote to memory of 2768 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 96 PID 3372 wrote to memory of 2768 3372 2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe 96 PID 2472 wrote to memory of 2544 2472 qsnevpwp.exe 98 PID 2472 wrote to memory of 2544 2472 qsnevpwp.exe 98 PID 2472 wrote to memory of 2544 2472 qsnevpwp.exe 98 PID 2472 wrote to memory of 2544 2472 qsnevpwp.exe 98 PID 2472 wrote to memory of 2544 2472 qsnevpwp.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3372 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rarjwkmq\2⤵PID:892
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qsnevpwp.exe" C:\Windows\SysWOW64\rarjwkmq\2⤵PID:1860
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rarjwkmq binPath= "C:\Windows\SysWOW64\rarjwkmq\qsnevpwp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:4408
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rarjwkmq "wifi internet conection"2⤵
- Launches sc.exe
PID:1604
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rarjwkmq2⤵
- Launches sc.exe
PID:2000
-
-
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:2768
-
-
C:\Windows\SysWOW64\rarjwkmq\qsnevpwp.exeC:\Windows\SysWOW64\rarjwkmq\qsnevpwp.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-09_1db98a402157b472c886344ddf6e0a21_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2472 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:2544
-
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
- Path C:\Users\Admin\AppData\Local\Temp\qsnevpwp.exe
- Size 10.6MB
- SHA256 d8975d1a8d6ab7bae5bb6666f2d7e99291be407787730756f3dd9746c16caa16
- MD5 b04d5b2dfafe4371a2efcb147835368e
- SHA1 af00efe22857431d3f4a90e72f790a3de622b0fa
- SHA512 5c98738d44904206535244a2929c1ee8a1c76bb72691874afe9f74557078111ba3ab9fe500bdad57578cf65ac57a9448db173ba079ec621ce3c02809a6944f79
- SSDEEP 6144:h+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:h+r1IeSXMXc7LlxWV4Ug97GZ+ej
- MD5 SHA1 SHA512 SSDEEP