Tamper Windows Defender Remove-MpPreference
Description
Detects attempts to remove Windows Defender configurations using the 'MpPreference' cmdlet
Query · sigma
selection_remove: CommandLine|contains: Remove-MpPreference selection_tamper: CommandLine|contains: - '-ControlledFolderAccessProtectedFolders ' - '-AttackSurfaceReductionRules_Ids ' - '-AttackSurfaceReductionRules_Actions ' - '-CheckForSignaturesBeforeRunningScan ' condition: all of selection_*
Known false positives
- Legitimate PowerShell scripts