← Cortex XDR detections
Cortex XDR · CVE exploitation
Microsoft SQL Server: SQL Server spawned a shell or LOLBin
- Correlation
- set the rule's MITRE tactic to TA0002 and technique to T1505.001
- severity
- high
- confidence
- 75/100
- generated
- 14 Nov 2026
- Linked CVE
- CVE-2026-116930 · CVE-2026-116931 · CVE-2026-116933 · CVE-2026-116937 · CVE-2026-116938 · CVE-2026-116941 · CVE-2026-116942 · CVE-2026-116944 · CVE-2026-116945 · CVE-2026-116946 · CVE-2026-116947 · CVE-2026-118106 · CVE-2026-118112 · CVE-2026-67372 · CVE-2026-67374 · CVE-2026-67391 · CVE-2026-67632 · CVE-2026-67637 · CVE-2026-67646 · CVE-2026-88111 · CVE-2026-94511 · CVE-2026-94513
sqlservr.exe started cmd, PowerShell, a script host or a download / proxy-execution LOLBin. Not specific to one bug: it fires on code execution through the Microsoft SQL Server by any route. Attached to the 22 CVEs in this stack that skopnix reported in the last 30 days, newest CVE-2026-118112, CVE-2026-118106, CVE-2026-116947.
False-positive notes
Needs sqlservr.exe as the PARENT and one of cmd, PowerShell, pwsh, wscript, cscript, mshta, rundll32, regsvr32, certutil, bitsadmin, whoami or curl as the child. SQL Agent jobs run under sqlagent.exe and do not match. Instances that use xp_cmdshell by design will: baseline first.
References
- skopnix.com/cve/CVE-2026-118112 ↗
- skopnix.com/cve/CVE-2026-118106 ↗
- skopnix.com/cve/CVE-2026-116947 ↗
- skopnix.com/cve/CVE-2026-116946 ↗
- skopnix.com/cve/CVE-2026-116945 ↗
- skopnix.com/cve/CVE-2026-116944 ↗
- skopnix.com/cve/CVE-2026-116942 ↗
- skopnix.com/cve/CVE-2026-116941 ↗
- skopnix.com/cve/CVE-2026-116938 ↗
- skopnix.com/cve/CVE-2026-116937 ↗
- skopnix.com/cve/CVE-2026-116933 ↗
- skopnix.com/cve/CVE-2026-116931 ↗
- skopnix.com/cve/CVE-2026-116930 ↗
- skopnix.com/cve/CVE-2026-94513 ↗
- skopnix.com/cve/CVE-2026-94511 ↗
- skopnix.com/cve/CVE-2026-88111 ↗
- skopnix.com/cve/CVE-2026-67646 ↗
- skopnix.com/cve/CVE-2026-67637 ↗
- skopnix.com/cve/CVE-2026-67632 ↗
- skopnix.com/cve/CVE-2026-67391 ↗
- skopnix.com/cve/CVE-2026-67374 ↗
- skopnix.com/cve/CVE-2026-67372 ↗
dataset = xdr_data| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START| filter lowercase(actor_process_image_name) = "sqlservr.exe" and lowercase(action_process_image_name) in ("cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "certutil.exe", "bitsadmin.exe", "whoami.exe", "curl.exe")| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line, actor_process_image_name, causality_actor_process_image_name| sort desc _timeskopnix-cortex-cve-stack-mssql-sqlservr-shell-f580c1d9.xql
How to deploy on Cortex XDR
- Step 1
- Paste the XQL into Incident Response > Investigation > Query Builder > XQL Search.
- Step 2
- To alert, save it as a Correlation Rule and set the MITRE tactic and technique printed with the rule.
- Step 3
- Schedule it on the interval you hunt at; keep the fields stage for the alert's columns.
- Check
- CVE rules read PAN-OS URL logs (panw_ngfw_url_raw), which need the NGFW integration and, for HTTPS, decryption.