Windows Kernel – Introduction

The Windows kernel is the core of the Microsoft Windows operating system. It provides low‑level services such as process and thread management, memory handling, hardware abstraction, and security. Understanding the kernel is essential for driver developers, system programmers, and anyone interested in the inner workings of Windows.

Overview

The kernel is divided into two main components:

Architecture

Windows follows a layered architecture that separates user mode from kernel mode, providing stability and security.

+---------------------------------------------------+
|                User‑mode (Applications)           |
+---------------------------------------------------+
|                Win32 Subsystem (CSRSS)            |
+---------------------------------------------------+
|                Executive (Sub‑systems)            |
| +----------------+  +---------------------------+ |
| | I/O Manager    |  | Object Manager            | |
| | Memory Manager |  | Security Subsystem        | |
| +----------------+  +---------------------------+ |
+---------------------------------------------------+
|                Kernel‑mode Core (NTOSKRNL)        |
+---------------------------------------------------+
|                Hardware Abstraction Layer (HAL)   |
+---------------------------------------------------+

Key Components

Development Resources

For driver and kernel development, Microsoft provides the following tools and documentation: