EXPLORE
← Back to Explore
sigmamediumTTP

Python SQL Exceptions

Generic rule for SQL exceptions in Python according to PEP 249

MITRE ATT&CK

initial-access

Detection Query

keywords:
  - DataError
  - IntegrityError
  - ProgrammingError
  - OperationalError
condition: keywords

Author

Thomas Patzke

Created

2017-08-12

Data Sources

pythonapplication

Platforms

python

Tags

attack.initial-accessattack.t1190
Raw Content
title: Python SQL Exceptions
id: 19aefed0-ffd4-47dc-a7fc-f8b1425e84f9
status: stable
description: Generic rule for SQL exceptions in Python according to PEP 249
references:
    - https://www.python.org/dev/peps/pep-0249/#exceptions
author: Thomas Patzke
date: 2017-08-12
modified: 2020-09-01
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    category: application
    product: python
detection:
    keywords:
        - DataError
        - IntegrityError
        - ProgrammingError
        - OperationalError
    condition: keywords
falsepositives:
    - Application bugs
level: medium