Advanced Windows Memory Dump Analysis with Data Structures
Advanced Windows Memory Dump Analysis with Data Structures
Training Course Transcript and WinDbg Practice Exercises with Notes, Fourth Edition, Revised
About the Book
The full transcript of Software Diagnostics Services training course with 15 step-by-step exercises, notes, and selected questions and answers. Learn how to navigate through memory dump space and Windows data structures to diagnose, troubleshoot and debug complex software incidents. The training uses a unique and innovative pattern-oriented analysis approach to speed up the learning curve. It consists of practical step-by-step exercises using WinDbg to diagnose structural and behavioral patterns in the 64-bit kernel and complete (physical) memory dumps. Additional topics include memory search, kernel linked list navigation, practical WinDbg scripting, registry, system variables and objects, device drivers, and I/O. Prerequisites are basic and intermediate level Windows memory dump analysis: the ability to list processors, processes, threads, modules, apply symbols, walk through stack traces and raw stack data, diagnose patterns such as heap corruption, CPU spike, memory leaks, access violation, wait chains and deadlocks. If you don't feel comfortable with prerequisites then Accelerated Windows Memory Dump Analysis training book is recommended before purchasing and reading this book course. Audience: Software technical support and escalation engineers, system administrators, security researchers, reverse engineers, malware and memory forensics analysts, software developers, and quality assurance engineers. The 4th edition was fully reworked to use the latest WinDbg and now covers memory dumps from Windows 11. Three new exercises were added and the previous ones now have improved command syntax and color highlighting. This edition also includes a possibility to use a Docker WinDbg image with required symbol files instead of a local Debugging Tools for Windows installation. The current revision 4.1 uses WinDbg Preview for all exercise transcripts.
Bundles that include this book
Table of Contents
About the Author 5
Presentation Slides and Transcript 7
Practice Exercises 13
Exercise 0: Download, setup, and verify your WinDbg or WinDbg Preview installation, or Docker WinDbg image 18
Exercise C1A: Stack Trace Collection 31
Exercise C1B: WOW64 Stack Trace Reconstruction 65
Exercise C2: Memory Search 90
Exercise C3A: Linked Lists 113
Exercise C3B: Linked Lists, Additional Example 161
Exercise C4A: WinDbg Built-in Scripting 174
Exercise C4B: WinDbg JavaScript Scripting 190
Exercise C5: Registry 210
Exercise C6: Module Variables 218
Exercise C7: System Objects 223
Exercise C8: Network 232
Exercise C9: Device Drivers 244
Exercise C10: Storage and File System 261
Exercise C11: Window Messaging 267
Exercise C12: Past Behavior 275
Selected Q&A 283
Two WinDbg Scripts That Changed the World 291
Other books by this author
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them