MITRE D3FENDdefensive technique

D3-DQSA Database Query String Analysis

Official page ↗
Tactic
Detect

Definition

Analyzing database queries to detect SQL Injection.

How it works

How it works Some implementations use software hooks to intercept function calls related to database query operations. Other implementations might intercept or collect network traffic. The database query string is then extracted and analyzed with various methods, for example: • Detecting specific administrative SQL commands • Anomalous sequences of commands when compared to a statistical baseline. • Anomalous commands for a given user role. Considerations Some capabilities sanitize queries before permitting them to be transmitted to the database. This incurs risks such altering data in an undesired way or breaking application functionality.

Related

Counters · MITRE ATT&CK (1)

  • T1190 Exploit Public-Facing Application technique

Child of · MITRE D3FEND (1)

  • D3-PA Process Analysis defensive technique

References