Moving to kernel space (updated references with an eye on Security)

Source: Internet
Author: User

From: http://bbs.pediy.com/showthread.php? P = 881391 # post881391

If you develop and debug user space applications (and/or doing crash dump Analysis in user space) or specialize in user space security and you want to understand Windows Kernel dumps and device drivers better (and probably start writing your own kernel tools) or understand malware rootkits better here is the reading list I found the most valid tive over the last 7 years:

0.0. read and re-read windows internals book in parallel while reading all other books. I read all editions by the way. it will show you the big picture and useful windbg commands and techniques but you need To Read Device Driver books to fill the gaps and be confident in kernel space:

0.1. Start with the Windows 2000 Device Driver book: A Guide for programmers. This short book will show you the basics and you can start writing your drivers and kernel tools immediately.

0.2. Next read Windows NT device driver development book to publish lidate your knowledge. This book has been reprinted by OSR (I own the original New Riders Press Edition ):

0.3. don't stop here. read developing Windows NT Device Drivers: a programmer's handbook. this is the very good book explaining everything in great detail and good pictures. you will finally understand various buffering methods.

0.4. Continue with WDM drivers and Modern Presentation: programming the Microsoft Windows Driver Model. Must read even if your drivers are not WDM.

0.5. finally read developing drivers with the Windows Driver Foundation book. It also covers ETW (event tracing for Windows), windbg extensions, prefast and static Driver Verifier.

0.6. There is a forthcoming book Windows 7 device driver at the time of this writing that also covers WDF so you might want to start with #0.6 and continue with #0.5 as a reference:

Additional reading (not including DDK help which you will use anyway) can be done in parallel after finishing "Windows NT device driver development" book:

1.1. OSR nt insider articles. I have their full printed collection 1996-2006 plus all the latest issues (looks like print editions are discontinued and the new ones are only digital ):

Http://www.osronline.com/

1.2. Windows NT File System internals reprinted by OSR (I have the original O 'Reilly edition ):

1.3. Windows NT/2000 native api reference is fun to browse occasionally and indispensable if you don't have access to Windows source code:

1.4. rootkits: subverting the Windows Kernel book will show you Windows kernel from the hacker perspective. In addition you will find the overview of kernel areas not covered in other books.

1.5. the Rootkit arsenal: escape and evasion in the dark corners of the system is another excellent book that is up to date and explains kernel staff from AB initio. i'm reading it at the time of this writing and recommend it to read first or in parallel to all other books:

Of course, you must know C Language and Its idioms really well. Really Know it down to assembly language level! I'll publish other reading lists soon including reverse engineering classics. Stay tuned.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.