Readme.md
May 23, 2018 · View on GitHub
代码参考:《mwri-mmap-exploitation-whitepaper-2017-09-18.pdf》
创建对应的字符设备:
Driver:
sudo mknod /dev/MWR_DEVICE c 200 0
sudo chmod 777 /dev/MWR_DEVICE
Driver-Fault:
sudo mknod /dev/MWR_DEVICE_Fault c 233 0
sudo chmod 664 /dev/MWR_DEVICE_Fault
Driver-Fault2:
sudo mknod /dev/MWR_DEVICE_Fault2 c 244 0
sudo chmod 664 /dev/MWR_DEVICE_Fault2
参考链接:
https://research.checkpoint.com/mmap-vulnerabilities-linux-kernel/
补丁地址:https://patchwork.freedesktop.org/patch/211845/
https://labs.mwrinfosecurity.com/assets/BlogFiles/mwri-mmap-exploitation-whitepaper-2017-09-18.pdf
内存映射函数remap_pfn_range学习:https://www.cnblogs.com/pengdonglin137/p/8149859.html
https://github.com/h4n9u1/Linux_Driver_mmap_Handler_Exploitation