{"id":"c1344fa2-323b-4d2e-9176-84b4d4821c88","title":"Windows Defender Exclusions Added - PowerShell","description":"Detects modifications to the Windows Defender configuration settings using PowerShell to add exclusions","author":"Tim Rauch, Elastic (idea)","status":"test","level":"medium","date":"2022-09-16","modified":"2022-11-26","tags":["attack.defense-impairment","attack.t1685","attack.execution","attack.t1059"],"technique_ids":["T1059","T1685"],"logsource":{"category":"ps_script","product":"windows","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://www.elastic.co/guide/en/security/current/windows-defender-exclusions-added-via-powershell.html"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_win_defender_exclusions_added.yml","source_sha256":"09201109f75762aa798a91cecf91270de0a16d3cc5afe73ff9da12ff3e999f38","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_win_defender_exclusions_added.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Windows Defender Exclusions Added - PowerShell\nid: c1344fa2-323b-4d2e-9176-84b4d4821c88\nrelated:\n    - id: 17769c90-230e-488b-a463-e05c08e9d48f\n      type: similar\nstatus: test\ndescription: Detects modifications to the Windows Defender configuration settings using PowerShell to add exclusions\nreferences:\n    - https://www.elastic.co/guide/en/security/current/windows-defender-exclusions-added-via-powershell.html\nauthor: Tim Rauch, Elastic (idea)\ndate: 2022-09-16\nmodified: 2022-11-26\ntags:\n    - attack.defense-impairment\n    - attack.t1685\n    - attack.execution\n    - attack.t1059\nlogsource:\n    category: ps_script\n    product: windows\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_args_exc:\n        ScriptBlockText|contains:\n            - ' -ExclusionPath '\n            - ' -ExclusionExtension '\n            - ' -ExclusionProcess '\n            - ' -ExclusionIpAddress '\n    selection_args_pref:\n        ScriptBlockText|contains:\n            - 'Add-MpPreference '\n            - 'Set-MpPreference '\n    condition: all of selection*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059","id":"T1059","name":"Command and Scripting Interpreter","page":"techniques/enterprise/T1059/"},{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/c1344fa2-323b-4d2e-9176-84b4d4821c88.json","kind":"sigma"}
