Python SQL Exceptions

Generic rule for SQL exceptions in Python according to PEP 249

Sigma rule (View on GitHub)

 1title: Python SQL Exceptions
 2id: 19aefed0-ffd4-47dc-a7fc-f8b1425e84f9
 3status: stable
 4description: Generic rule for SQL exceptions in Python according to PEP 249
 5references:
 6    - https://www.python.org/dev/peps/pep-0249/#exceptions
 7author: Thomas Patzke
 8date: 2017/08/12
 9modified: 2020/09/01
10tags:
11    - attack.initial_access
12    - attack.t1190
13logsource:
14    category: application
15    product: python
16detection:
17    keywords:
18        - DataError
19        - IntegrityError
20        - ProgrammingError
21        - OperationalError
22    condition: keywords
23falsepositives:
24    - Application bugs
25level: medium

References

Related rules

to-top