← All talks

Understanding ioctl Communication with a Driver #shorts

BSides Frankfurt0:5574 viewsPublished 2026-01Watch on YouTube ↗
About this talk
Ever seen code that makes no sense? This demo clarifies ioctl communication between user mode applications and kernel-level drivers. See theory turn into practice! #bsidesfrankfurt #bsides #bsidesfra #juansacco
Show transcript [en]

Surely if you never seen this, this make no sense at all. It's like this guy is talking rubbish. But I'm going to I'm going to show you the code and then it will make more sense. Yeah. Because now it's only theory. Okay. At the end you you get into the driver and then you get the the the communication back. You get your response to the IOCL communication. And that's why I'm going to do a just a really quick quick demo. So what I'm going to show you here is a driver that I develop just choose for this presentation. Um and then I I also have so I have the driver and the user mode application and the user mode

application is is going to run on the user space and the driver is going to be running on the kernel level right and then I'm going to use all these u structure IOCTLs and stuff to communicate with that uh with that Fine.