SlidePub
Home
Categories
Login
Register
Home
General
Pattern-Oriented-Memory-Forensics-Revised-Edition-Slides.pdf
Pattern-Oriented-Memory-Forensics-Revised-Edition-Slides.pdf
MohammadAzreeYahaya
9 views
38 slides
Aug 03, 2024
Slide
1
of 38
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
About This Presentation
.
Size:
554.23 KB
Language:
en
Added:
Aug 03, 2024
Slides:
38 pages
Slide Content
Slide 1
Memory Forensics
Dmitry Vostokov
Software Diagnostics Services
Revised Version
Slide 2
Forensics
A discipline studying past
structure and behavior.
© 2022 Software Diagnostics Services
Slide 3
Memory Forensics
A discipline studying past
structure and behavior in acquired
computer memory.
© 2022 Software Diagnostics Services
Slide 4
We Have A Problem
Proliferation of computer architectures,
operating systems, and tools
Different memory analysis narratives
Need to measure analysis quality
© 2022 Software Diagnostics Services
Slide 5
Solution
Empirical patterns
A pattern language
Pattern orientation
© 2022 Software Diagnostics Services
Slide 6
Forensic Pattern
A common recurrent identifiable set
of indicators (signs) together with a
set of recommendations to apply in
a specific context.
© 2022 Software Diagnostics Services
Slide 7
Memory Forensics revised
A discipline studying past structure
and behavior of software in
acquired memory using pattern-
oriented analysis methodology.
© 2022 Software Diagnostics Services
Slide 8
Software Forensics
Software execution artefacts
Memory forensics
© 2022 Software Diagnostics Services
Slide 9
Software Forensics
A discipline studying past structure
and behavior of software in
execution artifacts using systemic
and pattern-oriented analysis
methodologies.
© 2022 Software Diagnostics Services
Slide 10
Structure and Behavior
Memory snapshots (dumps)
Traces and logs
Source code
Digital data (media)
© 2022 Software Diagnostics Services
Slide 11
Diagnostics and Forensics
Diagnostics
(present and past)
Forensics
(past)
Prognostics (future)
© 2022 Software Diagnostics Services
Slide 12
Software Diagnostics
A discipline studying signs of
software structure and behavior in
software execution artifacts (such
as memory dumps, software and
network traces and logs) using
systemic and pattern-oriented
analysis methodologies.
© 2022 Software Diagnostics Services
Slide 13
Forensic Analysis Patterns
Software Diagnostics Patterns
Software Forensic
Analysis Patterns
© 2022 Software Diagnostics Services
Memory Forensic
Analysis Patterns
Slide 14
A Pattern Language
The same detection and analysis language
for different computer architectures,
operating systems, and tools
The same memory analysis narratives
Measured analysis quality
Predicting unknown
© 2022 Software Diagnostics Services
Slide 15
Pattern Orientation
1.Pattern-driven
Finding patterns in memory
Using checklists and pattern catalogs
2.Pattern-based
Pattern catalogue evolution
Catalogpackaging and delivery
© 2022 Software Diagnostics Services
Slide 16
Structural Memory
Patterns
…
Memory Region
Region Boundary
Anchor Region
Linked List
Value References
Regular Data
String Value
Small Value
Data Structure
…
Main Pattern Catalogues
Memory Analysis
Patterns
…
Wait Chain
Execution Residue
Spiking Thread
Local Buffer Overflow
Shared Buffer Overwrite
Dynamic Memory
Corruption
…
© 2022 Software Diagnostics Services
Malware Analysis
Patterns
…
Raw Pointer
String Hint
Out-of-Module Pointer
Hooksware
Hidden Process
Deviant Module
Namespace
…
Disassembly, Deconstruction, Reversing Patterns
Memory Acquisition Patterns
Slide 17
Analysis Pattern Classification
…
Dynamic Memory Corruption Patterns
Stack Overflow Patterns
Stack Trace Patterns
Symbol Patterns
Exception Patterns
Meta-Memory Dump Patterns
Module Patterns
Optimization Patterns
Thread Patterns
Process Patterns
…
© 2022 Software Diagnostics Services
Slide 18
Structural Memory Patterns
https://www.patterndiagnostics.com/Training/Structural-Memory-Patterns.pdf
© 2022 Software Diagnostics Services
Slide 19
Memory Acquisition Patterns
https://www.dumpanalysis.org/memory-acquisition-patterns
https://www.patterndiagnostics.com/Training/Memory-Acquisition-Patterns.pdf
Structural space patterns
…
Process Memory Dump
Kernel memory Dump
Physical Memory Dump
Fiber Bundle Dump
…
© 2022 Software Diagnostics Services
Acquisition strategy patterns
…
External Dump
Self Dump
Conditional Dump
Dump Sequence
…
Slide 20
ADDR Patterns
https://www.dumpanalysis.org/addr-patterns
…
Potential Functionality
Function Skeleton
Function Call
Call Path
Local Variable
Static Variable
Pointer Dereference
Function Prologue
Function Epilogue
Variable Initialization
© 2022 Software Diagnostics Services
Memory Copy
Call Prologue
Call Parameter
Call Epilogue
Call Result
Control Path
Function Parameter
Structure Field
Last Call
…
Slide 21
Analysis Pattern Implementation
By OS vendor (Windows, Mac OS X, Linux, …)
By tool (WinDbg, Volatility, IDA, GDB, LLDB, …)
By CPU architecture (x86, x64, ARM, …)
By digital media (memory, volume, file, blob, …)
© 2022 Software Diagnostics Services
Slide 22
Pattern-DrivenAnalysis
Memory Checklists Patterns Action
© 2022 Software Diagnostics Services
✓Pattern
Pattern
Pattern
✓Pattern
✓Pattern
1.Tool-specific checklist: https://www.dumpanalysis.org/windows-memory-
analysis-checklist
2.Pattern catalogue checklists: https://dumpanalysis.org/
Slide 23
Pattern-BasedAnalysis
Memory
New Pattern
Discovery
Pattern
Catalog
+
Usage
© 2022 Software Diagnostics Services
Slide 24
Systems Approach
Narratology
Trace
Analysis
Patterns
Memory
Analysis
© 2022 Software Diagnostics Services
Slide 25
Native Memory Forensics
Using native OS debuggers such
as WinDbgfrom Debugging Tools
for Windows or GDB (Linux) or
LLDB (Mac OS X).
© 2022 Software Diagnostics Services
Slide 26
Practical Examples
WinDbg session…
© 2022 Software Diagnostics Services
Slide 27
Analysis Patterns for Example A
Tampered Dump
Exception Stack Trace
Stored Exception
Lateral Damage
Execution Residue (Unmanaged Space, User)
Hidden Exception (User Space)
NULL Pointer (Data)
© 2022 Software Diagnostics Services
Slide 28
Analysis Patterns for Example B
Dynamic Memory Corruption (Process Heap)
Stack Trace Collection (Unmanaged Space)
RIP Stack Trace
Hooksware
Patched Code
Hidden Module
Deviant Module
String Hint
Fake Module
No Component Symbols
Namespace
© 2022 Software Diagnostics Services
Slide 29
Example C
Analysis pattern correspondence
Process Dump
Physical (Complete) Dump
Kernel Dump
© 2022 Software Diagnostics Services
Slide 30
Further Reading (Patterns)
The Timeless Way of Building (by Christopher Alexander)
A Pattern Language: Towns, Buildings, Construction (by
Christopher Alexander, et al.)
Pattern Theory: Introduction and Perspectives on the Tracks
of Christopher Alexander (by Helmut Leitner)
© 2022 Software Diagnostics Services
Slide 31
Further Reading (MDA)
Cloud Memory Dump Analysis
Fundamentals of Physical Memory Analysis
Victimware
Pattern-Oriented Software Forensics
Debugging TV
© 2022 Software Diagnostics Services
Slide 32
Further Reading (SD)
Software Diagnostics Institute
Pattern-Driven Software Diagnostics
Systemic Software Diagnostics
Pattern-Based Software Diagnostics
Philosophy of Software Diagnostics
© 2022 Software Diagnostics Services
Slide 33
Historical Reference
© 2022 Software Diagnostics Services
Memory Dump Analysis Anthology (Diagnomicon): 14 volumes
Volume 15 is planned for 2022/2023
Slide 34
Alphabetical Reference
© 2022 Software Diagnostics Services
Encyclopedia of Crash Dump Analysis Patterns: Detecting Abnormal
Software Structure and Behavior in Computer Memory, Third Edition
Slide 35
Referenced Training Courses
Accelerated Disassembly, Reconstruction and Reversing
Accelerated Windows Malware Analysis with Memory Dumps
Advanced Windows Memory Dump Analysis with Data Structures
© 2022 Software Diagnostics Services
Slide 36
Transcript
© 2022 Software Diagnostics Services
Pattern-Oriented Memory Forensics: A Pattern Language Approach, Revised Edition
(ISBN-13: 978-1912636761)
Slide 37
Q&A
© 2022 Software Diagnostics Services
Please send your feedbackusing the contact
form on PatternDiagnostics.com
Slide 38
Thank you for attendance!
FacebookLinkedInTwitter
© 2022 Software Diagnostics Services
Tags
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
9
Slides
38
Age
487 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
32 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
35 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
32 views
14
Fertility awareness methods for women in the society
Isaiah47
30 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
29 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
30 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-38)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better