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
In questa pagina del sito puoi guardare il video online Coding a Linux kernel module in C della durata di ore minuti seconda in buona qualità , che l'utente ha caricato dr Jonas Birch 25 aprile 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,034 volte e gli è piaciuto 419 spettatori. Buona visione!