Analysis
-
max time kernel
145s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20240221-en -
resource tags
arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system -
submitted
29-06-2024 21:19
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe
Resource
win10v2004-20240226-en
General
-
Target
2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe
-
Size
14.9MB
-
MD5
59f4267dae33e83b59d952b7d5fe31bc
-
SHA1
d1e6de12cc46bdb05943adde0c03b4b212685efb
-
SHA256
e000777678e885983bbbea7fc659bcf79c7c4ba38d548d3411a58347666dc92a
-
SHA512
927ffd0a7382a54b6561c5d2dc0b948e95498f56dfa194bec4c35f18c2af45e27ed496c884a0d3702537dc50c57fcd967cadda39464e7979e6fe7715f56ee14b
-
SSDEEP
6144:v+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:v+r1IeSXMXc7LlxWV4Ug97GZ+ej
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\rwkilhrh = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2560 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\rwkilhrh\ImagePath = "C:\\Windows\\SysWOW64\\rwkilhrh\\tnpmgcmr.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2292 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2432 tnpmgcmr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2432 set thread context of 2292 2432 tnpmgcmr.exe 39 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2572 sc.exe 2568 sc.exe 2648 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 -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2196 wrote to memory of 1700 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 28 PID 2196 wrote to memory of 1700 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 28 PID 2196 wrote to memory of 1700 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 28 PID 2196 wrote to memory of 1700 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 28 PID 2196 wrote to memory of 1676 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 30 PID 2196 wrote to memory of 1676 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 30 PID 2196 wrote to memory of 1676 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 30 PID 2196 wrote to memory of 1676 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 30 PID 2196 wrote to memory of 2568 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 32 PID 2196 wrote to memory of 2568 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 32 PID 2196 wrote to memory of 2568 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 32 PID 2196 wrote to memory of 2568 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 32 PID 2196 wrote to memory of 2648 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 34 PID 2196 wrote to memory of 2648 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 34 PID 2196 wrote to memory of 2648 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 34 PID 2196 wrote to memory of 2648 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 34 PID 2196 wrote to memory of 2572 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 36 PID 2196 wrote to memory of 2572 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 36 PID 2196 wrote to memory of 2572 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 36 PID 2196 wrote to memory of 2572 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 36 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2432 wrote to memory of 2292 2432 tnpmgcmr.exe 39 PID 2196 wrote to memory of 2560 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 40 PID 2196 wrote to memory of 2560 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 40 PID 2196 wrote to memory of 2560 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 40 PID 2196 wrote to memory of 2560 2196 2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe 40
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:2196 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwkilhrh\2⤵PID:1700
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnpmgcmr.exe" C:\Windows\SysWOW64\rwkilhrh\2⤵PID:1676
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rwkilhrh binPath= "C:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:2568
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rwkilhrh "wifi internet conection"2⤵
- Launches sc.exe
PID:2648
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rwkilhrh2⤵
- Launches sc.exe
PID:2572
-
-
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:2560
-
-
C:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exeC:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2432 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
PID:2292
-
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
13.9MB
MD5fd57fdfbd6bb96a1466c24bf49c9a63d
SHA1ae9445ed558b8d7cd89cc9e5eee33907a989c914
SHA256e507c204d9258b86f607116539efba6ea9bb8044004cdf058873677725af46b7
SHA5125bb93b9a5d175f3b8e141b51171a6f0ce209cb47825fa9584a7b0a5ee68213e5d1f279ff41480419f899b67608db45327771964eaf1792bc7459966f91a0a943