Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-907ac95c-4dd9-11ec-ba2c-acde48001122
name: Powershell Windows Defender Exclusion Commands
description: The following analytic detects the use of PowerShell commands to add
or set Windows Defender exclusions. It leverages EventCode 4104 to identify suspicious
`Add-MpPreference` or `Set-MpPreference` commands with exclusion parameters. This
activity is significant because adversaries often use it to bypass Windows Defender,
allowing malicious code to execute without detection. If confirmed malicious, this
behavior could enable attackers to evade antivirus defenses, maintain persistence,
and execute further malicious activities undetected.
severity: medium
enabled: false
tags:
mitre:
- T1562.001
categories:
- endpoint
references:
- https://tccontre.blogspot.com/2020/01/remcos-rat-evading-windows-defender-av.html
- https://app.any.run/tasks/cf1245de-06a7-4366-8209-8e3006f2bfe5/
- https://www.microsoft.com/security/blog/2022/01/15/destructive-malware-targeting-ukrainian-organizations/
logsource:
product: splunk
detection:
splunk_spl: "`powershell` EventCode=4104 (ScriptBlockText = \"*Add-MpPreference\
\ *\" OR ScriptBlockText = \"*Set-MpPreference *\") AND ScriptBlockText = \"*-exclusion*\"\
\n | fillnull\n | stats count min(_time) as firstTime max(_time) as lastTime\n\
\ BY dest signature signature_id\n user_id vendor_product EventID\n \
\ Guid Opcode Name\n Path ProcessID ScriptBlockId\n ScriptBlockText\n\
\ | `security_content_ctime(firstTime)`\n | `security_content_ctime(lastTime)`\n\
\ | `powershell_windows_defender_exclusion_commands_filter`"
provenance:
source: splunk/security_content
source_id: 907ac95c-4dd9-11ec-ba2c-acde48001122
source_commit: 4d4c7ee
license: Apache-2.0
license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
imported_at: '2026-05-04'
imported_by: splunk_importer
upstream_path: detections/endpoint/powershell_windows_defender_exclusion_commands.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema