> For the complete documentation index, see [llms.txt](https://heinosass.gitbook.io/leet-sheet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://heinosass.gitbook.io/leet-sheet/post-exploitation/linux/linux-privilege-escalation/enumeration.md).

# Enumeration

## Automatic Privilege Escalation Enumeration

LinPEAS is the best enumeration script.

{% embed url="<https://github.com/carlospolop/PEASS-ng/tree/master/linPEAS>" %}

## Process Monitoring

You can use pspy to monitor cronjobs and active processes - even those which normally you wouldn’t be able to see. However it isn’t all-powerful. For example, if another user uses `ps aux` then it captures that, but it doesn’t capture `tar cf a.tar *`, for example.&#x20;

Pspy is a statically compiled binary, so you can just download it and run it.

{% embed url="<https://github.com/DominicBreuker/pspy>" %}
