Techniques › T1037 › AN0312
AN0312 Analytic 0312
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detection of changes or execution of shell initialization scripts like .bashrc, .profile, or /etc/profile for persistence.</p>
- Detects
- T1037 Boot or Logon Initialization Scripts
- Part of
- DET0112 Boot or Logon Initialization Scripts Detection Strategy
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:PATH | PATH | DC0059 File Metadata |
| linux:osquery | file_events | DC0061 File Modification |
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 |
|---|---|
FilePath | Initialization script path that can differ across user and system profiles. |
UserContext | User-level vs root-level configuration. |
TimeWindow | Useful to correlate between file change and subsequent execution. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2022-41328 | Fortinet FortiOS | Mapped |
| CVE-2024-20353 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | Mapped |
| CVE-2024-20359 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | Mapped |