Skip to content

armgit / AiSOC

Public Imported from GitHub
0

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.

2.2 KB
Raw Blame
id: splunk-security-content-ad05aae6-3b2a-4f73-af97-57bd26cee3b9
name: WMI Permanent Event Subscription - Sysmon
description: The following analytic identifies the creation of WMI permanent event
  subscriptions, which can be used to establish persistence or perform privilege escalation.
  It leverages Sysmon data, specifically EventCodes 19, 20, and 21, to detect the
  creation of WMI EventFilters, EventConsumers, and FilterToConsumerBindings. This
  activity is significant as it may indicate an attacker setting up mechanisms to
  execute code with elevated SYSTEM privileges when specific events occur. If confirmed
  malicious, this could allow the attacker to maintain persistence, escalate privileges,
  and execute arbitrary code, posing a severe threat to the environment.
severity: medium
enabled: false
tags:
  mitre:
  - T1546.003
  categories:
  - endpoint
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1546.003/T1546.003.md
- https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/
- https://github.com/trustedsec/SysmonCommunityGuide/blob/master/chapters/WMI-events.md
- https://in.security/2019/04/03/an-intro-into-abusing-and-identifying-wmi-event-subscriptions-for-persistence/
logsource:
  product: splunk
detection:
  splunk_spl: "`sysmon` EventCode=21\n  | stats count min(_time) as firstTime max(_time)\
    \ as lastTime\n    BY dest dvc object\n       object_attrs object_category object_path\n\
    \       signature signature_id src\n       status user user_id\n       vendor_product\
    \ Consumer ConsumerNoQuotes\n       Filter FilterNoQuotes\n  | `security_content_ctime(firstTime)`\n\
    \  | `security_content_ctime(lastTime)`\n  | `wmi_permanent_event_subscription___sysmon_filter`"
provenance:
  source: splunk/security_content
  source_id: ad05aae6-3b2a-4f73-af97-57bd26cee3b9
  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/wmi_permanent_event_subscription___sysmon.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema