SQL Stored Procedures (T1505.001)

View on ATT&CK

In Playbook

Associated Tactics

  • Persistence

Persistence (TA0003)

The adversary is trying to maintain their foothold. Persistence consists of techniques that adversaries use to keep access to systems across restarts, changed credentials, and other interruptions that could cut off their access. Techniques used for persistence include any access, action, or configuration changes that let them maintain their foothold on systems, such as replacing or hijacking legitimate code or adding startup code.

View on ATT&CK

Procedure Examples

Description Source(s)
Microsoft. (2017, June 19). Common Language Runtime Integration. Retrieved July 8, 2019. Microsoft CLR Integration 2017
Microsoft. (2017, March 15). xp_cmdshell (Transact-SQL). Retrieved September 9, 2019. Microsoft xp_cmdshell 2017
Plakhov, A., Sitchikhin, D. (2019, August 22). Agent 1433: remote attack on Microsoft SQL Server. Retrieved September 4, 2019. Kaspersky MSSQL Aug 2019
Sutherland, S. (2016, March 7). Maintaining Persistence via SQL Server – Part 1: Startup Stored Procedures. Retrieved September 12, 2024. NetSPI Startup Stored Procedures
Sutherland, S. (2017, July 13). Attacking SQL Server CLR Assemblies. Retrieved September 12, 2024. NetSPI SQL Server CLR