roodlicht/accans-sec-skills/forensics-assist
Claude Code and agent skill by roodlicht/accans-sec-skills
- community
Checking that the SKILL.md file is still in the repository.
Digital-forensics assistant for IR context — memory analysis via Volatility 3, disk-imaging hygiene (write-blocker, hash validation), timeline reconstruction via plaso/log2timeline, file-system artifacts per OS. Audit-grade evidence; courtroom-grade chain of custody requires additional specialized forensics work.
Install
npx vskill@latest install roodlicht/accans-sec-skills/forensics-assistSKILL.md
The same SKILL.md was published earlier as roodlicht/accans-sec-skills/forensics-assist.
Forensics Assist
Audit-grade vs. forensics-grade: this skill supports incident-response-grade investigation with evidence that can later be supplemented for legal proceedings, but it is not on its own a fully chain-of-custody-certified forensics output. Specialized forensic teams (an internal forensics cell or an external partner such as Fox-IT or Northwave) handle the courtroom-grade work where required. The skill structures hash validation, write-blocker discipline, and timeline reconstruction so the output is usable for IR plus any follow-up forensics.
When to use
An incident often calls for forensic investigation in parallel with IR action. This skill provides the practical lens for the blue-team side: what you capture, how you analyse it, and what you hand off to IR or specialized forensics.
Triggers on:
- A question like "memory analysis on this dump", "disk-image hygiene check", "build a timeline from this event log + filesystem", "what is known from MFT", "Volatility plugin choice".
- A handoff from
ir-runbook(forensics step inside the response),malware-triage(memory-extracted binary),log-triage(host investigation after an anomaly). - A suspect host snapshot where you must determine "what happened, how far did it go, how long has it been there".
- Periodic training or post-incident review where a sample investigation is repeated.
When NOT (handoff)
- Courtroom-grade forensics → specialized team. This skill is operational-grade.
- Reverse engineering a sample in detail →
malware-triage. - IR coordination itself →
ir-runbook. - Detection-rule building from findings →
detection-engineer. - IOC extraction and sharing →
ioc-hunter. - Cloud forensics specifically (AWS snapshots, Azure disk export, M365 eDiscovery): partly in scope (interpreting artifacts), provider-specific workflows coordinated with the cloud team.
- E-Discovery for litigation → legal team plus specialized tooling (Relativity, Nuix).
Approach
Six phases. Phase 1 (acquisition discipline) is where evidence value is preserved; phase 4 (timeline) is where forensic work becomes a story.
1. Acquisition: hygiene and chain
Foundation. A corrupted-acquisition disk makes later analysis untrustworthy.
- Write blocker for disk acquisition: hardware blocker (Tableau, Wiebetech, CRU) or software write blocker if hardware is not available. Goal: do not modify the source disk.
- Hash validation: compute the source hash before and after imaging via FTK Imager / dd / Guymager. If the hashes match, the image is bit-identical to the source at that moment.
- Image formats: raw
.dd, EnCase.E01(compressed + metadata), AFF4. For IR context, typically.ddor.E01. - Memory acquisition before power-off where possible: WinPMEM (Windows), AVML (Linux), osxpmem (macOS). Memory holds process info, network state, decrypted data — destroyed at shutdown.
- Live-response data as an alternative to a full image where full is impossible: KAPE (Kroll Artifact Parser/Extractor) for targeted artifact collection, Velociraptor for live collection across an endpoint fleet.
- Chain-of-custody record: who collected, when, how transferred, who had access. Sufficient for audit-grade; for evidentiary-grade more discipline is needed (signed, witness present, dual control).
Output of phase 1: hash-confirmed image plus collection log. Only then begin analysis.
2. Memory analysis with Volatility 3
Volatility 3 is the open-source standard.
Plugin categories to walk through by default:
- Process state: pslist, pstree, psscan (carved), psxview (cross-source), malfind (process injection).
- Network: netscan, netstat (kernel state).
- DLL/handle: dlllist, handles, modules.
- Registry from memory: windows.registry.printkey, hashdump.
- Filesystem: filescan, dumpfiles.
- Userland: cmdline, getsids, sessions.
For Linux: linux.pslist, linux.netstat, linux.bash (bash history from memory), linux.malfind. For macOS: mac.pslist, mac.netstat, etc.
Memory evidence is volatile — once dumped, it is a snapshot. Document the capture time carefully.
3. Disk analysis and filesystem artifacts
Artifacts differ per OS. Top sources to consult by default:
Windows:
- MFT (Master File Table) — record of all file creates/changes.
MFTECmd(Eric Zimmerman tools) parses to timeline-friendly output. - USN journal — change log of NTFS, faster to age out.
- Event logs (
%SystemRoot%\System32\winevt\Logs\*.evtx): Security, System, Application, plus the PowerShell log, Sysmon log, RDP log. - Registry hives: SOFTWARE, SYSTEM, SAM, NTUSER.DAT, USRCLASS.DAT. RegRipper for parsing.
- Prefetch (
%SystemRoot%\Prefetch\*.pf): execution history. PECmd for parsing. - Shimcache / AmCache: app-execution evidence.
- LNK files in Recent: file-access history.
- Browser history: per-browser SQLite databases.
- ShellBags (registry): folder-navigation evidence.
- SRUM (System Resource Usage Monitor): per-process resource usage with timestamps.
Linux:
- bash_history + zsh_history.
- /var/log/auth.log, syslog, journald (
journalctl). - inotify events where configured.
- systemd journal for unit execution.
- crontab + at-jobs for persistence.
- last/wtmp for login history.
macOS:
- Unified logs (
log show --predicate ...). - plist files for LaunchAgents/LaunchDaemons.
- FSEvents for filesystem changes.
- Quarantine database for downloaded-files tracking.
Tool packages: KAPE targets per OS, Eric Zimmerman tools (MFTECmd, RECmd, EvtxECmd, AmcacheParser, etc.), Plaso/log2timeline for a unified timeline.
4. Timeline reconstruction
A timeline turns forensic work into story. plaso/log2timeline aggregates artifacts into one timeline.
Discipline:
- Time-zone discipline: all artifacts to one time zone (UTC default in Plaso). Per-source clocks may drift — document.
- Pivot points: a known-suspect event (a specific process execution, a log anomaly) as anchor. Work N minutes before and after.
- Multi-source: filesystem + registry + event logs + browser data together tell the story. A single-source timeline lacks context.
- Visualization: Timesketch (open-source, by Google), or CSV in Excel/Tableau for smaller datasets.
- Anti-forensics aware: timestomping (T1070.006), log clearing (T1070.001) — if the artifact timeline is inconsistent, possibly tampered. Document.
5. Reporting and handoff
Output fits in the ir-runbook incident log or as an appendix to a pentest-reporter-style finding. Structure:
- Acquisition context: source, method, hash confirmation, time of capture.
- Top findings prioritized by IR impact: persistence, lateral-movement evidence, data-exfil evidence, malware presence.
- Timeline around pivot events.
- Open questions for specialized forensics if courtroom-grade is needed.
- Recommendations for cleanup and re-image-or-restore strategy.
6. Verification-loop
Layer 1: scope (all expected artifacts checked for the OS, no single-source tunnel vision?), assumptions (capture time zone documented, pre/post hashes match?), gaps (anti-forensics possibilities considered?). Layer 2: tool names against current versions (Volatility 2 vs 3, Plaso syntax changes), filesystem-artifact names correct (Windows evolution between 10/11; macOS artifacts between Catalina/Ventura/Sonoma), no invented registry paths.
Output
References
- Volatility 3 — https://github.com/volatilityfoundation/volatility3. Memory-analysis framework.
- Plaso / log2timeline — https://plaso.readthedocs.io/. Timeline reconstruction.
- Timesketch — https://timesketch.org/. Collaborative timeline analysis.
- Eric Zimmerman tools — https://ericzimmerman.github.io/. MFTECmd, RECmd, EvtxECmd, AmcacheParser, PECmd. Free, quality standard for Windows forensics.
- KAPE — https://www.kroll.com/en/services/cyber-risk/incident-response-litigation-support/kroll-artifact-parser-extractor-kape. Live-response artifact collection.
- Velociraptor — https://docs.velociraptor.app/. Endpoint-fleet collection and hunting.
- SANS DFIR posters — https://www.sans.org/posters/. Per-OS artifact-overview posters.
- NIST SP 800-86 — https://csrc.nist.gov/pubs/sp/800/86/final. Guide to Integrating Forensic Techniques into Incident Response.
- MITRE ATT&CK — Defense Evasion (anti-forensics) — https://attack.mitre.org/tactics/TA0005/. T1070-class.
- NCSC-NL forensic-readiness guideline — https://www.ncsc.nl/. NL context.
Categories
- blue
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/forensics-assist/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/roodlicht/accans-sec-skills/forensics-assist)