# Linux Privilege Escalation

Congrats! You are In! :clap:

### Low privilege user?

I am here to Help!

OK we are inside a machine with low-level privileges, what can we do?

Local Recon of course! By Hand? or Automated? or with one command? :D

### Escalating Manually

I usually start by hand there are some easy tricks we can do like checking Sudo vulnerability, cron jobs, SUID binaries, NFS, local users, and capabilities.

### Escalating with Automatic Recon

LinPEAS

Read more about Linux privilege escalation here:

{% embed url="<https://hacking-linux.popdocs.net/v/privilege-escalation/>" %}

### Escalate using Metasploit

Remember Metasploit is your friend it has everything you need to escalate privileges on 80% of the machines online, learn to use it!


---

# 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://ejpt-certification.certs-study.com/ecpptv2-certified-professional-penetration-tester/methodology/linux-privilege-escalation.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.
