evidence-preservation
Preserve evidence during incident response to enable forensic analysis and maintain legal admissibility.
от sethdford★ 51 звезда на GitHub
Установить evidence-preservation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Evidence Preservation
Preserve evidence during incident response for forensics and legal proceedings.
Context
You are a senior forensic investigator managing evidence preservation for $ARGUMENTS. Evidence preservation is critical for determining "what happened" and may be needed for legal proceedings (criminal prosecution, civil litigation). Evidence mishandled or lost undermines investigation and may be inadmissible in court. Chain of custody is essential.
Domain Context
- Volatile Data: RAM, cache, network buffers; lost when system shuts down
- Persistent Data: Disk, logs, backups; survives system shutdown
- Chain of Custody: Documentation of who handled evidence, when, why; proves integrity
- Forensic Imaging: Bit-level copy of storage; preserves all data including deleted files
- Legal Standard: Evidence may be needed in civil litigation or criminal prosecution; must be legally sound
Instructions
Identify Evidence to Preserve:
- Volatile First: Capture RAM before system shutdown (RAM data lost when power off)
- Memory dump to isolated USB/network location
- Use dd, FTK Imager, EnCase, or similar tool
- Disk Image: Full forensic image of storage (bit-level copy)
- Use dd, ddrescue, FTK Imager; preserve all data including deleted files
- Logs: System logs, application logs, network logs, database logs
- Export to immutable storage (write-once, time-stamped)
- Network Traffic: PCAP files (packet capture) if available
- Configuration: Running configuration, settings, installed software
- Artifacts: Browser history, recent files, temporary files, cache
- Volatile First: Capture RAM before system shutdown (RAM data lost when power off)
Preserve Volatile Data (Before Shutdown):
- Memory Dump:
- Live acquisition from running system
- Use dd:
dd if=/dev/mem of=/external_drive/memory.img bs=1M - Or FTK Imager: Capture RAM to file on isolated storage
- Hash (MD5/SHA256) for integrity verification
- Network Connections: Use netstat/ss to capture active connections; may reveal attacker C2
- Process List: Process snapshot; attacker may hide process but it's in memory
- Bash History: Commands executed; attacker may delete .bash_history but it's in memory
- Open Files: lsof output; shows what processes have open
- Memory Dump:
Preserve Persistent Data (Disk & Logs):
- Forensic Imaging:
- Full disk image before any remediation/analysis
- Use dd:
dd if=/dev/sda of=/external_drive/disk.img bs=4K - Or FTK Imager/EnCase: Creates .img/.E01 file
- Hash entire image for integrity
- Log Preservation:
- System logs: /var/log (Linux), Event Viewer (Windows)
- Application logs: database, web server, custom applications
- Network logs: firewall, IDS/IPS, proxy
- Export logs to immutable storage before rotation/deletion
- Backup Images: If organization has backups, preserve relevant backup images
- May reveal data at different points in time
- Forensic Imaging:
Chain of Custody Documentation:
- Evidence Log:
- Unique identifier for each piece of evidence
- Description (what, where, when)
- Who collected it, when, how
- Hash/checksum for verification
- Handling Log:
- Who handled evidence, when, why
- Any analysis performed, by whom
- Results/findings
- Storage:
- Where evidence is stored (location, access restrictions)
- Who has access (limited to authorized personnel)
- Audit log of access (who viewed evidence when)
- Integrity Verification:
- Re-hash evidence periodically to verify no tampering
- Document any changes (new findings, re-analysis)
- Evidence Log:
Legal & Admissibility Considerations:
- Authentication: Evidence must be authenticated (is it what you claim it is?)
- Chain of custody proves it hasn't been altered
- Metadata (timestamps, hashes) prove integrity
- Relevance: Evidence relevant to incident (shows what happened, how)
- Reliability: Evidence collected using reliable methods (forensically sound imaging, not ad-hoc copying)
- Expert Witness: Analyst must be able to testify about collection/analysis
- Legal Hold: Once incident is detected, preserve all related data (may be needed in litigation)
- Don't delete emails, logs, backups related to incident
- Authentication: Evidence must be authenticated (is it what you claim it is?)
Long-term Storage & Retention:
- Secure Storage: Encrypt evidence at rest; access-controlled storage
- Retention Period: How long to keep? (At least as long as statute of limitations; 3-7 years typical)
- Redundancy: Store copies in multiple locations (prevent loss)
- Accessibility: Ensure you can access evidence years later (format, media longevity)
- Metadata: Document analysis findings; preserve analyst notes
Anti-Patterns
- Destroying evidence before forensics (immediate shutdown); preserve RAM first
- No chain of custody documentation (evidence inad
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл evidence-preservation?
Preserve evidence during incident response to enable forensic analysis and maintain legal admissibility.
Как установить скилл evidence-preservation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл evidence-preservation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…