A Startup Directory is a folder that contains programs or shortcuts launched automatically when a user signs in. Attackers abuse it for persistence by placing malicious files there, so defenders should restrict write access, review startup entries, and investigate any unexpected new or modified items.
What a startup directory does
A startup directory is a logon-time execution location, not just a storage folder. Anything placed there can run automatically when a user signs in, which makes it a common persistence path for malware and unwanted helper tools.
Because these folders are meant to trigger program launch, they sit at the boundary between convenience and control. A legitimate entry may support productivity, but an unexpected one can indicate that an attacker has arranged for code to survive reboots and user logons.
Why startup directories are attractive to attackers
Attackers like startup directories because they often execute with the user’s context without requiring a service install or administrator-approved scheduled task. That can make the technique quieter than other persistence methods and easier to blend in with normal desktop activity.
The abuse pattern is simple: gain write access, drop a shortcut or executable, and wait for the next sign-in. Even when the payload itself is simple, the persistence value is high because it helps an intrusion survive routine restarts and user logoffs.
How organisations should review exposure
Exposure is driven by who can write to the directory and whether the location is monitored. Review both the user-specific and machine-wide startup locations, then compare what is present against what your endpoint baseline expects.
Defenders should look for newly added items, renamed shortcuts, unusual file types, and entries that point to unexpected paths or network locations. A careful review is especially important after helpdesk changes, remote access use, or any indication of account compromise.
System hardening guidance from NIST Cybersecurity Framework 2.0 and the NIST SP 800-53 Rev 5 Security and Privacy Controls both support this kind of review through asset visibility, configuration control, and continuous monitoring.
Detection, response, and recovery after compromise
Detection should focus on changes, not just presence. A startup item that suddenly appears, changes target path, or references an odd parent process deserves investigation because persistence often shows up as a small file-system change before it becomes visible behaviour.
If compromise is suspected, remove the malicious entry, inspect the associated binary or shortcut target, and review the account that created it. Then look for related artefacts such as dropped files, recent logon events, and signs that the same actor established additional persistence elsewhere on the host.
For persistence hunting and attack-chain context, MITRE ATT&CK Enterprise Matrix is useful for mapping the technique to broader adversary behaviour, while CIS Benchmarks helps anchor the hardening baseline that should reduce write access and execution abuse.
Risk and Threat Considerations
Startup directories are a low-friction persistence mechanism, so even a small change can have outsized impact. If users or malware can write to the location, an attacker can maintain code execution across logons and keep a foothold active long after the initial intrusion.
Failure mechanism: the attacker gains write access to a startup path, plants a program or shortcut, and relies on normal sign-in behaviour to execute the payload automatically.
Impact: the compromise can survive reboots, support credential theft or further lateral movement, and make remediation harder because the malicious entry re-triggers on every login until it is found and removed.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | ID.AM-01 — Physical devices and systems are inventoried | Startup directories are endpoint configuration assets that must be known and reviewed. |
| Recommendation — Inventory endpoint startup locations and baseline their contents for drift. | ||
| NIST SP 800-53 Rev 5 | CM-8 — System Component Inventory | Unexpected startup entries are component changes that belong in controlled inventory. |
| CM-2 — Baseline Configuration | Startup directories are part of a host configuration baseline that should be controlled. | |
| Recommendation — Track startup entries as monitored system components and investigate unauthorized changes. Define approved startup entries in the host baseline and flag deviations promptly. | ||
| MITRE ATT&CK | T1547.001 — Registry Run Keys / Startup Folder | The term maps directly to the ATT&CK persistence technique for startup execution. |
| Recommendation — Map observed startup-folder activity to T1547.001 and hunt for related persistence. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Startup folders are a host configuration surface that should be hardened and monitored. |
| Recommendation — Harden startup locations and alert on unauthorized files or shortcuts. | ||
Practitioner Guidance
What to watch for: treat any startup item you cannot explain as a control issue, not a cosmetic one. Unapproved entries, odd file names, stale shortcuts, and links to user-writable or remote paths are all signs that the directory may be serving as persistence rather than convenience.
Governance implication: assign ownership for these folders, restrict who can change them, and make startup entries part of endpoint review and incident triage. That keeps the directory under configuration control instead of leaving persistence to chance.
Related resources from NHI Mgmt Group
- Why do Active Directory service accounts complicate zero trust programs?
- How should security teams govern Active Directory service accounts?
- What is the difference between direct access and effective access in Active Directory?
- Why do Active Directory service accounts create more risk than their labels suggest?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org