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.

1.8 KB
Raw Blame
id: splunk-security-content-71bfdb13-f200-4c6c-b2c9-a2e07adf437d
name: WMI Permanent Event Subscription
description: The following analytic detects the creation of permanent event subscriptions
  using Windows Management Instrumentation (WMI). It leverages Sysmon EventID 5 data
  to identify instances where the event consumers are not the expected "NTEventLogEventConsumer."
  This activity is significant because it suggests an attacker is attempting to achieve
  persistence by running malicious scripts or binaries in response to specific system
  events. If confirmed malicious, this could lead to severe impacts such as data theft,
  ransomware deployment, or other damaging outcomes. Investigate the associated scripts
  or binaries to identify the source of the attack.
severity: medium
enabled: false
tags:
  mitre:
  - T1047
  categories:
  - endpoint
references: []
logsource:
  product: splunk
detection:
  splunk_spl: "`wmi`\nEventCode=5861\nBinding\n| rex field=Message \"Consumer =\\\
    s+(?<consumer>[^;|^$]+)\"\n| search consumer!=\"NTEventLogEventConsumer=\\\"SCM\
    \ Event Log Consumer\\\"\"\n| stats count min(_time) as firstTime\n          \
    \    max(_time) as lastTime\n  by ComputerName, consumer, Message\n| `security_content_ctime(firstTime)`\n\
    | `security_content_ctime(lastTime)`\n| rename ComputerName as dest\n| `wmi_permanent_event_subscription_filter`"
provenance:
  source: splunk/security_content
  source_id: 71bfdb13-f200-4c6c-b2c9-a2e07adf437d
  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.yml
notes:
  splunk_status: experimental
  splunk_data_source: []
  quarantine_reason: 'upstream status: experimental'