kevmap

TechniquesT1505.001 › AN0512

AN0512 Analytic 0512

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>SQL stored procedures that invoke OS-level commands via xp_cmdshell equivalent or via UDF (User-Defined Functions) mechanisms.</p>
Detects
T1505.001 SQL Stored Procedures
Part of
DET0181 Detection Strategy for SQL Stored Procedures Abuse via T1505.001

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
auditd:SYSCALLexecveDC0032 Process Creation
ApplicationLogs:SQLStored procedure creation or modification with shell invocation (e.g., system(), exec())DC0029 Script Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
CommandRegexRegex used to detect suspicious OS commands via SQL
TimeWindowWindow for correlating procedure creation and command execution