Accelerated Disassembly, Reconstruction and Reversing
Accelerated Disassembly, Reconstruction and Reversing
Training Course Transcript and WinDbg Practice Exercises with Memory Cell Diagrams, Second Revised Edition
About the Book
The book contains the full transcript of Software Diagnostics Services training. Learn disassembly, execution history reconstruction, and binary reversing techniques for better software diagnostics, troubleshooting, debugging, memory forensics, vulnerability and malware analysis on x64 Windows platforms. The course uses a unique and innovative pattern-oriented analysis approach to speed up the learning curve. The training consists of practical step-by-step hands-on exercises using WinDbg and memory dumps. Covered more than 25 ADDR patterns, and many concepts are illustrated with Memory Cell Diagrams. The prerequisites for this training are working knowledge of C and C++ programming languages. Operating system internals and assembly language concepts are explained when necessary. The primary audience for this training is software technical support and escalation engineers who analyze memory dumps from complex software environments and need to go deeper in their analysis of abnormal software structure and behavior. The course is also useful for software engineers, quality assurance and software maintenance engineers who debug software running on diverse computer environments, security researchers, malware and memory forensics analysts who have never used WinDbg for analysis of computer memory. The second revised edition uses the latest WinDbg Preview version, is optionally containerized, has three exercises completely redone with Windows 10 memory dumps, includes full source code projects ported to Visual Studio 2022 with corresponding additional Windows 11 process dumps, and also includes reprinted memory and trace analysis patterns and techniques from Memory Dump Analysis Anthology referenced in the book. This new edition also features ADDR pattern descriptions summarized after each exercise.
Bundles that include this book
Table of Contents
About the Author 5
Presentation Slides and Transcript 7
Practice Exercises 29
Exercise R0: Download, setup, and verify your WinDbg Preview or WinDbg installation, or Docker Debugging Tools for Windows image 34
Exercise R1 47
Exercise R2 68
Exercise R3 91
Exercise R4 105
Exercise R5 121
Exercise R6 134
Memory Cell Diagrams 163
MCD-R1 165
MCD-R2 167
MCD-R3 170
MCD-R5 174
MCD-R6 180
Source Code 183
DataTypes.cpp 185
Separate.cpp 190
CPPx64.cpp 191
Selected Q&A 197
Annotated Disassembly (JIT .NET Code) 212
Execution Residue (Unmanaged Space, User) 213
Fiber Bundle 237
Historical Information 238
Injected Symbols 239
Regular Data 241
Rough Stack Trace (Unmanaged Space) 242
Manual Stack Trace Reconstruction 246
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