// MITRE ATT&CK

T1037.002 · Login Hook

🎯 Persistence macOS Sub-technique

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

Adversaries may use a Login Hook to establish persistence executed upon user logon. A login hook is a plist file that points to a specific script to execute with root privileges upon user logon. The plist file is located in the /Library/Preferences/com.apple.loginwindow.plist file and c...

How to detect & mitigate it

Detecting Login Hook 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.