Add or Set Windows Defender Exclusion
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the use of Add-MpPreference or Set-MpPreference commands to include exclusions in Windows Defender
Severity
Critical
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (COMMANDLINE contains "-exclusion" AND (COMMANDLINE contains "Add-MpPreference" OR COMMANDLINE contains "Set-MpPreference")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows


