> For the complete documentation index, see [llms.txt](https://notes.dollarboysushil.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.dollarboysushil.com/linux-privilege-escalation.md).

# Linux Privilege Escalation

We assume that we now have a shell on the remote system. However, depending on how access was obtained, we may not yet have 'root' privileges. The following techniques can be used to elevate privilege

<figure><img src="https://559802299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8C3FiojCIEtxH7nox2Do%2Fuploads%2FYuSkoYh6MyRbvYVhmJ0o%2Fimage.png?alt=media&amp;token=4b099b5f-2092-4c8f-8156-fbb159fe269f" alt=""><figcaption><p>Linux Priv Esc mindmap by c0nd4</p></figcaption></figure>
