MITRE ATT&CKsub-technique
T1037.001 Logon Script (Windows)
- Domain
- enterprise
- Tactics
- Persistence, Privilege Escalation
- Platforms
- Windows
- Version
- 1.0
- Created
- 2020-01-10
Description
Adversaries may use Windows logon scripts automatically executed at logon initialization to establish persistence. Windows allows logon scripts to be run whenever a specific user or group of users log into a system. This is done via adding a path to a script to the HKCU\Environment\UserInitMprLogonScript Registry key.
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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1037 Boot or Logon Initialization Scripts technique
Referenced by MITRE ATT&CK · mitigates (1)
- M1024 Restrict Registry Permissions mitigation
Referenced by MITRE ATT&CK · uses (6)
Referenced by Compliance · mitigates (2)
- NIST-AC-17 Remote Access NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
References
- http://www.hexacorn.com/blog/2014/11/14/beyond-good-ol-run-key-part-18/ Hexacorn Logon Scripts
- https://technet.microsoft.com/en-us/library/cc758918(v=ws.10).aspx TechNet Logon Scripts