Techniques › T1037
T1037 Boot or Logon Initialization Scripts
persistence · privilege escalation — ESXi, Linux, macOS, Network Devices, Windows · attack.mitre.org · JSON
1
MITRE detection strategy
5
analytics
0
Sigma rules tagged attack.t1037
3
KEV CVEs mapped here
<p>Adversaries may use scripts automatically executed at boot or logon initialization to establish persistence. Initialization scripts can be used to perform administrative functions, which may often execute other programs or send information to an internal logging server. These scripts can vary based on operating system and whether applied locally or remotely.</p><p>Adversaries may use these scripts to maintain persistence on a single system. Depending on the access configuration of the logon scripts, either local credentials or an administrator account may be necessary.</p><p>An adversary may also be able to escalate their privileges since some boot or logon initialization scripts run with higher privileges.</p>
KEV CVEs mapped to this technique · CTID Mappings Explorer
| CVE | Vendor / product | Mapping type | State | Added |
|---|---|---|---|---|
| CVE-2024-20359 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | secondary impact | Mapped | 2024-04-24 |
| CVE-2024-20353 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | secondary impact | Mapped | 2024-04-24 |
| CVE-2022-41328 | Fortinet FortiOS | primary impact | Mapped | 2023-03-14 |
Detection strategy · ATT&CK Enterprise v19.2
- DET0112 Boot or Logon Initialization Scripts Detection Strategy v1.0
AN0311 WindowsMonitoring modification and execution of user or system logon scripts such as in registry Run keys or startup folders.Tunable:
TargetObjectParentProcessNameTimeWindowAN0312 LinuxDetection of changes or execution of shell initialization scripts like .bashrc, .profile, or /etc/profile for persistence.Tunable:FilePathUserContextTimeWindowAN0313 macOSMonitoring for modification and execution of login hook scripts or LaunchAgents/LaunchDaemons used for persistence.Tunable:LabelProgramArgumentsUserContextAN0314 ESXiDetection of modification to ESXi rc.local.d or rc scripts that are used to execute on boot.Tunable:ScriptNameLogSeverityAN0315 Network DevicesDetection of changes to device startup-config files that include boot scripts or scheduled execution routines.Tunable:InterfaceCommandPattern
Sigma rules · SigmaHQ da9bb07d64, tag attack.t1037
No Sigma rule carries this tag. MITRE publishes a detection strategy above, so the behaviour is specified; what is missing is public detection content. 3 actively exploited CVEs map here.