agent-supply-chain-aud…
Audit the extensions AI coding agents load and trust (skills, plugins, marketplaces, hooks, settings, MCP servers, and…
Analyze disk images, file systems, and memory captures for digital evidence recovery in forensic investigations and CTF challenges. Use when the user mentions 'disk forensics,' 'forensic analysis,' 'disk image,' 'file carving,' 'deleted files,' 'evidence recovery,' 'timeline
Claude Code
$ npx -y skills add briiirussell/cybersecurity-skills --skill disk-forensics --agent claude-code
Codex
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a codex -y
Cursor
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a cursor -y
Gemini CLI
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a gemini-cli -y
GitHub Copilot
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a github-copilot -y
OpenCode
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a opencode -y
Windsurf
$ npx skills add briiirussell/cybersecurity-skills --skill disk-forensics -a windsurf -y
name: disk-forensics description: "Analyze disk images, file systems, and memory captures for digital evidence recovery in forensic investigations and CTF challenges. Use when the user mentions 'disk forensics,' 'forensic analysis,' 'disk image,' 'file carving,' 'deleted files,' 'evidence recovery,' 'timeline analysis,' 'memory forensics,' 'volatility,' 'autopsy,' 'sleuthkit,' 'plaso,' 'log2timeline,' 'artifact analysis,' 'chain of custody,' or needs to examine a forensic image." allowed-tools: Read, Grep, Glob, Bash(file:*), Bash(sha256sum:*), Bash(fdisk -l:*), Bash(mmls:*), Bash(fsstat:*), Bash(fls:*), Bash(icat:*), Bash(strings:*)
Analyze disk images and file systems to recover evidence, reconstruct timelines, and identify artifacts.
Cross-references: `incident-triage` for the upstream containment phase that captures the image this skill analyzes — that skill makes the bit-for-bit copy; this skill analyzes it. `breach-patterns` for translating the forensic findings into preemptive controls so the same root cause doesn't recur. `malware-triage` for files recovered from the image that need a verdict.
Before analyzing any image, confirm: 1. **Lawful basis** — the user has authorization for this analysis (internal investigation with documented scope, court-ordered work, signed IR engagement, your own system, CTF / lab environment) 2. **Chain of custody is preserved** — the image and its hashes were captured in a way that survives evidentiary scrutiny, OR the scope is explicitly non-evidentiary (CTF, internal triage where chain-of-custody is not the goal) 3. **Privacy scope** — the analysis stays within what was authorized; personal data outside the scope is not pulled, analyzed, or reported
If lawful basis is unclear, ask before proceeding. Never analyze an image you cannot confirm the user is authorized to possess.
Identify the image format and verify integrity:
file <image> # Identify format (E01, dd/raw, VMDK, VHD) sha256sum <image> # Compare to provided hash
For E01 images, use `ewfinfo` to extract metadata.
Examine the partition structure:
fdisk -l <image> # Partition table mmls <image> # Sleuth Kit partition layout
Calculate mount offsets: `sector_start × sector_size`
Mount read-only and survey the file system:
mount -o ro,loop,offset=<bytes> <image> /mnt/evidence ls -laR /mnt/evidence
For encrypted volumes, identify the encryption type and request the key/passphrase.
fsstat -o <offset> <image> # File system details fls -r -o <offset> <image> # Full file listing (deleted files marked with *) icat -o <offset> <image> <inode> # Extract specific file by inode
**Deleted files:** Use `fls` to find (marked with `*`), `icat` to extract by inode.
**File carving:** Run `foremost` or `scalpel` on unallocated space to recover files by header signatures.
**Hidden data:**
**System artifacts:**
exiftool <file> # EXIF, XMP, IPTC metadata stat <file> # MAC times (Modified, Accessed, Changed)
For NTFS: examine `$MFT` timestamps and `$UsnJrnl` for change journal entries.
Use `mactime` (Sleuth Kit) to generate a unified timeline from body files.
strings <image> | grep -i <keyword> # Raw string search across image
Use `bulk_extractor` for automated extraction of emails, URLs, credit card numbers, and other structured data.
Collect all timestamps into a unified timeline. Cross-reference file events with log entries. Flag anomalies:
# Forensic Analysis Report ## Case: [identifier] ## Image: [filename] — SHA256: [hash] ## Date of Analysis: [date] ### Image Integrity - Hash verified: [yes/no] - Algorithm: [SHA256] ### Partition Layout | # | Type | Start | Size | File System | |---|------|-------|------|-------------| ### Key Findings #### Finding 1: [Title] - **Evidence:** [file path or artifact] - **Content:** [description] - **Timestamp:** [UTC] - **Significance:** [why this matters] ### Recovered Files | File | Source | Recovery Method | SHA256 | Significance | |------|--------|-----------------|--------|-------------| ### Timeline | Timestamp (UTC) | Event | Source | Notes | |-----------------|-------|--------|-------| ### Conclusions [Summary of findings and their implications]
A collection of cybersecurity skills for AI coding agents. The AI does the heavy lifting; you bring the context about your stack and your priorities.
Audit the extensions AI coding agents load and trust (skills, plugins, marketplaces, hooks, settings, MCP servers, and…
Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance,…
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023). Use when the user mentions 'API security,' 'API…
Learn from public breach disclosures — extract the audit question each one implies and turn it into a checklist for your own…
Test an authorized web application for business-logic flaws and race conditions — the classes scanners cannot find. Model…
Audit CI/CD pipelines (GitHub Actions; GitLab CI and CircleCI briefly) for paths giving an outsider code execution, secrets or a…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…