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-a7093c28-796c-4ebb-9997-e2c18b870837
name: Windows PowerView SPN Discovery
description: The following analytic detects the execution of the `Get-DomainUser`
or `Get-NetUser` PowerShell cmdlets with the `-SPN` parameter, indicating the use
of PowerView for SPN discovery. It leverages PowerShell Script Block Logging (EventCode=4104)
to identify these specific commands. This activity is significant as it suggests
an attempt to enumerate domain accounts associated with Service Principal Names
(SPNs), a common precursor to Kerberoasting attacks. If confirmed malicious, this
could allow an attacker to identify and target accounts for credential theft, potentially
leading to unauthorized access and privilege escalation within the network.
severity: medium
enabled: false
tags:
mitre:
- T1558.003
categories:
- endpoint
references:
- https://book.hacktricks.xyz/windows-hardening/active-directory-methodology/kerberoast
- https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1
- https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/t1208-kerberoasting
- https://attack.mitre.org/techniques/T1558/003
logsource:
product: splunk
detection:
splunk_spl: "`powershell` EventCode=4104 (ScriptBlockText =*Get-NetUser* OR ScriptBlockText=*Get-DomainUser*)\
\ ScriptBlockText= *-SPN*\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\
\ | `windows_powerview_spn_discovery_filter`"
provenance:
source: splunk/security_content
source_id: a7093c28-796c-4ebb-9997-e2c18b870837
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_powerview_spn_discovery.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema