T1037.004 RC Scripts
PersistencePrivilege Escalationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0237 Detection Strategy for Boot or Logon Initialization Scripts: RC Scripts
AN0658 Linux
Detection of modified or newly created /etc/rc.local or /etc/init.d scripts followed by suspicious execution during system startup.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
linux:syslogboot logs | Not mapped to Sentinel yet. |
AN0659 macOS
Detection of edits or additions to /etc/rc.common, /Library/StartupItems, or /System/Library/StartupItems and associated script execution during login or reboot.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess events | Not mapped to Sentinel yet. |
fs:fsusagefile activity | Not mapped to Sentinel yet. |
AN0660 ESXi
Detection of changes to /etc/rc.local.d/local.sh or rc.local during post-boot script execution with abnormal commands or additions.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:syslogboot logs | Not mapped to Sentinel yet. |
esxi:shelladmin command usage | Not mapped to Sentinel yet. |
AN0661 Network Devices
Detection of modified boot-time configuration scripts that persist malicious CLI commands across reboots.
| MITRE log source | In Microsoft Sentinel |
|---|---|
networkdevice:syslogstartup-config | Not mapped to Sentinel yet. |
networkdevice:syslogsystem boot logs | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.