SlideShare a Scribd company logo
Frame 0x07
Presenter: Dmitry Vostokov
Sponsors
Debugging.TV
• Detecting corruption in executable modules
• Aliases
• Image paths
• Troubleshoting image path problems
• When we need image paths?
Topics
© 2012 DumpAnalysis.org + TraceAnalysis.org
1: kd> !chkimg -d -v nt
Searching for module with expression: nt
Unable to open image file: C:Program Files (x86)Debugging Tools for Windows
(x86)symntkrpamp.exe4549AE003a1000ntkrpamp.exe
The system cannot find the file specified.
Error for nt: Could not find image file for the module. Make sure binaries are included in the symbol path.
1: kd> .sympath
Symbol search path is: srv*
Expanded Symbol search path is: SRV*c:mss*http://msdl.microsoft.com/download/symbols
1: kd> .exepath+ SRV*c:mss*http://msdl.microsoft.com/download/symbols
Executable image search path is: SRV*c:mss*http://msdl.microsoft.com/download/symbols
Expanded Executable image search path is: srv*c:mss*http://msdl.microsoft.com/download/symbols
1: kd> !chkimg -d -v nt
[...]
Scanning section: .text
Size: 936109
Range to scan: 81801000-818e58ad
81854019 - nt!PsGetCurrentProcess
[ 64:24 ]
Total bytes compared: 936109(100%)
Number of errors: 1
[...]
Checking an Image
© 2012 DumpAnalysis.org + TraceAnalysis.org
1: kd> !for_each_module al
Alias Value
------- -------
$CurrentDumpArchiveFile
$CurrentDumpArchivePath
$CurrentDumpFile K:AWMDA-Dumps32-bitKernelMEMORY-CodeOverwrite.DMP
$CurrentDumpPath K:AWMDA-Dumps32-bitKernel
$lowrite C:UsersAdministratorAppDataLocalTempLow
$ntdllnsym
$ntdllsym
$ntdllwsym
$ntnsym nt
$ntsym nt
$ntwsym
$tmpwrite C:UsersADMINI~1AppDataLocalTemp
@#Base 80200000
@#Checksum 0000a38f
@#End 8020a000
@#FileDescription
@#FileVersion
@#Flags 00000004
@#ImageName SystemRootsystem32DRIVERSBATTC.SYS
@#ImageNameSize 00000027
@#LoadedImageName
@#LoadedImageNameSize 00000001
@#MappedImageName
@#MappedImageNameSize 00000001
@#ModuleIndex 00
@#ModuleName BATTC
@#ModuleNameSize 00000006
@#ProductVersion
@#Size 0000a000
@#SymbolFileName BATTC.SYS
@#SymbolFileNameSize 0000000a
@#SymbolType 5
@#TimeDateStamp 4549adb4
[...]
Aliases
© 2012 DumpAnalysis.org + TraceAnalysis.org
1: kd> !for_each_module -d -v @#ModuleName
[...]
Searching for module with expression: nt
Will apply relocation fixups to file used for comparison
Will ignore NOP/LOCK errors
Will ignore patched instructions
Image specific ignores will be applied
Comparison image path: C:Program Files (x86)Debugging Tools for Windows (x86)symntkrpamp.exe4549AE003a1000ntkrpamp.exe
No range specified
Scanning section: .text
Size: 936109
Range to scan: 81801000-818e58ad
81854019 - nt!PsGetCurrentProcess
[ 64:24 ]
Total bytes compared: 936109(100%)
Number of errors: 1
[...]
Checking All Modules
© 2012 DumpAnalysis.org + TraceAnalysis.org
.exepath
!for_each_module
al
Commands and Aliases
© 2012 DumpAnalysis.org + TraceAnalysis.org
!chkimg
@#ModuleName
.sympath
!Ad Hardcore Technical Support Training
© 2012 DumpAnalysis.org + TraceAnalysis.org
Advanced Windows Memory Dump Analysis
Accelerated Windows Memory Dump AnalysisApril 11-16, 2012:
April 20-23, 2012:
Training Schedule
Accelerated Software Trace AnalysisApril 27-30, 2012:
Accelerated Mac OS X Core Dump AnalysisForthcoming:
Debugging.TV

More Related Content

PPTX
Memory Dump
PDF
Accelerated Windows Malware Analysis with Memory Dumps
PDF
Accelerated Windows Memory Dump Analysis
PDF
Accelerated Windows Debugging 3 training public slides
PPTX
Driver Debugging Basics
PPTX
SVR302_Pearson Windows crash dump analysis
PDF
Accelerated .NET Memory Dump Analysis training public slides
PDF
CNIT 126: 10: Kernel Debugging with WinDbg
Memory Dump
Accelerated Windows Malware Analysis with Memory Dumps
Accelerated Windows Memory Dump Analysis
Accelerated Windows Debugging 3 training public slides
Driver Debugging Basics
SVR302_Pearson Windows crash dump analysis
Accelerated .NET Memory Dump Analysis training public slides
CNIT 126: 10: Kernel Debugging with WinDbg

More from Dmitry Vostokov (20)

PDF
Debugging TV Frame 0x1C
PDF
Debugging TV Frame 0x1A
PDF
Debugging TV Frame 0x34
PDF
Debugging TV Frame 0x33
PDF
Debugging TV Frame 0x31
PDF
Debugging TV Frame 0x25
PDF
Debugging TV Frame 0x24
PDF
Debugging TV Frame 0x21
PDF
Debugging TV Frame 0x20
PDF
Debugging TV Frame 0x19
PDF
Debugging TV Frame 0x18
PDF
Debugging TV Frame 0x17
PDF
Debugging TV Frame 0x16
PDF
Debugging TV Frame 0x15
PDF
Debugging TV Frame 0x14
PDF
Debugging TV Frame 0x13
PDF
Debugging TV Frame 0x12
PDF
Debugging TV Frame 0x11
PDF
Debugging TV Frame 0x10
PDF
Debugging TV Frame 0x0F
Debugging TV Frame 0x1C
Debugging TV Frame 0x1A
Debugging TV Frame 0x34
Debugging TV Frame 0x33
Debugging TV Frame 0x31
Debugging TV Frame 0x25
Debugging TV Frame 0x24
Debugging TV Frame 0x21
Debugging TV Frame 0x20
Debugging TV Frame 0x19
Debugging TV Frame 0x18
Debugging TV Frame 0x17
Debugging TV Frame 0x16
Debugging TV Frame 0x15
Debugging TV Frame 0x14
Debugging TV Frame 0x13
Debugging TV Frame 0x12
Debugging TV Frame 0x11
Debugging TV Frame 0x10
Debugging TV Frame 0x0F
Ad

Recently uploaded (20)

PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
Digital Systems & Binary Numbers (comprehensive )
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Operating system designcfffgfgggggggvggggggggg
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PTS Company Brochure 2025 (1).pdf.......
Reimagine Home Health with the Power of Agentic AI​
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Odoo POS Development Services by CandidRoot Solutions
Understanding Forklifts - TECH EHS Solution
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Softaken Excel to vCard Converter Software.pdf
Digital Strategies for Manufacturing Companies
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
Ad

Debugging TV Frame 0x07

  • 1. Frame 0x07 Presenter: Dmitry Vostokov Sponsors Debugging.TV
  • 2. • Detecting corruption in executable modules • Aliases • Image paths • Troubleshoting image path problems • When we need image paths? Topics © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 3. 1: kd> !chkimg -d -v nt Searching for module with expression: nt Unable to open image file: C:Program Files (x86)Debugging Tools for Windows (x86)symntkrpamp.exe4549AE003a1000ntkrpamp.exe The system cannot find the file specified. Error for nt: Could not find image file for the module. Make sure binaries are included in the symbol path. 1: kd> .sympath Symbol search path is: srv* Expanded Symbol search path is: SRV*c:mss*http://msdl.microsoft.com/download/symbols 1: kd> .exepath+ SRV*c:mss*http://msdl.microsoft.com/download/symbols Executable image search path is: SRV*c:mss*http://msdl.microsoft.com/download/symbols Expanded Executable image search path is: srv*c:mss*http://msdl.microsoft.com/download/symbols 1: kd> !chkimg -d -v nt [...] Scanning section: .text Size: 936109 Range to scan: 81801000-818e58ad 81854019 - nt!PsGetCurrentProcess [ 64:24 ] Total bytes compared: 936109(100%) Number of errors: 1 [...] Checking an Image © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 4. 1: kd> !for_each_module al Alias Value ------- ------- $CurrentDumpArchiveFile $CurrentDumpArchivePath $CurrentDumpFile K:AWMDA-Dumps32-bitKernelMEMORY-CodeOverwrite.DMP $CurrentDumpPath K:AWMDA-Dumps32-bitKernel $lowrite C:UsersAdministratorAppDataLocalTempLow $ntdllnsym $ntdllsym $ntdllwsym $ntnsym nt $ntsym nt $ntwsym $tmpwrite C:UsersADMINI~1AppDataLocalTemp @#Base 80200000 @#Checksum 0000a38f @#End 8020a000 @#FileDescription @#FileVersion @#Flags 00000004 @#ImageName SystemRootsystem32DRIVERSBATTC.SYS @#ImageNameSize 00000027 @#LoadedImageName @#LoadedImageNameSize 00000001 @#MappedImageName @#MappedImageNameSize 00000001 @#ModuleIndex 00 @#ModuleName BATTC @#ModuleNameSize 00000006 @#ProductVersion @#Size 0000a000 @#SymbolFileName BATTC.SYS @#SymbolFileNameSize 0000000a @#SymbolType 5 @#TimeDateStamp 4549adb4 [...] Aliases © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 5. 1: kd> !for_each_module -d -v @#ModuleName [...] Searching for module with expression: nt Will apply relocation fixups to file used for comparison Will ignore NOP/LOCK errors Will ignore patched instructions Image specific ignores will be applied Comparison image path: C:Program Files (x86)Debugging Tools for Windows (x86)symntkrpamp.exe4549AE003a1000ntkrpamp.exe No range specified Scanning section: .text Size: 936109 Range to scan: 81801000-818e58ad 81854019 - nt!PsGetCurrentProcess [ 64:24 ] Total bytes compared: 936109(100%) Number of errors: 1 [...] Checking All Modules © 2012 DumpAnalysis.org + TraceAnalysis.org
  • 6. .exepath !for_each_module al Commands and Aliases © 2012 DumpAnalysis.org + TraceAnalysis.org !chkimg @#ModuleName .sympath
  • 7. !Ad Hardcore Technical Support Training © 2012 DumpAnalysis.org + TraceAnalysis.org Advanced Windows Memory Dump Analysis Accelerated Windows Memory Dump AnalysisApril 11-16, 2012: April 20-23, 2012: Training Schedule Accelerated Software Trace AnalysisApril 27-30, 2012: Accelerated Mac OS X Core Dump AnalysisForthcoming: