{"id":"07e3cb2c-0608-410d-be4b-1511cb1a0448","title":"Tamper Windows Defender Remove-MpPreference","description":"Detects attempts to remove Windows Defender configurations using the 'MpPreference' cmdlet","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2022-08-05","modified":"","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Legitimate PowerShell scripts"],"references":["https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/windows-10-controlled-folder-access-event-search/ba-p/2326088"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml","source_sha256":"faf0747d2510c75e863bd1266e8e377b5b4943a736e18b6c5e4f329ed36666a4","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_remove_mppreference.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Tamper Windows Defender Remove-MpPreference\nid: 07e3cb2c-0608-410d-be4b-1511cb1a0448\nrelated:\n    - id: ae2bdd58-0681-48ac-be7f-58ab4e593458\n      type: similar\nstatus: test\ndescription: Detects attempts to remove Windows Defender configurations using the 'MpPreference' cmdlet\nreferences:\n    - https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/windows-10-controlled-folder-access-event-search/ba-p/2326088\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-08-05\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    selection_remove:\n        CommandLine|contains: 'Remove-MpPreference'\n    selection_tamper:\n        CommandLine|contains:\n            - '-ControlledFolderAccessProtectedFolders '\n            - '-AttackSurfaceReductionRules_Ids '\n            - '-AttackSurfaceReductionRules_Actions '\n            - '-CheckForSignaturesBeforeRunningScan '\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate PowerShell scripts\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/07e3cb2c-0608-410d-be4b-1511cb1a0448.json","kind":"sigma"}
