Let’s make it work for you 

Overview

This five-day Linux security course provides an in-depth exploration of the Linux Kernel, focusing on its internal architecture, core subsystems, and practical driver development. Learners gain both conceptual understanding and hands-on experience, developing and extending a sample character device driver while working directly with modern kernel source code.

The course examines how the Linux Kernel has evolved, highlighting architectural changes and features introduced across versions up to Linux kernel 6.17. Participants explore kernel mode versus user mode execution, process scheduling, memory management, device handling, and kernel security mechanisms. Throughout the course, learners analyse real kernel code, trace execution paths, and apply best practices for safe and portable kernel development.

Practical work forms a significant part of the learning experience, with structured exercises that reinforce theory through direct interaction with kernel subsystems and data structures. By the end of the course, learners will have the confidence to navigate kernel sources, develop device drivers, and reason about kernel behaviour from both functional and security perspectives.

Read more +

Prerequisites

To benefit fully from this course, participants should have:

  • Familiarity with user-mode programming concepts
  • An understanding of system call interfaces and POSIX standards
  • Experience with C systems programming

Target audience

This course only runs as a private cohort, and is designed for:

  • Device driver developers working with Linux-based systems
  • Security professionals analysing malware, rootkits, or kernel-level threats
  • Software engineers seeking a deeper understanding of Linux Kernel internals
  • Technical professionals responsible for low-level system integration or performance

Read more +

Learning Objectives

By the end of this course, learners will be able to:

  • Describe the architecture of the Linux Kernel and the role of its core subsystems
  • Explain the differences between user mode and kernel mode execution
  • Navigate and analyse Linux Kernel source code effectively
  • Build and deploy a fully functional Linux character device driver
  • Understand task scheduling, process management, and kernel threading
  • Explain how virtual memory is implemented and managed within the kernel
  • Interface with and trace kernel system calls
  • Use kernel debugging and tracing tools to investigate system behaviour
  • Manipulate key kernel data structures, including task_struct and notification chains
  • Apply best practices for portable, stable, and secure kernel module development
  • Understand kernel security mechanisms, including capabilities and security modules

Read more +

Course Outline

Introduction to the Linux Kernel

  • Linux architecture overview and design philosophy
  • Kernel features and version evolution from 2.6 to 6.17
  • User mode versus kernel mode execution
  • Devices in Linux and the kernel’s role in hardware abstraction
  • Task scheduler overview and I/O scheduling concepts

Debugging and tracing the kernel

  • Kernel debugging approaches and common challenges
  • System call tracing with strace and ltrace
  • Kernel tracing using tracefs and Linux event tracing
  • Kernel logging with dmesg and /proc/kmsg
  • Exploring the /proc and /sys virtual filesystems
  • Kernel module utilities and lifecycle management

Working with kernel sources

  • Navigating the Linux Kernel source tree
  • Understanding directory structure and subsystem layout
  • Using Linux Cross Reference to explore code paths
  • Compiling and cross-compiling the Linux Kernel

The Linux kernel boot process

  • Boot sequence from firmware to user space
  • BIOS and EFI boot mechanisms
  • Boot loaders and early kernel initialisation
  • Kernel startup routines and transition to user mode
  • Platform-specific considerations for Intel and ARM systems

Kernel programming survival guide

  • Best practices for kernel development
  • Writing portable and maintainable kernel modules
  • Linked lists and common kernel data structures
  • Synchronisation primitives, including atomic operations, spinlocks, and semaphores
  • Notification chains and kernel messaging
  • Using printk, /proc, and the seq_file interface

Kernel subsystems in depth

  • System call mechanisms and execution paths
  • Interrupt gates and fast system call interfaces
  • Adding and tracing system calls
  • Process and thread management
  • Task creation, scheduling policies, and run queues

Creating a basic device driver

  • Character device driver fundamentals
  • Major and minor numbers and device registration
  • udev integration and hotplug support
  • sysfs interfaces for device visibility and management

Advanced kernel topics

  • Kernel timekeeping concepts and timer mechanisms
  • Delays, wait queues, and scheduling interactions
  • Virtual memory architecture
  • Dynamic memory allocation using kmalloc and kfree
  • Slab and buddy allocators

Interrupt handling and deferred work

  • Interrupt handling in kernel mode
  • Requesting and managing IRQs
  • Writing interrupt handlers safely
  • Bottom halves, tasklets, softIRQs, and work queues

Kernel network architecture

  • Overview of the Linux networking stack
  • Network device structures and interfaces
  • Ethernet fundamentals
  • Introduction to Netfilter and packet filtering concepts

Linux kernel security

  • Linux capabilities model
  • Kernel security considerations and attack surfaces
  • Linux security modules and policy enforcement
  • Overview of SELinux and related mechanisms

Exams and assessments

There are no formal exams included in this course.
Learners are assessed through practical exercises, guided development tasks, and instructor-led review of kernel modules and code changes completed during the course.

Hands-on learning

The course is dedicated to practical, instructor-supported exercises.
Learners build and extend a Linux character device driver, work directly with kernel source code, and manipulate kernel data structures to reinforce understanding of core subsystems.
Hands-on tasks are designed to connect theory to real-world kernel development and analysis scenarios.

Read more +
Need to know

Frequently asked questions

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Let's talk

A member of the team will contact you within 4 working hours after submitting the form.

By submitting this form, you agree to QA processing your data in accordance with our Privacy Policy and Terms & Conditions. You can unsubscribe at any time by clicking the link in our emails or contacting us directly.