Detectionmediumstable
Python SQL Exceptions
Generic rule for SQL exceptions in Python according to PEP 249
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
pythonapplication
Productpython← raw: python
Categoryapplication← raw: application
Detection Logic
Detection Logic1 selector
detection:
keywords:
- DataError
- IntegrityError
- ProgrammingError
- OperationalError
condition: keywordsFalse Positives
Application bugs
References
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
19aefed0-ffd4-47dc-a7fc-f8b1425e84f9
Status
stable
Level
medium
Type
Detection
Created
Sat Aug 12
Modified
Tue Sep 01
Author
Path
rules/application/python/app_python_sql_exceptions.yml
Raw Tags
attack.initial-accessattack.t1190