Linux Privilege Escalation Methodology
Objective
- The exploitation of a vulnerability, design flaw, or configuration oversight in an operating system or application to gain unauthorized access to resources that are usually restricted from the users
- Privilege escalation depends on the specific configuration of the target system
- The kernel version, installed applications, supported programming languages, other users' passwords will affect the path to a root shell
- Rare to gain a foothold with admin access
- After gaining system administrator access, you can perform actions such as:
- Resetting passwords
- Bypassing access controls to compromise protected data
- Editing software configurations
- Enabling persistence
- Changing the privilege of existing (or new) users
- Execute any administrative command
WARNING!
If editing a writeable file, make a backup and ONLY append to the end of the file.