Some code taken from other sources(others repo's, gist's), sites, courses, and so on. And some code is made and/or modified by me; :warning: note - any of this is not perfect; I make this gist to some friends which asked me for some beginner lkm dev;
Last active
February 3, 2024 19:17
-
-
Save loneicewolf/226e3e20e6041d12a63a5e833ebb0503 to your computer and use it in GitHub Desktop.
LKM Loadable Kernel Modules in Linux
Related links
My Pull Request (currently pending ..)
My 'patch-5' branch of Nisay's rootkits:
testing own reverse shell (updated - now with inputs) in this linux lkm:
Expand todo
- add dropdowns
- add footnotes
- add "copy contents" button (?)
- (reliable) related links
- scripts (to automate, build, load, unload, configure, template, structure, searchers)
- pitfalls
- notation (symbols,keywords, "emojis", colors, ..., . )
- clean up.
Expand todo: pitfalls
- includes
- using/calling wrong function/file
- reboot required/snapshot/checkpoint restore (if crashy/unstable)
- Null's, newlines,
\*
, not=0
when one should do; - order (in some cases) of functions (note - mostly in normal C usermode programming but)
Expand todo: misc
-
easy future maintainable (e.g when done with a project, generalize it, simplify it, apply best practices, etc. Document. Include "supported versions", and so on.)
-
Naming. Name things well.
-
Know when to use (and change to the better)
-
//
-
or
-
/**/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Networking - NF Hook
And some more sources;
Makefile
LKM