VDM Plugin for Visual Studio Code (Python version).
Verify the inotify mechanism (add/update/remove)Add global linked-list for interested comm_name registerComplete comm_list call in three hooked syscalls (init withcode
)Add in-kernel radix tree comm_record for inode pathname recordingAdd serialization function forstruct inode_record **
Add netlink unicast and dump callback in the moduleComplete netlink function call in the moduleComplete netlink user space library with easy APIAdd DKMS compilingReferences
- https://security.stackexchange.com/questions/210897/why-is-there-a-need-to-modify-system-call-tables-in-linux
- https://stackoverflow.com/questions/2103315/linux-kernel-system-call-hooking-example
- https://stackoverflow.com/questions/11915728/getting-user-process-pid-when-writing-linux-kernel-module
- https://uwnthesis.wordpress.com/2016/12/26/basics-of-making-a-rootkit-from-syscall-to-hook/
- https://stackoverflow.com/questions/58819136/is-it-possible-to-dump-inode-information-from-the-inotify-subsystem