A loadable kernel module (lkm) taps into the internals of the core operating system, modifying its behavior. In this series we'll try to code a module that hijacks the kill() system call, disables it and replacing it with our own function. Thus making our selected process immortable, even for root.
Kernel programming is very low-level but the actual code is not as complicated as one might think. It's pretty difficult to debug and troubleshoot it though, but the code is rather easy to understand since you mostly use standard macros and functions to get things done. We will however go a little bit beyond what is standard.
After watching this series, you may put the prestigeous "Linux kernel developer" on your resumé/CV. You will learn the internals of the operating system, and get a better understanding of the Linux internals as well as many low-level kernel security features.
Exciting stuff, no? Let's get started!
#programming #linux #kernel #module #lkm
References
1. Become a channel member and get several benefits, check out:
/ @dr-jonas-birch
2. Linux kernel module programming guide
https://sysprog21.github.io/lkmpg/
3. Bruno Ciccarino Github
https://github.com/BrunoCiccarino/Lin...
00:00:00 Introduction
00:08:36 Project setup
01:05:41 Our first kernel module
01:28:19 Replacing system calls
02:58:04 SCT finding script
04:49:00 Troubleshoot
Auf dieser Seite können Sie das Online-Video Coding a Linux kernel module in C mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer dr Jonas Birch 25 April 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,034 Mal angesehen und es wurde von 419 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!