// MITRE ATT&CK

T1505.001 · SQL Stored Procedures

🎯 Persistence WindowsLinux Sub-technique

Sub-technique of T1505 · Server Software Component.

Adversaries may abuse SQL stored procedures to establish persistent access to systems. SQL Stored Procedures are code that can be saved and reused so that database users do not waste time rewriting frequently used SQL queries. Stored procedures can be invoked via SQL statements to the database using...

How to detect & mitigate it

Detecting SQL Stored Procedures starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.