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