Sudo Rights Abuse
ALL : ALL
sudo -l
[sudo] password for user1:
...SNIP...
User user1 may run the following commands on ExampleServer:
(ALL : ALL) ALL
sudo su -
[sudo] password for user1:
whoami
root(ALL, !root)
Services & Internals EnumNOPASSWD
Example 1 - USER
Example 2 - USER2 - Lateral Movement

Example 3 - ROOT - tcpdump
Example 4 - Python
Python Library HijackingExample 5 - script - write permission
Example 6 - LD_PRELOADES
Shared LibrariesExample 7 - Openssl
Last updated