Detectionhightest

Tamper Windows Defender Remove-MpPreference

Detects attempts to remove Windows Defender configurations using the 'MpPreference' cmdlet

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Fri Aug 0507e3cb2c-0608-410d-be4b-1511cb1a0448windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_remove:
        CommandLine|contains: 'Remove-MpPreference'
    selection_tamper:
        CommandLine|contains:
            - '-ControlledFolderAccessProtectedFolders '
            - '-AttackSurfaceReductionRules_Ids '
            - '-AttackSurfaceReductionRules_Actions '
            - '-CheckForSignaturesBeforeRunningScan '
    condition: all of selection_*
False Positives

Legitimate PowerShell scripts

Rule Metadata
Rule ID
07e3cb2c-0608-410d-be4b-1511cb1a0448
Status
test
Level
high
Type
Detection
Created
Fri Aug 05
Path
rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml
Raw Tags
attack.defense-evasionattack.t1562.001
View on GitHub