Kernel Exploits

What is a kernel

How to privesc via kernel exploit

Enumerate

  • uname -a or cat /etc/lsb-release

  • We can then google the version we get and see if anything comes out

  • We can also use Linux exploit suggester and investigate the results

Dirty Cow

  • We can use this exploit

  • gcc -pthread cow.c -o cow -lcrypt

  • passwd should let us be root

Last updated