<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx" -->

---
title: Writing a Windows Kernel Driver in an hour or two -...
description: A live-coding conference talk walking through building a Windows kernel driver from scratch in under an hour. The goal is to create a driver that bypasses...
canonical: https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026 | daily.dev
og:description: A live-coding conference talk walking through building a Windows kernel driver from scratch in under an hour. The goal is to create a driver that bypasses...
og:url: https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx
og:image: https://api.daily.dev/og/posts/XQ941FegX.png
og:image:alt: Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026

**[NDC Conferences](https://daily.dev/sources/ndc)** · 61 min read · 0 upvotes · 0 comments

## Summary

A live-coding conference talk walking through building a Windows kernel driver from scratch in under an hour. The goal is to create a driver that bypasses user-mode access restrictions on protected processes (like CSRSS) to enumerate loaded DLLs. Covers Windows driver fundamentals: kernel vs user mode, IRP (I/O Request Packets), device objects, symbolic links, dispatch routines (create/close/device control), and the WDM driver model. Demonstrates writing DriverEntry, implementing DeviceIoControl handling, using ZwOpenProcess from kernel mode to obtain unrestricted process handles, and installing/loading the driver via SC commands on a VM.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=6ZPdbHJH_2g>

## Similar posts on daily.dev

- [USB for Software Developers: an introduction to writing userspace USB drivers](https://daily.dev/posts/usb-for-software-developers-an-introduction-to-writing-userspace-usb-drivers-y5bylphzx) · Adafruit Blog · 0 upvotes · 0 comments
- [Windows 11's driver signature requirement is one of the best anti-consumer security features out there](https://daily.dev/posts/windows-11-s-driver-signature-requirement-is-one-of-the-best-anti-consumer-security-features-out-the-peze2jn3v) · XDA Developers · 0 upvotes · 0 comments
- [USB for Software Developers](https://daily.dev/posts/usb-for-software-developers-4nurp8au8) · Hacker News · 3 upvotes · 0 comments

---

Tags: [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026","url":"https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx"},"datePublished":"2026-07-23T12:02:52.656Z","dateModified":"2026-07-23T12:08:19.103Z","description":"A live-coding conference talk walking through building a Windows kernel driver from scratch in under an hour. The goal is to create a driver that bypasses...","image":"https://i.ytimg.com/vi/6ZPdbHJH_2g/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/6ZPdbHJH_2g/sddefault.jpg","isAccessibleForFree":true,"articleSection":"NDC Conferences","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"NDC Conferences","logo":"https://media.daily.dev/image/upload/s--SiIyojEj--/f_auto/v1748760369/logos/ndc","url":"https://daily.dev/sources/ndc"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/writing-a-windows-kernel-driver-in-an-hour-or-two---pavel-yosifovich---ndc-toronto-2026-xq941fegx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"c++","timeRequired":"PT61M","video":{"@type":"VideoObject","name":"Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026","description":"A live-coding conference talk walking through building a Windows kernel driver from scratch in under an hour. The goal is to create a driver that bypasses...","thumbnailUrl":"https://i.ytimg.com/vi/6ZPdbHJH_2g/sddefault.jpg","uploadDate":"2026-07-23T12:02:52.656Z","duration":"PT61M","url":"https://api.daily.dev/r/XQ941FegX","embedUrl":"https://www.youtube.com/embed/6ZPdbHJH_2g"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"NDC Conferences","item":"https://daily.dev/sources/ndc"},{"@type":"ListItem","position":3,"name":"Writing a Windows Kernel Driver in an hour or two - Pavel Yosifovich - NDC Toronto 2026"}]}
```

