// MITRE ATT&CK

T1037.001 · Logon Script (Windows)

🎯 Persistence Windows Sub-technique

Sub-technique of T1037 · Boot or Logon Initialization Scripts.

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.(Citation: TechNet Logon Scripts) This is done via adding a path to a script to the ...

How to detect & mitigate it

Detecting Logon Script (Windows) starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.