1 of 7

Laocoön

Automated Linux Privilege Escalation via Kernel Exploitation

2 of 7

Goals

  • Penetration Testing
  • Vulnhubs

3 of 7

How it Works

  • Searchsploit
  • Download exploits to target's machine
  • Run exploits and check if root

4 of 7

5 of 7

Build Process

  • Create a cohesive script from existing APIs
  • Python 3 and Bash
  • Challenges
    • Outdated software on the target machine
    • Had to figure out alternate ways to send payload through sockets
    • Could not decode base64 on the machine
    • Hex could be decoded with "echo -e <hex>| cat" on the target machine.

6 of 7

What's Next?

  • Implement automation for other privilege escalation vectors
  • Refine the search for exploits more to reduce runtime

7 of 7

Questions?