Files
blue-team-tools/rules/application/sql/app_sqlinjection_errors.yml
T

31 lines
794 B
YAML
Raw Normal View History

2017-11-27 22:52:17 +01:00
title: Suspicious SQL Error Messages
2019-11-12 23:12:27 +01:00
id: 8a670c6d-7189-4b1c-8017-a417ca84a086
2021-11-27 11:33:14 +01:00
status: test
2017-11-27 22:52:17 +01:00
description: Detects SQL error messages that indicate probing for an injection attack
author: Bjoern Kimminich
references:
2021-11-27 11:33:14 +01:00
- http://www.sqlinjection.net/errors
date: 2017/11/27
modified: 2021/11/27
2017-11-27 22:52:17 +01:00
logsource:
2021-11-27 11:33:14 +01:00
category: application
product: sql
2017-11-27 22:52:17 +01:00
detection:
2021-11-27 11:33:14 +01:00
keywords:
2017-11-27 22:52:17 +01:00
# Oracle
2021-11-27 11:33:14 +01:00
- quoted string not properly terminated
2017-11-27 22:52:17 +01:00
# MySQL
2021-11-27 11:33:14 +01:00
- You have an error in your SQL syntax
2017-11-27 22:52:17 +01:00
# SQL Server
2021-11-27 11:33:14 +01:00
- Unclosed quotation mark
2017-11-27 22:52:17 +01:00
# SQLite
2021-11-27 11:33:14 +01:00
- 'near "*": syntax error'
- SELECTs to the left and right of UNION do not have the same number of result columns
condition: keywords
2017-11-27 22:52:17 +01:00
falsepositives:
2021-11-27 11:33:14 +01:00
- Application bugs
2017-11-27 22:52:17 +01:00
level: high
2020-09-13 22:03:04 -06:00
tags:
2021-11-27 11:33:14 +01:00
- attack.initial_access
- attack.t1190