Sigma rule: Tamper Windows Defender Remove-MpPreference

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8ebcbf29d0c3, updated 2022-08-05T00:00:00.000Z.

Rule

Title
Tamper Windows Defender Remove-MpPreference
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-08-05
File
rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
process_creation

Detection

selection_remove:
    CommandLine|contains: 'Remove-MpPreference'
selection_tamper:
    CommandLine|contains:
        - '-ControlledFolderAccessProtectedFolders '
        - '-AttackSurfaceReductionRules_Ids '
        - '-AttackSurfaceReductionRules_Actions '
        - '-CheckForSignaturesBeforeRunningScan '
condition: all of selection_*

False positives (as the rule lists them)

  • Legitimate PowerShell scripts

Tags

  • attack.defense-impairment
  • attack.t1685

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml

Sources and licences

  • SigmaHQ

    "Tamper Windows Defender Remove-MpPreference" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Tamper Windows Defender Remove-MpPreference",
entity page, dataset version ref-8ebcbf29d0c3, updated 2022-08-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/07e3cb2c-0608-410d-be4b-1511cb1a0448 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 07e3cb2c-0608-410d-be4b-1511cb1a0448, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.