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.6 KB
Raw Blame
id: splunk-security-content-52b48e8b-eb6e-48b0-b8f1-73273f6b134e
name: Windows WPDBusEnum Registry Key Modification
description: This analytic is used to identify when a USB removable media device is
  attached to a Windows host. In this scenario we are querying the Endpoint Registry
  data model to look for modifications to the Windows Portable Device keys HKLM\SOFTWARE\Microsoft\Windows
  Portable Devices\Devices\ or HKLM\System\CurrentControlSet\Enum\SWD\WPDBUSENUM\
  . Adversaries and Insider Threats may use removable media devices for several malicious
  activities, including initial access, execution, and exfiltration.
severity: medium
enabled: false
tags:
  mitre:
  - T1200
  - T1025
  - T1091
  categories:
  - endpoint
references:
- https://attack.mitre.org/techniques/T1200/
- https://www.cisa.gov/news-events/news/using-caution-usb-drives
- https://www.bleepingcomputer.com/news/security/fbi-hackers-use-badusb-to-target-defense-firms-with-ransomware/
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly` min(_time) as firstTime,\
    \ max(_time) as lastTime, count FROM datamodel=Endpoint.Registry\n  WHERE Registry.registry_path\
    \ IN (\"HKLM\\\\SOFTWARE\\\\Microsoft\\\\Windows Portable Devices\\\\Devices\\\
    \\*\",\"HKLM\\\\System\\\\CurrentControlSet\\\\Enum\\\\SWD\\\\WPDBUSENUM\\\\*\"\
    )\n    AND\n    Registry.registry_value_name =\"FriendlyName\"\n    AND\n    Registry.registry_path=\"\
    *USBSTOR*\"\n  BY Registry.action Registry.dest Registry.process_guid\n     Registry.process_id\
    \ Registry.registry_hive Registry.registry_path\n     Registry.registry_key_name\
    \ Registry.registry_value_data Registry.registry_value_name\n     Registry.registry_value_type\
    \ Registry.status Registry.user\n     Registry.vendor_product\n| `drop_dm_object_name(Registry)`\n\
    | eval object_handle = registry_value_data, object_name = replace(mvindex(split(mvindex(split(registry_path,\
    \ \"??\"),1),\"&\"),2),\"PROD_\",\"\")\n| `security_content_ctime(firstTime)`\n\
    | `security_content_ctime(lastTime)`\n| `windows_wpdbusenum_registry_key_modification_filter`"
provenance:
  source: splunk/security_content
  source_id: 52b48e8b-eb6e-48b0-b8f1-73273f6b134e
  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/windows_wpdbusenum_registry_key_modification.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema