Blue team digital forensics and incident response

From oyi77/1ai-skills · View interactive version

Blue team digital forensics and incident response is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when conducting forensic endpoint investigation, disk artifact analysis, partition recovery, and incident response operations using SANS SIFT, Autopsy, The Sleuth Kit, TestDisk, Extundelete, and Recuva to reconstruct adversary activity and restore compromised systems.

How to use this skill

Skill file

Blue Team Digital Forensics and Incident Response

Process

  1. Scope by threat model.
  2. Select tool category index.
  3. Validate prerequisites.
  4. Execute operational guidance.
  5. Verify with checklist.

Overview

Cybersecurity playbook for digital forensics and incident response (DFIR). Covers raw disk acquisition, file carving, memory analysis, partition and file recovery, and post-incident timeline reconstruction.

mkdir -p /cases/ir-001 && dd if=/dev/sda of=/cases/ir-001/disk.raw bs=4M conv=noerror,sync
md5sum /cases/ir-001/disk.raw > /cases/ir-001/disk.raw.md5
mmls /cases/ir-001/disk.raw
fls -r -o <offset> /cases/ir-001/disk.raw > /cases/ir-001/timeline.fls
icat -o <offset> /cases/ir-001/disk.raw <inode> > /cases/ir-001/recovered.bin

When to Use

Trigger phrases:

When NOT to Use

Prerequisites

Forensic Toolkit

SANS SIFT Workstation

Comprehensive forensic environment featuring:

Autopsy Platform

Extensible open-source digital forensics graphical interface:

The Sleuth Kit (TSK)

Command-line file system analysis library:

Data Recovery

TestDisk & PhotoRec

Extundelete

Utility to recover deleted files from an ext3 or ext4 partition using journal logs and inode references.

Recuva

Windows-based recovery utility for fat/NTFS drives, applicable to uncorrupted storage volumes.

Anti-Rationalization Table

| IR Excuse | Flawed Rationalization | Required Discipline |

|---|---|---|

| "Just re-image the system to save time" | "Re-imaging restores service fastest." | Erasing the disk destroys critical evidence and leaves root cause unidentified; image first with write-blocker, then re-image. |

| "Analyze evidence directly on the source drive" | "Mounting read-only is safe enough." | Always operate on bit-stream forensic copies (E01/DD) with verified SHA-256 hashes to maintain chain of custody. |

| "Automated timeline tools catch everything" | "Plaso does all the work." | Automated parsers miss bespoke persistence; manually review MFT, Shimcache, and Shellbags for execution confirmation. |

Verification Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.