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-5eb76fe2-a869-4865-8c4c-8cff424b18b1
name: Windows SQL Server xp_cmdshell Config Change
description: This detection identifies when the xp_cmdshell configuration is modified
in SQL Server. The xp_cmdshell extended stored procedure allows execution of operating
system commands and programs from SQL Server, making it a high-risk feature commonly
abused by attackers for privilege escalation and lateral movement.
severity: medium
enabled: false
tags:
mitre:
- T1505.001
categories:
- endpoint
references:
- https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/xp-cmdshell-transact-sql
- https://attack.mitre.org/techniques/T1505/003/
- https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/xp-cmdshell-server-configuration-option
logsource:
product: splunk
detection:
splunk_spl: "`wineventlog_application` EventCode=15457\n | rex field=EventData_Xml\
\ \"<Data>(?<config_name>[^<]+)</Data><Data>(?<old_value>[^<]+)</Data><Data>(?<new_value>[^<]+)</Data>\"\
\n | rename host as dest\n | where config_name=\"xp_cmdshell\"\n | eval change_type=case(\
\ old_value=\"0\" AND new_value=\"1\", \"enabled\", old_value=\"1\" AND new_value=\"\
0\", \"disabled\", true(), \"modified\" )\n | eval risk_score=case( change_type=\"\
enabled\", 90, change_type=\"disabled\", 60, true(), 70 )\n | eval risk_message=\"\
SQL Server xp_cmdshell was \".change_type.\" on host \".dest\n | stats count\
\ min(_time) as firstTime max(_time) as lastTime\n BY dest EventCode config_name\n\
\ change_type risk_message risk_score\n | `security_content_ctime(firstTime)`\n\
\ | `security_content_ctime(lastTime)`\n | `windows_sql_server_xp_cmdshell_config_change_filter`"
provenance:
source: splunk/security_content
source_id: 5eb76fe2-a869-4865-8c4c-8cff424b18b1
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_sql_server_xp_cmdshell_config_change.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema