Disable Controlled Folders
Description
Prior to deploying Macaw ransomware in an organization, the adversary will disable all controlled folders, which will enable them to be encrypted once the ransomware payload is deployed.
Query · kql
DeviceProcessEvents
| where InitiatingProcessFileName =~ 'cmd.exe'
| where FileName =~ 'powershell.exe' and ProcessCommandLine has('powershell.exe -command "Set-MpPreference -EnableControlledFolderAccess Disabled"')