Web/SQL Application Logs: SQL Error Strings Indicative of Injection Probing

Flags SQL error log messages with injection-probing syntax/quoting/UNION mismatch keywords.

FreeReviewedSigma · High · v5
Product
sql
Category
application
Author
Bjoern Kimminich (SigmaHQ), DRL 1.1
Published
2017-11-27
Updated
2026-07-31

ATT&CK techniques

Initial Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule matches application SQL error messages that commonly appear when an attacker probes for SQL injection (e.g., unterminated quotes, SQL syntax errors, and UNION-related column count mismatches). Such errors can be triggered by crafted inputs used to test whether database queries are susceptible to injection. It relies on application logs from SQL-producing systems containing the specific error text captured by the rule keywords.

Related detections9 linkedT1190 — drag to rearrange
Malicious Veeam CVE-2023-27532 Exploitation Enabling xp_cmdshell via VeeamHax (via process_creation)
Suspicious PraisonAI Unauthenticated Config Endpoint Access via Webserver
Malicious Langflow Build Public Temp RCE Access via Webserver
Suspicious PraisonAI Vulnerability Scanner User Agent via Webserver
Malicious LiteLLM Authentication SQL Injection via Web Request (via webserver)
Possible Marimo Unauthenticated Terminal WebSocket Access via Web Request (via webserver)
Possible React2Shell Next.js Prototype Pollution Exploitation via Web Request (via webserver)
Malicious Marimo Notebook Credential File Access via Shell (via process_creation)
Malicious Ingress-nginx Configuration Injection via Kubernetes Audit (via kubernetes)
Web/SQL Application Logs: SQL Error Strings Indicative of Injection Probing
Pivot detection · T1190 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.