1200kmSECURITY RESEARCH

1200KM / sigma-rule

Python SQL Exceptions — Sigma Rule

Sigma rule 19aefed0-ffd4-47dc-a7fc-f8b1425e84f9. Python SQL Exceptions — Sigma Rule. Generic rule for SQL exceptions in Python according to PEP 249

Rule metadata and linked tags

Author: Thomas Patzke. Source status: stable; severity: medium. Source dates: 2017-08-12 / 2020-09-01.

{
  "category": "application",
  "product": "python"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: 68230e32393b7d7dd71ae5cf99241dc0c5949a79bcba5df33e40d04345135716

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

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

Original YAML and metadata in JSON

False positives

  • Application bugs

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.