Skip to content
skopnix
← Sigma detections

Sigma · CVE exploitation

Microsoft SQL Server: SQL Server spawned a shell or LOLBin

severity
high
confidence
75/100
generated
14 Nov 2026

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

title: 'Skopnix - Microsoft SQL Server: SQL Server spawned a shell or LOLBin'id: 74cb9485-f4e6-5e74-8992-7e5cb968c977status: experimentaldescription: '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.'references:  - https://skopnix.com/cve/CVE-2026-118112  - https://skopnix.com/cve/CVE-2026-118106  - https://skopnix.com/cve/CVE-2026-116947  - https://skopnix.com/cve/CVE-2026-116946  - https://skopnix.com/cve/CVE-2026-116945  - https://skopnix.com/cve/CVE-2026-116944  - https://skopnix.com/cve/CVE-2026-116942  - https://skopnix.com/cve/CVE-2026-116941  - https://skopnix.com/cve/CVE-2026-116938  - https://skopnix.com/cve/CVE-2026-116937  - https://skopnix.com/cve/CVE-2026-116933  - https://skopnix.com/cve/CVE-2026-116931  - https://skopnix.com/cve/CVE-2026-116930  - https://skopnix.com/cve/CVE-2026-94513  - https://skopnix.com/cve/CVE-2026-94511  - https://skopnix.com/cve/CVE-2026-88111  - https://skopnix.com/cve/CVE-2026-67646  - https://skopnix.com/cve/CVE-2026-67637  - https://skopnix.com/cve/CVE-2026-67632  - https://skopnix.com/cve/CVE-2026-67391  - https://skopnix.com/cve/CVE-2026-67374  - https://skopnix.com/cve/CVE-2026-67372author: skopnixdate: '2026-11-14'tags:  - attack.execution  - attack.t1190  - attack.t1505.001  - attack.t1059.001  - attack.t1059.003  - cve.2026-118112  - cve.2026-118106  - cve.2026-116947  - cve.2026-116946  - cve.2026-116945  - cve.2026-116944  - cve.2026-116942  - cve.2026-116941  - cve.2026-116938  - cve.2026-116937  - cve.2026-116933  - cve.2026-116931  - cve.2026-116930  - cve.2026-94513  - cve.2026-94511  - cve.2026-88111  - cve.2026-67646  - cve.2026-67637  - cve.2026-67632  - cve.2026-67391  - cve.2026-67374  - cve.2026-67372logsource:  category: process_creation  product: windowsdetection:  selection_parent:    ParentImage|endswith: \sqlservr.exe  selection_child:    Image|endswith:      - \cmd.exe      - \powershell.exe      - \pwsh.exe      - \wscript.exe      - \cscript.exe      - \mshta.exe      - \rundll32.exe      - \regsvr32.exe      - \certutil.exe      - \bitsadmin.exe      - \whoami.exe      - \curl.exe  condition: selection_parent and selection_childfalsepositives:  - Maintenance jobs that use xp_cmdshell on purpose (backups to a share, legacy ETL); baseline by instance and command linelevel: high

skopnix-sigma-cve-stack-mssql-sqlservr-shell-51c4fddb.yml

How to deploy on Sigma

Step 1
Convert for your SIEM with sigma-cli / pySigma, e.g. sigma convert -t splunk -p sysmon rule.yml.
Step 2
Run it as a hunt first: every rule ships as status experimental.
Step 3
Promote to an alert once a week of results is clean on your data.
Check
The processing pipeline must map the logsource (firewall, dns, proxy, webserver, process_creation) to your field names.