{"id":"17769c90-230e-488b-a463-e05c08e9d48f","title":"Powershell Defender Exclusion","description":"Detects requests to exclude files, folders or processes from Antivirus scanning using PowerShell cmdlets","author":"Florian Roth (Nextron Systems)","status":"test","level":"medium","date":"2021-04-29","modified":"2022-05-12","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Possible Admin Activity","Other Cmdlets that may use the same parameters"],"references":["https://learn.microsoft.com/en-us/defender-endpoint/configure-process-opened-file-exclusions-microsoft-defender-antivirus","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md","https://twitter.com/AdamTheAnalyst/status/1483497517119590403"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_defender_exclusion.yml","source_sha256":"79e0cd5fe180cd16dda6eea0ff145c3623d9d396dfeae3d865e1a83d766ccc43","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_defender_exclusion.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Powershell Defender Exclusion\nid: 17769c90-230e-488b-a463-e05c08e9d48f\nrelated:\n    - id: c1344fa2-323b-4d2e-9176-84b4d4821c88\n      type: similar\nstatus: test\ndescription: Detects requests to exclude files, folders or processes from Antivirus scanning using PowerShell cmdlets\nreferences:\n    - https://learn.microsoft.com/en-us/defender-endpoint/configure-process-opened-file-exclusions-microsoft-defender-antivirus\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md\n    - https://twitter.com/AdamTheAnalyst/status/1483497517119590403\nauthor: Florian Roth (Nextron Systems)\ndate: 2021-04-29\nmodified: 2022-05-12\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection1:\n        CommandLine|contains:\n            - 'Add-MpPreference '\n            - 'Set-MpPreference '\n    selection2:\n        CommandLine|contains:\n            - ' -ExclusionPath '\n            - ' -ExclusionExtension '\n            - ' -ExclusionProcess '\n            - ' -ExclusionIpAddress '\n    condition: all of selection*\nfalsepositives:\n    - Possible Admin Activity\n    - Other Cmdlets that may use the same parameters\nlevel: medium\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/17769c90-230e-488b-a463-e05c08e9d48f.json","kind":"sigma"}
