Skip to content

Gaining root by exploiting the mmap handler of a kernel module.

Notifications You must be signed in to change notification settings

ioncodes/mmap-kernel-exploit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

mmap-kernel-exploit

Gaining root by exploiting the mmap handler of a kernel module. Maps a large region and looks for the cred structure in memory. Once found, the uids are set to elevate privileges.

How to use

Edit the device in exploit.c and compile.

gcc exploit.c -o exploit
./exploit

This will drop you into a root shell.

About

Gaining root by exploiting the mmap handler of a kernel module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages