06 Digital Forensics
Welcome to:
Module 06 — Digital Forensics
In the previous module, you learned how to:
Prepare
Detect
Investigate
Contain
Eradicate
Recoverfrom a security incident.
But during a serious incident, one question often remains:
ExactlyWhat Happened?You may know that:
A Host Was Compromisedbut still need to determine:
How Did the AttackerGain Access?
What Did They Execute?
What FilesDid They Touch?
Did They CreatePersistence?
Were CredentialsAccessed?
Did They Moveto Other Systems?
Was DataExfiltrated?
When DidEach Action Occur?This is where:
Digital Forensicsbecomes critical.
Digital forensics is the disciplined process of:
Identify
Preserve
Collect
Examine
Analyze
Correlate
Documentdigital evidence so that security teams can reconstruct activity and support defensible conclusions.
Module Objectives
Section titled “Module Objectives”By the end of this module, you will understand how to:
-
explain the role of digital forensics.
-
understand the relationship between DFIR and incident response.
-
identify digital evidence sources.
-
understand evidence preservation.
-
understand chain of custody.
-
understand forensic integrity.
-
understand forensic acquisition.
-
distinguish live and dead-box acquisition.
-
understand disk imaging.
-
understand memory acquisition.
-
understand forensic hashes.
-
understand file-system analysis.
-
understand timestamps and metadata.
-
analyze deleted files.
-
understand Windows forensic artifacts.
-
understand Windows Registry artifacts.
-
understand Prefetch.
-
understand Shimcache and Amcache.
-
understand Windows event logs.
-
analyze PowerShell artifacts.
-
analyze scheduled tasks and services.
-
understand Linux forensic artifacts.
-
analyze authentication and system logs.
-
analyze shell history.
-
understand memory forensics.
-
investigate running processes.
-
investigate network connections.
-
investigate injected processes.
-
investigate credential access indicators.
-
analyze browser artifacts.
-
analyze downloads and browsing history.
-
analyze persistence.
-
analyze malware artifacts.
-
understand timeline analysis.
-
build forensic timelines.
-
correlate endpoint, identity and network evidence.
-
understand network forensics.
-
understand cloud forensic evidence.
-
preserve cloud evidence.
-
distinguish facts from forensic hypotheses.
-
document forensic findings.
-
create defensible forensic reports.
1 — What Is Digital Forensics?
Section titled “1 — What Is Digital Forensics?”Digital forensics is the process of identifying, preserving, examining and analyzing digital information to determine:
What Happened?
When?
How?
By Whom?
On Which Systems?
With What Impact?2 — Digital Forensics and Incident Response
Section titled “2 — Digital Forensics and Incident Response”Digital forensics and incident response are closely related.
Incident Response asks:
How Do WeControl the Incident?Digital Forensics asks:
What Doesthe Evidence Tell Us?Together:
DFIRmeans:
Digital Forensics+Incident Response3 — Incident Response vs Forensics
Section titled “3 — Incident Response vs Forensics”Incident response prioritizes:
Containment
Business Recovery
Threat RemovalForensics prioritizes:
Evidence
Reconstruction
Attribution of Activity
Timeline
Technical UnderstandingThese goals sometimes create tension.
For example:
Immediately Rebootinga Compromised Hostmay help operations.
But it may destroy:
Memory EvidenceTherefore responders must balance:
Operational Need+Evidence Preservation4 — Forensic Questions
Section titled “4 — Forensic Questions”A forensic investigation may need to answer:
How Didthe Attacker Enter?
What AccountWas Used?
What ProcessExecuted?
What PersistenceWas Created?
What DataWas Accessed?
Did Lateral MovementOccur?
Was AnythingExfiltrated?
When Didthe Incident Begin?5 — Evidence Sources
Section titled “5 — Evidence Sources”Digital evidence may come from:
Disk
Memory
File System
Registry
Event Logs
Processes
Network Connections
Browser Data
Email
Cloud Logs
Identity Logs
Security Tools6 — Evidence Types
Section titled “6 — Evidence Types”Evidence may be:
Volatile
Non-Volatile7 — Volatile Evidence
Section titled “7 — Volatile Evidence”Volatile evidence may disappear when a system is shut down.
Examples:
RAM
Running Processes
Network Connections
Logged-On Users
Temporary Data8 — Non-Volatile Evidence
Section titled “8 — Non-Volatile Evidence”Non-volatile evidence generally remains after shutdown.
Examples:
Disk
Files
Logs
Registry
Browser History
Database Records9 — Order of Volatility
Section titled “9 — Order of Volatility”Investigators may prioritize evidence according to how quickly it can disappear.
Conceptually:
CPU / Memory ↓Network State ↓Running Processes ↓Temporary Files ↓Disk ↓Archived LogsFollow approved forensic procedures for your environment.
10 — Evidence Preservation
Section titled “10 — Evidence Preservation”Evidence should be preserved in a manner that maintains:
Integrity
Authenticity
Traceability11 — Forensic Integrity
Section titled “11 — Forensic Integrity”The investigator should avoid unnecessary modification of evidence.
A professional question is:
Did MyInvestigation ActivityChange the Evidence?Some change may be unavoidable during live response.
Document it.
12 — Chain of Custody
Section titled “12 — Chain of Custody”Chain of custody records:
What Was Collected?
Who Collected It?
When?
From Where?
How?
Who Accessed It?
Where WasIt Stored?13 — Why Chain of Custody Matters
Section titled “13 — Why Chain of Custody Matters”It demonstrates that evidence was:
Controlled
Traceable
Protectedfrom collection through analysis.
14 — Evidence Register
Section titled “14 — Evidence Register”Create:
Forensic_Evidence_Register.csvwith:
| Evidence ID | Source | Artifact | Collection Time | Collector | Hash | Storage |
|---|
15 — Forensic Hashing
Section titled “15 — Forensic Hashing”A cryptographic hash can help demonstrate that evidence has not changed.
Common examples:
SHA-256Conceptually:
Evidence ↓Hash ↓RecordedLater:
Evidence ↓Hash Again ↓Compare16 — Hash Match
Section titled “16 — Hash Match”If the hash remains the same:
EvidenceLikely UnchangedIf different:
Investigate17 — Original vs Working Copy
Section titled “17 — Original vs Working Copy”Do not perform unnecessary analysis directly on the original evidence.
Use:
Original Evidence ↓Protected ↓Verified Working Copy ↓Analysis18 — Forensic Acquisition
Section titled “18 — Forensic Acquisition”Acquisition is the process of collecting forensic data.
Potential acquisition types include:
Disk Image
Memory Image
Log Export
Cloud Snapshot
File Collection
Network Capture19 — Live Acquisition
Section titled “19 — Live Acquisition”Live acquisition occurs while the system is running.
Useful for collecting:
Memory
Processes
Connections
Logged-On Users
Encryption Keys20 — Dead-Box Acquisition
Section titled “20 — Dead-Box Acquisition”Dead-box acquisition generally involves analyzing a system after it has been powered down.
Benefits may include:
Reduced System Change
Controlled Disk AcquisitionBut volatile evidence may already be lost.
21 — Disk Imaging
Section titled “21 — Disk Imaging”A forensic disk image attempts to capture a complete representation of storage.
It may include:
Active Files
Deleted Data
Unallocated Space
File-System Metadata22 — Logical vs Physical Acquisition
Section titled “22 — Logical vs Physical Acquisition”Logical acquisition may collect:
Selected Files
Folders
ArtifactsPhysical acquisition may capture:
Complete Storageincluding areas not normally visible through the operating system.
23 — Memory Acquisition
Section titled “23 — Memory Acquisition”Memory may reveal:
Running Processes
Network Connections
Injected Code
Credentials
Encryption Keys
Command History
Malware24 — Memory Is Time Sensitive
Section titled “24 — Memory Is Time Sensitive”If the system is rebooted:
Memory EvidenceMay Be LostThis is why responders must decide quickly whether memory collection is required.
25 — File-System Forensics
Section titled “25 — File-System Forensics”File-system analysis helps answer:
Which FilesExist?
When WereThey Created?
Modified?
Accessed?
Deleted?26 — File Metadata
Section titled “26 — File Metadata”Useful metadata may include:
File Name
Path
Size
Owner
Creation Time
Modification Time
Hash27 — MAC Times
Section titled “27 — MAC Times”You may encounter:
Modified
Accessed
Changed / Createdtimestamps depending on file system and tooling.
Interpret timestamps carefully.
28 — Timestamp Limitations
Section titled “28 — Timestamp Limitations”Timestamps can be affected by:
Copying
Extraction
Time Zones
Application Behavior
Attacker ManipulationDo not treat one timestamp as absolute proof without context.
29 — Deleted Files
Section titled “29 — Deleted Files”Deleting a file may remove its reference without immediately erasing all underlying data.
Forensic tools may sometimes recover:
Deleted Files
File Fragments
Metadata30 — Unallocated Space
Section titled “30 — Unallocated Space”Unallocated space can contain remnants of deleted information.
This may help uncover:
Deleted Malware
Documents
Archives
Scripts31 — Windows Forensics
Section titled “31 — Windows Forensics”Windows systems provide rich forensic artifacts.
Important areas include:
Event Logs
Registry
Prefetch
Amcache
Shimcache
NTFS Metadata
PowerShell
Scheduled Tasks
Services
Browser Data32 — Windows Event Logs
Section titled “32 — Windows Event Logs”Useful log categories may include:
Security
System
Application
PowerShell
Task Scheduler
Defender33 — Authentication Evidence
Section titled “33 — Authentication Evidence”Windows logs may reveal:
Successful Logon
Failed Logon
Account Changes
Privilege Use
Group Changes34 — Process Evidence
Section titled “34 — Process Evidence”Process creation events may provide:
Process Name
Parent Process
Command Line
User
Timestamp35 — Parent-Child Analysis
Section titled “35 — Parent-Child Analysis”A process relationship such as:
winword.exe ↓powershell.exemay be important.
But context is required.
36 — Windows Registry
Section titled “36 — Windows Registry”The Registry stores configuration and activity information.
Potential forensic value includes:
Persistence
User Activity
USB Devices
Programs
System Configuration37 — Registry Persistence
Section titled “37 — Registry Persistence”Attackers may use locations that cause programs to start automatically.
Forensic analysis may identify:
UnexpectedAutorun Entries38 — Prefetch
Section titled “38 — Prefetch”Windows Prefetch may provide evidence that:
An ExecutableRanand can help determine:
Program
Execution History
Related Filesdepending on system configuration.
39 — Prefetch Limitation
Section titled “39 — Prefetch Limitation”Absence of Prefetch does not prove:
ProgramNever ExecutedThe feature may be:
Disabled
Unavailable
Cleaned40 — Shimcache
Section titled “40 — Shimcache”Shimcache, often referred to as Application Compatibility Cache, may provide historical information about executables.
It can help with:
Program Presence
Potential Execution ContextInterpretation should be done carefully.
41 — Amcache
Section titled “41 — Amcache”Amcache may contain information about applications and executable files.
Useful attributes can include:
File Path
Hash Information
Program Metadata42 — PowerShell Forensics
Section titled “42 — PowerShell Forensics”PowerShell artifacts may reveal:
Commands
Scripts
Execution
Downloads
Encoded ContentPotential evidence sources include:
PowerShell Logs
Event Logs
EDR
Command History43 — Encoded PowerShell
Section titled “43 — Encoded PowerShell”Encoded content may be:
Administrative
Obfuscated
MaliciousDecode and analyze the behavior.
Do not conclude solely from encoding.
44 — Scheduled Tasks
Section titled “44 — Scheduled Tasks”Scheduled tasks may support:
Administration
Automation
Persistence
ExecutionAnalyze:
Task Name
Creator
Command
Trigger
User
Creation Time45 — Services
Section titled “45 — Services”Services can also be used for:
Persistence
Execution
Lateral MovementInvestigate:
Service Name
Binary Path
Creator
Start Type
Timestamp46 — Windows Timeline Sources
Section titled “46 — Windows Timeline Sources”A Windows forensic timeline may correlate:
Event Logs
File Timestamps
Registry
Prefetch
Browser
EDR
Network47 — Linux Forensics
Section titled “47 — Linux Forensics”Linux forensic evidence may include:
Authentication Logs
System Logs
Audit Logs
Shell History
Cron Jobs
Services
SSH Keys
Files48 — Linux Authentication
Section titled “48 — Linux Authentication”Investigate:
SSH Login
Failed Login
sudo
su
Account Changes49 — Shell History
Section titled “49 — Shell History”Shell history may provide:
CommandsExecuted byUsersBut attackers may:
Delete
Disable
Modifyhistory.
Therefore it is supporting evidence, not guaranteed truth.
50 — Linux Persistence
Section titled “50 — Linux Persistence”Potential areas include:
Cron
Systemd Services
Shell Profiles
SSH Keys
Startup Scripts51 — SSH Forensics
Section titled “51 — SSH Forensics”Review:
Authorized Keys
Login Sources
Users
Authentication Methods
Commands52 — Memory Forensics
Section titled “52 — Memory Forensics”Memory analysis provides insight into system state at a specific point in time.
It may reveal:
Processes
DLLs
Network Connections
Injected Code
Credentials
Malware53 — Process Analysis
Section titled “53 — Process Analysis”Start with:
Which ProcessesWere Running?Then investigate:
Parent
Child
Command Line
Path
Signer
Network54 — Suspicious Process Indicators
Section titled “54 — Suspicious Process Indicators”Examples:
Unexpected Path
Unusual Parent
Unsigned Binary
Injected Memory
Rare Process
Suspicious Network Activity55 — Process Injection
Section titled “55 — Process Injection”Attackers may inject code into legitimate processes.
Potential indicators include:
UnexpectedMemory Regions
Suspicious Threads
Process Behavior56 — Memory Network Analysis
Section titled “56 — Memory Network Analysis”Memory may reveal active or recently active:
Network Connections
Listening Ports
Remote Addresses57 — Credential Evidence
Section titled “57 — Credential Evidence”Memory may contain sensitive authentication material.
Handle this evidence carefully.
Do not expose or redistribute credentials unnecessarily.
58 — Browser Forensics
Section titled “58 — Browser Forensics”Browser artifacts may help reconstruct:
Visited Sites
Searches
Downloads
Cookies
Sessions
Cached Files59 — Browser History
Section titled “59 — Browser History”Useful questions:
Which URLWas Visited?
When?
By Which User?
What Happened Next?60 — Download History
Section titled “60 — Download History”Browser downloads can identify:
Downloaded File
Source URL
Timestamp
Destination Path61 — Browser Sessions
Section titled “61 — Browser Sessions”Cookies or session data may help explain authenticated activity.
Treat session artifacts as sensitive.
62 — Email Forensics
Section titled “62 — Email Forensics”Email evidence may include:
Headers
Body
Attachments
URLs
Delivery Information
Authentication Results63 — Email Headers
Section titled “63 — Email Headers”Headers can help identify:
Sender Path
Mail Servers
Message IDs
Authentication Results64 — Attachment Analysis
Section titled “64 — Attachment Analysis”Investigate:
File Name
Type
Hash
Metadata
Behaviorin approved analysis environments.
65 — Network Forensics
Section titled “65 — Network Forensics”Network forensic evidence can include:
Packet Capture
Firewall Logs
Proxy Logs
DNS Logs
Flow Data
IDS Events66 — Packet Capture
Section titled “66 — Packet Capture”Packet capture may reveal detailed network communication.
Potential information:
Source
Destination
Protocol
Content
Timingdepending on encryption and capture scope.
67 — Flow Data
Section titled “67 — Flow Data”Flow data provides metadata such as:
Source
Destination
Ports
Bytes
Durationwithout necessarily containing packet payloads.
68 — DNS Forensics
Section titled “68 — DNS Forensics”DNS may help answer:
Which DomainsDid the HostResolve?
When?
How Often?69 — Proxy Forensics
Section titled “69 — Proxy Forensics”Proxy logs may reveal:
URLs
Downloads
Uploads
Users
Destinations70 — Firewall Forensics
Section titled “70 — Firewall Forensics”Firewall evidence may help determine:
Was ConnectionAllowed?
Blocked?
Which Rule?
Which Direction?71 — Network Timeline
Section titled “71 — Network Timeline”Example:
10:14DNS Query
10:14Outbound Connection
10:15Large Download
10:20Repeated C2 Traffic72 — Cloud Forensics
Section titled “72 — Cloud Forensics”Cloud environments create different forensic challenges.
Evidence may include:
Audit Logs
Identity Events
Resource Configuration
Storage Logs
Snapshots
Network Logs
Security Findings73 — Cloud Audit Evidence
Section titled “73 — Cloud Audit Evidence”Cloud audit logs may reveal:
Identity
API
Resource
Source IP
Timestamp
Result74 — Cloud Identity Forensics
Section titled “74 — Cloud Identity Forensics”Investigate:
Login
Role Assumption
Access Key
Token
Privilege Change75 — Cloud Resource Forensics
Section titled “75 — Cloud Resource Forensics”Analyze:
VM Changes
Storage Access
Security Group Changes
IAM Policies
Logging Configuration76 — Cloud Evidence Preservation
Section titled “76 — Cloud Evidence Preservation”Potential techniques include:
Export Audit Logs
Create Disk Snapshot
Preserve Object Versions
Capture Configuration
Record IAM Statefollowing approved procedures.
77 — Cloud Evidence Is Dynamic
Section titled “77 — Cloud Evidence Is Dynamic”Cloud resources may be:
Created
Modified
Deletedvery quickly.
Evidence collection should be timely.
78 — Container Forensics
Section titled “78 — Container Forensics”Container environments may require analysis of:
Container Image
Running Container
Logs
Host
Orchestrator Events
Registry79 — Ephemeral Workloads
Section titled “79 — Ephemeral Workloads”Containers may exist only briefly.
This makes:
Central Logging
Runtime Telemetry
Image Recordsespecially important.
80 — Malware Forensics
Section titled “80 — Malware Forensics”Malware analysis can involve:
Static Analysis
Dynamic Analysis
Behavioral Analysis81 — Static Analysis
Section titled “81 — Static Analysis”Static analysis examines a file without executing it.
Potential areas:
Hash
Strings
Headers
Imports
Metadata82 — Dynamic Analysis
Section titled “82 — Dynamic Analysis”Dynamic analysis observes malware execution in an approved isolated environment.
Potential behaviors:
Processes
Files
Registry
Network
Persistence83 — Malware Safety
Section titled “83 — Malware Safety”Never execute unknown malware on:
Production
Personal Systems
Uncontrolled NetworksUse approved isolated lab environments.
84 — Malware Indicators
Section titled “84 — Malware Indicators”Potential indicators include:
File Hash
Domain
IP
Mutex
Registry Key
File Path
Process Behavior85 — IOC Extraction
Section titled “85 — IOC Extraction”Forensic analysis may produce IOCs.
Example:
Hash
C2 Domain
File PathThese can support:
Threat Hunting
Detection
Blocking86 — Behavioral Findings
Section titled “86 — Behavioral Findings”Do not stop with IOCs.
Also identify:
Execution
Persistence
Credential Access
Lateral Movement
C2behaviors.
87 — Timeline Analysis
Section titled “87 — Timeline Analysis”Timeline analysis is one of the most important forensic techniques.
It combines multiple sources to reconstruct:
Sequenceof Events88 — Super Timeline Concept
Section titled “88 — Super Timeline Concept”A broad timeline may combine:
File System
Windows Logs
Registry
Browser
EDR
Network
Cloudinto one chronological view.
89 — Timeline Example
Section titled “89 — Timeline Example”08:41Phishing Email Received
08:47Browser Opens URL
08:51File Downloaded
08:53winword.exe Executes
08:54powershell.exe Starts
08:55External Connection
09:02Scheduled Task Created
09:30Credential Access
10:10Lateral Movement90 — Timeline Interpretation
Section titled “90 — Timeline Interpretation”Do not confuse:
Timestamp Correlationwith:
CausationEvents close in time may still be unrelated.
Validate relationships.
91 — Forensic Correlation
Section titled “91 — Forensic Correlation”Correlation may connect:
User
Host
Process
File
IP
Domain
Cloud Identity92 — Entity-Based Investigation
Section titled “92 — Entity-Based Investigation”Example:
User A ↓Host B ↓Process C ↓Domain DPivot between these entities.
93 — Cross-Source Correlation
Section titled “93 — Cross-Source Correlation”Example:
Identity LogSuccessful Login ↓Windows LogProcess Execution ↓DNS LogRare Domain ↓FirewallOutbound ConnectionThis provides stronger evidence than one artifact alone.
94 — Initial Access Analysis
Section titled “94 — Initial Access Analysis”Ask:
What Wasthe EarliestKnown MaliciousActivity?Possible sources:
Email
Web
VPN
Identity
Exploit Logs95 — Persistence Analysis
Section titled “95 — Persistence Analysis”Search:
Scheduled Tasks
Services
Registry
Startup
Accounts
Cloud Roles
OAuth96 — Privilege Escalation Analysis
Section titled “96 — Privilege Escalation Analysis”Look for:
New Admin Role
Elevated Token
Privilege Group Change
Policy Modification97 — Credential Access Analysis
Section titled “97 — Credential Access Analysis”Potential evidence:
LSASS Access
Credential Tool
Browser Credential Access
Secrets Files
Cloud Credentials98 — Discovery Analysis
Section titled “98 — Discovery Analysis”Attackers may query:
Users
Groups
Hosts
Networks
Cloud Resources99 — Lateral Movement Analysis
Section titled “99 — Lateral Movement Analysis”Investigate:
RDP
SMB
Remote Services
SSH
Remote PowerShell
Cloud Role Switching100 — Collection Analysis
Section titled “100 — Collection Analysis”Look for:
Archive Creation
Mass File Access
Database Export
Cloud Object Collection101 — Exfiltration Analysis
Section titled “101 — Exfiltration Analysis”Correlate:
Collection ↓External Connection ↓Large Transfer102 — Defense Evasion Analysis
Section titled “102 — Defense Evasion Analysis”Search for:
Log Clearing
Security Agent Stop
Logging Disablement
File Deletion
Timestomping103 — Timestomping
Section titled “103 — Timestomping”Attackers may manipulate file timestamps to hide activity.
This is why analysts should correlate:
Multiple Artifactsrather than trust file timestamps alone.
104 — Anti-Forensics
Section titled “104 — Anti-Forensics”Attackers may attempt to destroy or hide evidence.
Examples:
Clear Logs
Delete Files
Modify Timestamps
Disable Logging
Encrypt Data105 — Missing Evidence
Section titled “105 — Missing Evidence”Missing evidence may itself be important.
Example:
Logs ExistBefore Incident
Gap
Logs ResumeAfter IncidentInvestigate:
Was LoggingDisabled?106 — Facts vs Forensic Hypotheses
Section titled “106 — Facts vs Forensic Hypotheses”Observed:
Scheduled TaskCreated at 09:02Hypothesis:
Attacker Created Itfor PersistenceValidate with:
Creator
Command
Related Activity
Timeline107 — Confidence Levels
Section titled “107 — Confidence Levels”You may classify conclusions as:
Confirmed
High Confidence
Moderate Confidence
Low Confidence
Unknownbased on evidence.
108 — Avoid Overstatement
Section titled “108 — Avoid Overstatement”Do not report:
Attacker StoleCustomer Databaseif evidence only shows:
Database ExportWas CreatedYou still need evidence of:
Transfer109 — Forensic Investigation Workflow
Section titled “109 — Forensic Investigation Workflow”Use:
Scope ↓Preserve ↓Collect ↓Validate ↓Examine ↓Analyze ↓Correlate ↓Timeline ↓Conclusion ↓Report110 — Scope
Section titled “110 — Scope”Define:
Systems
Users
Period
Incident
Evidence Sources111 — Preserve
Section titled “111 — Preserve”Protect evidence from:
Modification
Deletion
Loss112 — Collect
Section titled “112 — Collect”Acquire relevant:
Disk
Memory
Logs
Network
Cloud
Applicationevidence.
113 — Validate
Section titled “113 — Validate”Verify:
Integrity
Source
Time
Scope114 — Examine
Section titled “114 — Examine”Identify relevant artifacts.
115 — Analyze
Section titled “115 — Analyze”Determine:
Meaning
Relationships
Behavior116 — Correlate
Section titled “116 — Correlate”Connect evidence from multiple sources.
117 — Build Timeline
Section titled “117 — Build Timeline”Reconstruct chronological activity.
118 — Conclusion
Section titled “118 — Conclusion”State:
What theEvidence Supportsnot what you merely suspect.
119 — Report
Section titled “119 — Report”Document:
Methods
Evidence
Findings
Timeline
Limitations
Conclusion120 — Forensic Workpaper
Section titled “120 — Forensic Workpaper”Create:
Forensic_Workpaper.mdwith:
# Case ID
# Investigation Objective
# Scope
# Systems
# Time Period
# Evidence Sources
# Evidence Integrity
# Acquisition Method
# Artifacts Reviewed
# Findings
# Timeline
# IOCs
# ATT&CK Mapping
# Limitations
# Analyst Conclusion121 — Forensic Timeline
Section titled “121 — Forensic Timeline”Create:
Forensic_Timeline.csvwith:
| Timestamp | Source | Host | User | Event | Evidence | Significance |
|---|
122 — Artifact Register
Section titled “122 — Artifact Register”Create:
Forensic_Artifact_Register.csvwith:
| Artifact ID | Host | Artifact | Type | Timestamp | Finding | Confidence |
|---|
123 — IOC Register
Section titled “123 — IOC Register”Create:
Forensic_IOC_Register.csvwith:
| IOC | Type | Evidence Source | Confidence | First Seen | Last Seen |
|---|
124 — Findings Register
Section titled “124 — Findings Register”Create:
Forensic_Findings.csvwith:
| Finding ID | Evidence | Observation | Interpretation | Confidence |
|---|
125 — Forensic Report Structure
Section titled “125 — Forensic Report Structure”Create:
Forensic_Report.mdwith:
# Executive Summary
# Incident Background
# Scope
# Evidence Collected
# Methodology
# Timeline
# Technical Findings
# Initial Access
# Execution
# Persistence
# Credential Access
# Lateral Movement
# Command and Control
# Collection
# Exfiltration
# Impact
# Indicators
# Limitations
# Conclusion
# Recommendations126 — Executive Forensic Summary
Section titled “126 — Executive Forensic Summary”Executives typically need:
What Happened?
When?
Which Systems?
What Data?
Current Risk?
What Needsto Happen?They generally do not need every Registry key in the first summary.
127 — Technical Forensic Detail
Section titled “127 — Technical Forensic Detail”Technical teams may need:
Hashes
Commands
Processes
Registry Paths
Services
IPs
Domains
Timestamps128 — Forensic Limitations
Section titled “128 — Forensic Limitations”Always document limitations such as:
Missing Logs
Short Retention
System Reboot
No Memory Image
Incomplete Disk Image
Encryption
Time Synchronization Issues129 — Why Limitations Matter
Section titled “129 — Why Limitations Matter”A professional forensic conclusion should explain not only:
What We Knowbut also:
What WeCannot Determine130 — Evidence Confidence
Section titled “130 — Evidence Confidence”Example:
High Confidence:
PowerShell executedat 08:54because:
Windows Event
EDR
Prefetchall support it.
131 — Lower Confidence Example
Section titled “131 — Lower Confidence Example”Possible:
User intentionallyexecuted malwareif the evidence does not demonstrate intent.
132 — Attribution Caution
Section titled “132 — Attribution Caution”Digital forensics may establish:
Account Used
Host Used
IP UsedThis does not automatically prove:
Specific HumanPerformed the Action133 — Forensics and Detection Engineering
Section titled “133 — Forensics and Detection Engineering”Forensics can reveal behaviors that existing detections missed.
Forensic Finding ↓Attack Behavior ↓Telemetry ↓Detection Opportunity134 — Forensics and Threat Hunting
Section titled “134 — Forensics and Threat Hunting”After identifying:
Persistence Artifacthunt:
Acrossthe Environmentfor similar artifacts.
135 — Forensics and Incident Response
Section titled “135 — Forensics and Incident Response”Forensic evidence helps response teams determine:
Scope
Persistence
Credentials
Lateral Movement
Impact136 — Forensics and Lessons Learned
Section titled “136 — Forensics and Lessons Learned”After the investigation:
Evidence ↓Attack Timeline ↓Control Gap ↓Detection Gap ↓Improvement137 — Digital Forensics Tool Categories
Section titled “137 — Digital Forensics Tool Categories”You may encounter tools for:
Disk Forensics
Memory Forensics
Timeline Analysis
Network Analysis
Malware Analysis
Log AnalysisThe objective is not to memorize one product.
Learn:
What EvidenceYou Need
and
What QuestionYou Are Tryingto Answer138 — Forensic Analysis Mindset
Section titled “138 — Forensic Analysis Mindset”Do not start with:
Which ToolShould I Use?Start with:
What QuestionMust I Answer?
Which EvidenceCould Answer It?139 — Example Investigation Question
Section titled “139 — Example Investigation Question”Question:
Did the AttackerCreate Persistence?Potential evidence:
Scheduled Tasks
Services
Registry
Startup
Cloud IAM
OAuth140 — Another Investigation Question
Section titled “140 — Another Investigation Question”Question:
Was DataExfiltrated?Evidence:
File Access
Archive Creation
Proxy
Network Flow
Cloud Upload
External Storage141 — Forensic Decision Model
Section titled “141 — Forensic Decision Model”Use:
Question ↓Evidence ↓Artifact ↓Correlation ↓Conclusionnot:
Tool Output ↓ConclusionPractical Exercise 1 — Evidence Prioritization
Section titled “Practical Exercise 1 — Evidence Prioritization”Scenario:
A compromised Windows endpoint is still running.
Identify the collection priority for:
Memory
Processes
Network Connections
Disk
Event LogsExplain why.
Practical Exercise 2 — Build Chain of Custody
Section titled “Practical Exercise 2 — Build Chain of Custody”Create a chain-of-custody record for:
Laptop Disk Imageincluding:
Collector
Time
Device
Hash
Storage
TransferPractical Exercise 3 — Windows Artifact Mapping
Section titled “Practical Exercise 3 — Windows Artifact Mapping”Map:
Process Execution
Persistence
User Login
Scheduled Task
Downloaded Fileto potential Windows forensic artifacts.
Practical Exercise 4 — Persistence Investigation
Section titled “Practical Exercise 4 — Persistence Investigation”Scenario:
Unknown ProgramRuns Every30 MinutesInvestigate:
Scheduled Tasks
Services
Registry
Process
File
NetworkPractical Exercise 5 — Memory Investigation
Section titled “Practical Exercise 5 — Memory Investigation”Given a memory capture, identify the types of evidence you would look for related to:
Malware
C2
Credential Access
Process InjectionPractical Exercise 6 — Browser Forensics
Section titled “Practical Exercise 6 — Browser Forensics”Scenario:
A user reports clicking a phishing link.
Identify:
Browser History
Download History
Cookies
Cached Files
Endpoint Eventsrequired to reconstruct activity.
Practical Exercise 7 — Cloud Forensics
Section titled “Practical Exercise 7 — Cloud Forensics”Scenario:
A cloud administrator account was compromised.
Identify evidence for:
Authentication
API Calls
IAM Changes
New Keys
Logging Changes
Data AccessPractical Exercise 8 — Build a Forensic Timeline
Section titled “Practical Exercise 8 — Build a Forensic Timeline”Given:
08:41Phishing Delivered
08:47Browser Opens URL
08:51Payload Downloaded
08:54PowerShell Executes
08:55C2 Connection
09:02Scheduled Task
09:30Credential Dumping
10:10Remote LoginBuild a narrative mapping the activity to likely attacker stages.
Practical Exercise 9 — Facts vs Hypotheses
Section titled “Practical Exercise 9 — Facts vs Hypotheses”Observation:
Archive FileCreatedon Production ServerWrite:
3 Supported Facts
3 Hypotheses
Evidence Neededto Validate EachPractical Exercise 10 — Forensic Report
Section titled “Practical Exercise 10 — Forensic Report”Create a full:
Forensic_Report.mdfor a fictional endpoint compromise.
Include:
Scope
Evidence
Timeline
Findings
IOCs
ATT&CK
Limitations
ConclusionKnowledge Check
Section titled “Knowledge Check”-
What is digital forensics?
-
What does DFIR mean?
-
How is digital forensics different from incident response?
-
What is volatile evidence?
-
What is non-volatile evidence?
-
What is order of volatility?
-
What is evidence preservation?
-
What is chain of custody?
-
Why are hashes used in forensics?
-
Why should investigators use working copies?
-
What is forensic acquisition?
-
What is live acquisition?
-
What is dead-box acquisition?
-
What is a disk image?
-
What is memory acquisition?
-
Why can system reboot destroy forensic evidence?
-
What is file metadata?
-
Why must file timestamps be interpreted carefully?
-
What is unallocated space?
-
What can Windows event logs reveal?
-
What is the forensic value of the Registry?
-
What is Prefetch?
-
Why does missing Prefetch not prove non-execution?
-
What is Shimcache?
-
What is Amcache?
-
What evidence can PowerShell logs provide?
-
Why are scheduled tasks important forensic artifacts?
-
Why are services important?
-
What Linux logs are valuable during investigations?
-
Why is shell history not always reliable?
-
What is memory forensics?
-
What can process analysis reveal?
-
What is process injection?
-
What can browser forensics reveal?
-
What can email headers reveal?
-
What is network forensics?
-
What is the difference between packet capture and flow data?
-
What can DNS logs reveal?
-
What can proxy logs reveal?
-
Why is cloud forensics different from endpoint forensics?
-
What cloud artifacts should be preserved?
-
Why are containers challenging for forensic analysis?
-
What is static malware analysis?
-
What is dynamic malware analysis?
-
Why must malware analysis use isolated environments?
-
What is a forensic timeline?
-
What is cross-source correlation?
-
Why should forensic investigators distinguish facts from hypotheses?
-
What are anti-forensics techniques?
-
Why must missing evidence be investigated?
-
What are forensic confidence levels?
-
Why should forensic reports document limitations?
-
Why should attribution be handled carefully?
-
How can forensic findings improve threat hunting?
-
How can forensic findings improve detection engineering?
Key Takeaways
Section titled “Key Takeaways”Digital forensics follows:
Identify ↓Preserve ↓Collect ↓Validate ↓Examine ↓Analyze ↓Correlate ↓Timeline ↓Conclusion ↓ReportImportant evidence sources include:
Disk
Memory
Logs
Registry
Processes
Network
Browser
CloudRemember:
Artifact ≠ConclusionTimestamp ≠Absolute TruthAccount Used ≠Human Identity ProvenFile Deleted ≠Evidence DestroyedIOC Found ≠Complete Incident StoryA professional forensic analyst asks:
What QuestionAm I Tryingto Answer?
↓
Which EvidenceCan Answer It?
↓
What Doesthe EvidenceActually Support?Career Connection
Section titled “Career Connection”Digital forensics skills are valuable for:
SOC Analysts
Senior SOC Analysts
Incident Responders
DFIR Analysts
Threat Hunters
Malware Analysts
Blue Team Analysts
Cyber Defense AnalystsDuring interviews, you should be able to explain:
How You PreserveEvidence
Why MemoryMay Be Collected First
How You Builda Timeline
Which WindowsArtifacts You Review
How You InvestigatePersistence
How You CorrelateMultiple Evidence Sources
How You SeparateFacts from HypothesesThe professional skill is not simply:
FindingInteresting ArtifactsIt is being able to reconstruct:
What Happened
When
How
Where
and
Which EvidenceSupports the ConclusionWhat’s Next?
Section titled “What’s Next?”➡️ Next: 07 — Detection Engineering
You now understand how forensic evidence can reconstruct attacker activity after or during an incident.
The next step is to take those attacker behaviors and convert them into:
ReliableDetectionsIn the next module, you will learn how to:
Design Detection Use Cases
Translate Threat Behaviorinto Detection Logic
Write Detection Queries
Use Sigma
Build SIEM Rules
Map Detectionsto MITRE ATT&CK
Tune Rules
Test Detections
Measure Coverage
Manage Detection LifecycleYou will move from:
We KnowHow the AttackerOperatedto:
We CanDetect This BehaviorEarlierNext Time➡️ Next: 07 — Detection Engineering