Techniques › T1027.004 › AN1382
AN1382 Analytic 1382
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects GCC or Clang invoked on suspicious file paths (e.g., /tmp/, ~/Downloads) with output to executable binaries, followed by execution or outbound traffic from these binaries.</p>
- Detects
- T1027.004 Compile After Delivery
- Part of
- DET0501 Detection Strategy for Compile After Delivery - Source Code to Executable Transformation
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 source | Channel | Data component |
|---|---|---|
| auditd:SYSCALL | execve | DC0032 Process Creation |
| auditd:SYSCALL | open,create | DC0039 File Creation |
| NSM:Flow | conn.log | DC0082 Network Connection Creation |
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.
| Field | Description |
|---|---|
CompilerBinaryPath | Specify path and binaries for detection (e.g., `/usr/bin/gcc`, `/opt/mingw/bin/gcc`) |
FilePermissionProfile | Match uncommon chmod behavior post-compilation (e.g., +x in `/tmp` or home directories) |