Local privilege escalation with a standalone tool
As discussed earlier, Exploit-db is a great place to get standalone tools for various vulnerabilities. The most important point to using Exploit-db is that it is a trusted source for these tools. Exploit-db is run by our friends at Offensive Security, who bring you Kali Linux. All exploits found here have been vetted to perform as expected and not do any damage that is not expected. The database is also included locally in Kali. All exploits can be found located in /usr/share/exploitdb
. Kali also includes a search tool to find your locally-stored tool. There is also a built in link to the Exploit-db website in IceWeasel.
To use the information locally on Kali to find a local privilege escalation tool, run the following command:
searchsploit "local privilege escalation"
We get a list, as seen here:
In this demonstration, we are going to use an exploit that has been used as a zero-day attack against a nation state in the past. This tool was part...