Extended Windows Memory Dump Analysis
Extended Windows Memory Dump Analysis
Using and Writing WinDbg Extensions, Database and Event Stream Processing, Visualization
About the Book
The book contains the full transcript of Software Diagnostics Services training with 16 hands-on exercises. This training course extends pattern-oriented analysis introduced in Accelerated Windows Memory Dump Analysis, Accelerated .NET Core Memory Dump Analysis, and Advanced Windows Memory Dump Analysis with Data Structures courses with:
- Surveying the current landscape of WinDbg extensions with analysis pattern mappings
- Writing WinDbg extensions in C and C++
- Connecting WinDbg to NoSQL databases
- Connecting WinDbg to streaming and log processing platforms
- Querying and visualizing WinDbg output data
Prerequisites: Working knowledge of WinDbg. Working knowledge of C or C++ is optional (required only for some exercises). Other concepts are explained when necessary.
Audience: Software developers, software maintenance engineers, escalation engineers, quality assurance engineers, security and vulnerability researchers, malware and memory forensics analysts who want to build memory analysis pipelines.
Table of Contents
About the Author 5
Introduction 7
Practice Exercises 17
Exercise ES0: Download, setup, and verify your WinDbg Preview or WinDbg installation, or Docker Debugging Tools for Windows image 21
Exercise ES1: Explore Patterns WinDbg Extension 35
Exercise ES2: Explore MEX WinDbg Extension 41
Exercise ES3: Explore DbgKit WinDbg Extension 63
Exercise ES4: Explore win32kext WinDbg Extension 105
Exercise ES5: Explore SwishDbgExt WinDbg Extension 112
Exercise ES6: Explore 0cchext WinDbg Extension 130
Exercise ES7: Explore pykd WinDbg Extension 140
Exercise EW1: Writing WinDbg Extension (WdbgExts C API) 173
Exercise EW2: Writing WinDbg Extension (DbgEng COM API) 188
Exercise EW3: Writing WinDbg Extension (ExtExtension C++ API) 202
Exercise EP1: Install Kafka Environment 218
Exercise EP2: Connect WinDbg to Kafka 221
Exercise ED1: Install MongoDB Environment 227
Exercise ED2: Connect WinDbg to MongoDB 232
Exercise EV1: Install Jupyter Notebook Environment 242
Exercise EV2: Execution Residue Visualization 251
Conclusion 267
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