PowerShell Defender Threat Severity Default Action Set to 'Allow' or 'NoAction'
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the use of PowerShell to execute the 'Set-MpPreference' cmdlet to configure Windows Defender threat severity default action to 'Allow' (value '6') or 'NoAction' (value '9').
Severity
Trouble
Rule Requirement
Criteria
Action1:
actionname = "Process started" AND (COMMANDLINE contains "Set-MpPreference" AND COMMANDLINE contains "-LowThreatDefaultAction,-ModerateThreatDefaultAction,-HighThreatDefaultAction,-SevereThreatDefaultAction,-ltdefac ,-mtdefac ,-htdefac ,-stdefac" AND COMMANDLINE contains "Allow,6,NoAction,9")
select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID
Detection
Execution Mode
realtime
Log Sources
Windows
Author
@Matt Anderson (Huntress)


