// notes/ PrivEsc — Linux
🐧

Passwords And File Permissions SSH Keys

{% embed url="<https://swisskyrepo.github.io/InternalAllTheThings/redteam/escalation/linux-privilege-escalation/#last-edited-files" %}

#linux privilege escalation#adot8
source · oscp.adot8.com · linux-privilege-escalation/passwords-and-file-permissions_ssh-keys

SSH Keys

{% embed url="https://swisskyrepo.github.io/InternalAllTheThings/redteam/escalation/linux-privilege-escalation/#last-edited-files" %}

code
01find / -name authorized_keys 2> /dev/null Pubic Keys
02find / -name id_rsa 2> /dev/null Private Key

If a private key is found it is possible that it belongs not to another server but to a different user on the same machine

{% hint style="danger" %} If a private key is found it is possible that it belongs not to another server but to a different user on the same machine...... Maybe root?? {% endhint %}