Performing Disk Forensics Investigation
Overview
Cybersecurity skill for performing disk forensics investigation. Follows industry best practices and security standards.
When to Use
Trigger phrases:
"performing disk forensics investigation"
"Conducts disk forensics investigations using forensic imaging, file system analy"
A security incident requires forensic analysis of a system's persistent storage
Evidence preservation is needed for potential legal proceedings or HR investigations
Deleted files, browser history, or application artifacts must be recovered
A timeline of user or adversary activity must be reconstructed from file system metadata
Malware persistence mechanisms stored on disk need identification and documentation
Do not use for volatile evidence (running processes, network connections); use memory forensics with Volatility instead.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Forensic workstation with write-blocking hardware or software (Tableau T35u, Arsenal Image Mounter)
- Forensic imaging software: FTK Imager, Guymager, or dd with dcfldd
- Analysis platform: Autopsy, FTK (Forensic Toolkit), or X-Ways Forensics
- Sufficient storage (2-3x the target drive size for image plus working copies)
- Chain of custody forms and evidence bags for physical media
- Hash verification tools for evidence integrity (SHA-256)
Workflow
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Plan Operations — Define objectives, scope, and success criteria for disk forensics investigation operations.
- Prepare Environment — Set up tools, access, and data sources required for disk forensics investigation.
- Execute Core Workflow — Perform the disk forensics investigation operations following established procedures.
- Validate Results — Verify that results meet quality standards and objectives.
- Report Findings — Document results, observations, and recommendations.
- Follow Up — Track remediation actions and verify fixes where applicable.
Tools
- Analysis Platform — Data processing and visualization
- Collaboration Tools — Team coordination and knowledge sharing
Process
- Reconnaissance — Gather target information, identify attack surface, enumerate services
- Analysis/Exploitation — Execute the technique, analyze results, document findings
- Reporting — Document IOCs, write findings, provide remediation recommendations
Verification
Anti-Rationalization Table
| Rationalization |
Reality |
| "We are too small to be targeted" |
Automated attacks target everyone. Size does not matter. |
| "Security slows us down" |
A breach slows you down 100x more. Build security in from the start. |
| "We will fix it after launch" |
Vulnerabilities in production are exploited within hours. Fix before deploy. |
1---2name: performing-disk-forensics-investigation3description: 'Use when conducts disk forensics investigations using forensic imaging,4 file system analysis, artifact recovery, and timeline reconstruction to support5 incident response cases. Utilizes tools such as FTK Imager, Autopsy, and The Sleuth6 Kit for evidence acquisition, deleted file recovery, and artifact examination. Activates7 for requests involving disk forensics, hard drive analysis, forensic imaging, file8 recovery, evidence acquisition, or digital forensic investigation.910 ''.'11domain: cybersecurity12tags:13- disk-forensics14- forensic-imaging15- evidence-acquisition16- file-recovery17- chain-of-custody18subdomain: incident-response19mitre_attack:20- T107021- T102722- T103623- T156424version: 1.0.025author: oyi7726license: Apache-2.027nist_csf:28- RS.MA-0129- RS.MA-0230- RS.AN-0331- RC.RP-0132category: cybersecurity33metadata:34 source: https://skillmd.com/skills/oyi77/performing-disk-forensics-investigation35---3637# Performing Disk Forensics Investigation3839## Overview4041Cybersecurity skill for performing disk forensics investigation. Follows industry best practices and security standards.4243## When to Use44**Trigger phrases:**45- "performing disk forensics investigation"46- "Conducts disk forensics investigations using forensic imaging, file system analy"474849- A security incident requires forensic analysis of a system's persistent storage50- Evidence preservation is needed for potential legal proceedings or HR investigations51- Deleted files, browser history, or application artifacts must be recovered52- A timeline of user or adversary activity must be reconstructed from file system metadata53- Malware persistence mechanisms stored on disk need identification and documentation5455**Do not use** for volatile evidence (running processes, network connections); use memory forensics with Volatility instead.565758## When NOT to Use5960- When you lack proper authorization for testing61- For production systems without change management62- When the task requires legal or compliance expertise beyond technical scope636465## Prerequisites6667- Forensic workstation with write-blocking hardware or software (Tableau T35u, Arsenal Image Mounter)68- Forensic imaging software: FTK Imager, Guymager, or dd with dcfldd69- Analysis platform: Autopsy, FTK (Forensic Toolkit), or X-Ways Forensics70- Sufficient storage (2-3x the target drive size for image plus working copies)71- Chain of custody forms and evidence bags for physical media72- Hash verification tools for evidence integrity (SHA-256)7374## Workflow7576```python77# Example: IOC detection78import re7980IOC_PATTERNS = {81 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",82 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",83 "hash_md5": r"\b[a-f0-9]{32}\b",84 "hash_sha256": r"\b[a-f0-9]{64}\b",85}8687def extract_iocs(text: str) -> dict:88 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}89```90911. **Plan Operations** — Define objectives, scope, and success criteria for disk forensics investigation operations.922. **Prepare Environment** — Set up tools, access, and data sources required for disk forensics investigation.933. **Execute Core Workflow** — Perform the disk forensics investigation operations following established procedures.944. **Validate Results** — Verify that results meet quality standards and objectives.955. **Report Findings** — Document results, observations, and recommendations.966. **Follow Up** — Track remediation actions and verify fixes where applicable.9798## Tools99100- **Analysis Platform** — Data processing and visualization101- **Collaboration Tools** — Team coordination and knowledge sharing102103104## Process1051061. **Reconnaissance** — Gather target information, identify attack surface, enumerate services1071. **Analysis/Exploitation** — Execute the technique, analyze results, document findings1081. **Reporting** — Document IOCs, write findings, provide remediation recommendations109110## Verification111112- [ ] All disk forensics investigation procedures executed completely and documented113- [ ] Findings validated against multiple data sources114- [ ] False positives identified and filtered115- [ ] Results documented with evidence and timestamps116- [ ] Recommendations provided with risk-based prioritization117118## Anti-Rationalization Table119120| Rationalization | Reality |121|---|---|122| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |123| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |124| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |