Session:My first kernel module: A keylogger

From 36C3 Wiki
Description Introduction to writing kernel modules
Website(s)
Type Workshop
Kids session No
Keyword(s) software, embedded, coding, security
Tags kernelhacking, keylogger, programming
Person organizing Chrysh
Language en - English
en - English
Other sessions... ... further results

(Click here to refresh this page.)

Starts at 2019/12/28 11:00
Ends at 2019/12/28 14:00
Duration 180 minutes
Location Room:Lecture room M1

In this workshop, we will learn how to write a kernel module step by step, which will function as a keylogger. We will implement a character device to communicate data to the user space as a first step, hook tty functions to listen in on data typed on the keyboard, learn about kernel fifos and other typical kernel structures.

  •  !!! Please come with a `qemu-system-x86_64` installed on your system !!!

I will provide the qcow2 image. In the best case, download it before the session: https://drive.google.com/file/d/1KLc8_2X5nbsKrCbWROvmO0Jpkoe-GWGQ/view?usp=sharing

Try starting the VM with the startup.sh provided in the zip file.

Knowledge of C coding and a general idea of how an operating systems works would be very helpful for this session.