416. A Curious Case of Inhibit System Recovery
Hello everyone!
Ransomware doesn’t always involve particularly interesting techniques, but there are exceptions. Today, we’ll look at a noteworthy example of Inhibit System Recovery (T1490).
Let’s take a closer look at Monkey Ransomware and how it attempts to prevent a compromised system from being recovered. In addition to more common techniques, such as deleting shadow copies and the local Windows Backup catalog, the malware also disables System Restore and removes existing restore points:
powershell.exe -Command "Disable-ComputerRestore -Drive C:\"
powershell.exe -Command "Get-ComputerRestorePoint | Remove-ComputerRestorePoint -RestorePointType All"
These actions are often performed immediately before or alongside the encryption process. However, attackers may also use scripts to disable recovery mechanisms before deploying the ransomware.
This creates an interesting detection opportunity: if we can catch these commands before the ransomware is deployed, we may have a last chance to prevent or limit the damage.
A simple proactive hunting hypothesis could look like this:
event_type: "processcreatewin"
AND
proc_file_path: "powershell.exe"
AND
cmdline: ("Disable-ComputerRestore" OR "Remove-ComputerRestorePoint")
See you soon!

Comments
Post a Comment