ATT&CK Reference
Portfolio

TA0003 · PERSISTENCE

Logon Script (Windows)

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.

Detect it with

Monitor for changes to Registry values associated with Windows logon scrips, nameley HKCU\Environment\UserInitMprLogonScript . Monitor running process for actions that could be indicative of abnormal programs or executables running upon logon.

Why it matters on shift

Logon Script (Windows) is one of the concrete ways adversaries achieve persistence. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After persistence, the next tactic is usually Privilege Escalation. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeExecutionPersistenceafter →Privilege Escalation