Files
blue-team-tools/rules/application/app_sqlinjection_errors.yml
T
Thomas Patzke 9adaf4c411 Cleanup
2017-12-07 16:21:02 +01:00

24 lines
697 B
YAML

title: Suspicious SQL Error Messages
status: experimental
description: Detects SQL error messages that indicate probing for an injection attack
author: Bjoern Kimminich
reference: http://www.sqlinjection.net/errors
logsource:
category: application
product: sql
detection:
keywords:
# Oracle
- quoted string not properly terminated
# MySQL
- You have an error in your SQL syntax
# SQL Server
- Unclosed quotation mark
# SQLite
- near "*": syntax error
- SELECTs to the left and right of UNION do not have the same number of result columns
condition: keywords
falsepositives:
- Application bugs
level: high