kevmap

TechniquesT1659 › AN0993

AN0993 Analytic 0993

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

<p>Detect curl/wget commands saving executable/script payloads to /tmp or /var/tmp followed by execution. Monitor packet captures or IDS/IPS alerts for injected responses or mismatched content types.</p>
Detects
T1659 Content Injection
Part of
DET0349 Detection Strategy for Content Injection

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:SYSCALLexecve: Execution of curl or wget writing files to /tmp/* followed by chmod or executionDC0064 Command Execution
WinEventLog:SysmonFile creation of suspicious scripts/binaries in temporary directoriesDC0039 File Creation
NSM:FlowInjected content responses with unexpected script/malware signaturesDC0085 Network Traffic Content

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
TempDirectoriesDirectories such as /tmp and /var/tmp where injected files are often written.