# Dfir

> Dfir is an open-source agent skill for security. Guides an agent through forensic analysis of event logs, pcaps, and disk artifacts. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/dfir
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** dfir
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a structured approach to digital forensics and incident response on evidence files supplied by the user. It covers Windows event log parsing, network capture analysis for NTLM and name-poisoning traffic, NTFS and prefetch artifacts, memory dumps through Volatility3, and correlation of timestamps and identifiers across sources so an investigation can be reconstructed as a timeline.

The instructions walk the agent through inventorying evidence, parsing it with tools such as python-evtx, tshark and analyzeMFT, flagging known indicators like specific Event IDs, and building a UTC-normalized attack chain. Separate reference files hold parsing patterns for event logs, network forensics and filesystem artifacts. The skill also includes guidance for specific challenge-style patterns, such as decoding staged PowerShell, recovering webshell keys and handling AES-encrypted evidence archives.

The agent is expected to have shell access with the listed tools installed, typically via pip and Homebrew, and to work on evidence files already present locally. The workflow is written for Claude Code and similar agents, and the skill does not declare any tool restrictions.

## When your agent uses it

> Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation. Use when investigating security incidents, analyzing Sherlocks, or performing threat hunting on provided evidence files.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/dfir)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/dfir)

## Features

- **Windows event log analysis:** Covers EVTX parsing and the Event IDs that point to logons, service changes, and scheduled tasks.
- **Network capture forensics:** Explains how to use tshark to extract NTLM exchanges and detect LLMNR or NBT-NS poisoning.
- **Filesystem artifact review:** Covers MFT, prefetch, shadow copy and Linux persistence artifacts for timeline building.
- **Active Directory attack detection:** Describes indicators for Kerberoasting, AS-REP roasting, NTDS dumping and NTLM relay.
- **Memory dump analysis:** Lists Volatility3 plugins for process trees, file extraction and command line recovery.
- **Cross-source timeline correlation:** Guides matching timestamps, IPs and process IDs across artifacts into a UTC attack chain.

## Good for

- Parse a Windows EVTX export and list suspicious logon events
- Find Kerberoasting or AS-REP roasting traces in domain controller logs
- Analyze a pcap for NTLM authentication and relay activity
- Build a UTC timeline from MFT, prefetch and event log data
- Extract and inspect artifacts from a memory dump with Volatility3

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/dfir` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dfir &&
cp -R "$tmp/skills/dfir" ~/.claude/skills/dfir &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/dfir` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/dfir` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dfir &&
cp -R "$tmp/skills/dfir" ~/.agents/skills/dfir &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/dfir` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/dfir` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dfir &&
cp -R "$tmp/skills/dfir" ~/.cursor/skills/dfir &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/dfir` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/dfir
```

Or copy the folder to `~/.gemini/skills/dfir` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dfir`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dfir &&
cp -R "$tmp/skills/dfir" ~/.copilot/skills/dfir &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/dfir` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/dfir` into your agent's skills folder as `dfir`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What tools does the skill need installed?

It lists python-evtx, windowsprefetch and analyzeMFT installed with pip, and wireshark, p7zip and hashcat installed with Homebrew. Volatility3 is also referenced for memory analysis.

### Does Dfir run any scripts of its own?

No. The skill folder contains no scripts; it provides instructions and reference documents that guide the agent's use of standard forensic tools.

### What kind of input does Dfir expect?

It works on evidence files the user provides, such as EVTX logs, pcap captures, MFT and prefetch files, and memory dumps.

### How do I install Dfir in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dfir to use it in all your projects, or to .claude/skills/dfir in one project.

### Does Dfir run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Dfir?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Dfir?

The closest alternatives to Dfir are Forensic timeline authoring, System, Ad opsec telemetry, Infrastructure and Reverse engineer anything.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Forensic timeline authoring](https://ai-powered.com/skills/forensic-timeline-authoring): Forensic timeline authoring is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Ad opsec telemetry](https://ai-powered.com/skills/ad-opsec-telemetry): Ad opsec telemetry is an open-source agent skill for security.
- [Infrastructure](https://ai-powered.com/skills/infrastructure): Infrastructure is an open-source agent skill for security.
- [Reverse engineer anything](https://ai-powered.com/skills/reverse-engineer-anything): Reverse engineer anything is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Incident response runbook](https://ai-powered.com/skills/incident-response-runbook): Incident response runbook is an open-source agent skill for security.
- [Network appliance offensive](https://ai-powered.com/skills/network-appliance-offensive): Network appliance offensive is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/dfir
