Megaproject: Coding a Linux Kernel Module in C

preview_player
Показать описание
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. Linux kernel module programming guide

2. Bruno Ciccarino Github
Рекомендации по теме
Комментарии
Автор

Your whole channel deserves more views. Great work!

VERY_TALL_MAN
Автор

Amazing video with valuable learning content! What I appreciate the most is that you guide us through the entire process—no skips, no assumptions. You openly share your thoughts, strategies, and decision-making process, which is exactly what we need. Thank you, and keep up the great work!

omarabd-wc
Автор

Sir, how did you learned such deep concepts, any advice on from where to start? I get overwhelmed from so many deep low level concepts. I know c and asm good, but still there is so much to learn.

AGS
Автор

sir you are increasing level of projects day by day..very nice

ankush.kapoor
Автор

Hey Dr. Birch, ur the reason why i started getting into C programming and i want to thank u for making these videos available to the public. Im definitely not a crazy developer just yet but I hope one day I can be a good programmer like u man, wish u the best 🙏

mr.paranormal
Автор

Thanks a lot. Your videos are high quality. Myself, I prefer learning everything from scratch and I am a big fan of cybersecurity and AI. I hope you will do more cybersecurity videos focusing on different fields in cybersecurity at low level. Cybersecurity fields I mean are malware analysis, in depth antivirus, osint, threat hunting and it would be interesting if you can teach us at low level because I believe working at low level would resolve the root cause. It also would be very interesting if yoi could teach us AI from low level like implementing machine learning algorithm in C, NLP, Computer vision, LLM, ... in C. I think these are hard contents and very few people do it but if you did, I would be very appreciated and would watch all of it. However, what you already did to the community was already awsome and I am very happy to watch your videos. Stay healthy and keep doing this great work. Thanks a lot.🎉

Tran_Quang_Dao
Автор

wow. no word to say. I get overwhelmed by the projects you do. i dont know how to progress or choose project so that i can learn deeply as i move forward with the project

maou_raizen
Автор

Thats why he is the GOAT, THE GOAT!!!

AmanKumar-jkqu
Автор

You read my mind, thanks for everything

KellenBegin
Автор

I see your next project being "How to code an entire game engine like UE5 in C in only 12 hours!" Lol❤

notaras
Автор

Let me sit down and code a kernel module while you drink your coffee - level of engineering 😮

christophjasinski
Автор

damn this is one hell of a project. will this become part of the antivirus project in the future? because i remember u mentioned at the start of that video that the project would require a loadable kernel module. Im almost done coding along with that video so was kinda curious

araara
Автор

We need a Q/A video or live. What do you think?

NoahXChange
Автор

Dr ur videos just continue to keep shocking me every time😝. Why did u stop teaching things related to finance tho? Was scrolling thru all of ur previous vids

adityag
Автор

Can you do a linux device driver next? really appreciate your videos <3

rafaeljacovmedel
Автор

Dr.j banger as usual. I have been caught up building my game but your courses are invaluable. Thanks again for all you do

mrsquiggles
Автор

Hello Dr. Jonas, i have learned many things from you. Thank you so much for you so much valuable content which is also absolutely free. I just want to ask you if we could make a wifi module in linux work independent with hotspot. I mean can we somehow make wifi and hotspot work independently just like in windows. If yes make some stuff related to it.

shahilshrestha
Автор

Hello dr, Whats the prerequisite to start working on this project?

sambhavmishra
Автор

can you give us a roadmap or a methodology on how to start Linux Kernal Dev ?

remmanemohamed
Автор

What else could we build with C alone?😊

JirayuVijjakajohn
join shbcf.ru