# T1547:Boot or Logon AutoStart Execution

Adversaries may configure system settings to automatically execute a program during system boot or logon to maintain persistence or gain a higher-level privileges on compromised systems. Operating systems may have a mechanism for automatically running a program on system boot or account logon. These mechanisms may include automatically executing programs that are place in specially designated directories or are referenced by repositories that store configuration information, such as the Windows Registry. And adversary may achieve the same goal by modifying or extending features of the kernel.

Since some boot or logon AutoStart programs run with higher privileges, an adversary may leverage these elevated privileges.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dmcxblue.gitbook.io/red-team-notes-2-0/red-team-techniques/privilege-escalation/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
