Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation.

MITAuto-check passedSecurity

Install Dfir

skills CLI
$ npx skills add transilienceai/communitytools --skill dfir -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install transilienceai/communitytools dfir --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/transilienceai/communitytools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dfir .claude/skills/dfir && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dfir
GitHub stars
562
Token cost
~1.5k tokens
SKILL.md length
685 words
Files
37
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation.

  • Works in 6 steps: Inventory evidence — List all artifacts… → Parse structured data — EVTX with… → Identify attack indicators — Key Event… → …
  • Investigating security incidents
  • SKILL.md covers Techniques, Workflow, Tools and Quick Reference: Key Event IDs, plus 2 more sections
  • Calls pip and brew; reaches schemas.microsoft.com

What it does

Dfir is an agent skill from transilienceai/communitytools. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 41 other files (for example `reference/INDEX.md`, `reference/c2-traffic-decryption.md` and `reference/dfir-principles.md`).

It sits in Security, covering Digital forensics and Security operations. It works with Wireshark. The repository describes itself as: Open-source Claude Code skills, agents, and slash commands for AI-powered penetration testing, bug bounty hunting, and security research. The licence is MIT.

When your agent uses it

  • Investigating security incidents
  • Analyzing Sherlocks
  • Performing threat hunting on provided evidence files

Example prompts

  • “/dfir”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Inventory evidence — List all artifacts (EVTX, pcap, MFT, prefetch, registry)
  2. Parse structured data — EVTX with python-evtx, pcap with tshark, MFT with analyzeMFT
  3. Identify attack indicators — Key Event IDs, suspicious traffic patterns, anomalous files
  4. Correlate across sources — Match timestamps, IPs, LogonIDs, and process IDs across artifacts
  5. Reconstruct timeline — Build chronological attack chain with UTC timestamps
  6. Answer investigative questions — Map findings to specific incident response queries

What it can do on your machine

Read from SKILL.md and the folder at commit 95fdc12. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • schemas.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dfir loads about 1.5k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 685 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from transilienceai/communitytools at commit 95fdc12, republished under its MIT licence (© transilienceai). 685 words, ~1,523 tokens.

Download SKILL.mdSave it as .claude/skills/dfir/SKILL.md (or your agent's skills folder). This skill also uses 36 other files; get the full folder from GitHub.
name
dfir
description
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.

DFIR

Investigate security incidents by analyzing event logs, network captures, and filesystem artifacts. Detect and reconstruct AD attack chains.

Techniques

DomainKey Capabilities
Windows Event LogsEVTX parsing, Event ID correlation, logon tracking, privilege enumeration
Network ForensicsPCAP analysis, NTLM extraction, LLMNR/NBT-NS poisoning detection, relay identification
Filesystem ForensicsMFT parsing, Prefetch analysis, VSS artifact recovery, Linux persistence, timeline reconstruction
AD Attack DetectionKerberoasting, AS-REP roasting, NTDS dump, NTLM relay, credential theft
Memory ForensicsVolatility3 analysis: process trees, file extraction, SID resolution, command lines
Hash AnalysisNTLMv2 hash construction from pcap, offline cracking validation

Workflow

  1. Inventory evidence — List all artifacts (EVTX, pcap, MFT, prefetch, registry)
  2. Parse structured data — EVTX with python-evtx, pcap with tshark, MFT with analyzeMFT
  3. Identify attack indicators — Key Event IDs, suspicious traffic patterns, anomalous files
  4. Correlate across sources — Match timestamps, IPs, LogonIDs, and process IDs across artifacts
  5. Reconstruct timeline — Build chronological attack chain with UTC timestamps
  6. Answer investigative questions — Map findings to specific incident response queries

Tools

bash
pip install python-evtx windowsprefetch analyzeMFT
brew install wireshark p7zip hashcat
ToolPurpose
python-evtxParse Windows .evtx files
tsharkCLI pcap analysis (NTLM, LLMNR, SMB filters)
analyzeMFTParse NTFS Master File Table
windowsprefetchParse Windows prefetch files (Windows host only)
hashcatHash cracking (NTLMv2 mode 5600, Kerberos mode 13100/18200)
volatility3Memory dump analysis (pstree, filescan, dumpfiles, getsid, cmdline)
7zExtract AES-encrypted evidence ZIPs

Quick Reference: Key Event IDs

Event IDLogIndicates
4624SecuritySuccessful logon (check Type + IP mismatch)
4768SecurityTGT request (PreAuthType=0 → AS-REP roast)
4769SecurityTGS request (EncType=0x17 → Kerberoast)
4799SecurityGroup membership enumerated (VSS/ntdsutil)
5140SecurityNetwork share accessed
7036SystemService state change (VSS start → NTDS dump)
325/326/327ApplicationESENT database create/detach/close
330ApplicationESENT database file info
3006/3008DNS Client EventsDNS query sent/response received (malicious domain lookups)
106/200Task SchedulerScheduled task created/executed (persistence via schtasks)

Reference

Show full SKILL.md (364 more words)Show less

Critical Rules

  • Answer formatting: When forensics questions ask for "the value" of a code variable (e.g., PHP $shell), include language-specific string delimiters and terminators (e.g., 'value'; not just value). Check placeholder hints for format clues.
  • For malicious Office OOXML, inspect more than VBA streams: attackers may split staged Base64 or script content across drawing/object descriptors, shared strings, named cells, and hidden UserForm control captions/values.
  • When a VBA byte array starts with an fnstenv/pop decoder stub, convert signed integers to raw bytes and test a Shikata-style rolling XOR decode before treating the shellcode as corrupt.
  • For legacy Excel BIFF/XLS malware, inspect BOUNDSHEET records for hidden or very hidden worksheets and specifically check for Excel 4.0 macro sheets; changing the hidden-state byte or parsing the sheet directly can expose staged strings and flag fragments that never appear in normal workbook views.
  • For webshell traffic in PCAPs, recover static keys from the uploaded server-side code first, then decrypt operator tasking before chasing later payloads; if a dropped XOR key file is referenced by a shellcode stage, verify where the encoded region actually starts instead of XORing the whole blob from offset zero.
  • PowerShell stager pattern (in-place reverse + base64 + IEX): when a stage-1 PS script does [array]::Reverse($charArr) followed by FromBase64String("$charArr"), the -join line is often a red herring — string interpolation of a char array uses $OFS=' ' and FromBase64String tolerates whitespace. Reverse the original base64 string (not the joined-with-spaces version) and decode to get stage 2.
  • Multi-fragment flag exfil: forensic challenges may split a flag across (a) a hardcoded $partN in the malware that is defined but never referenced (often base64'd), and (b) a field of the captured C2 POST body. Decrypt the body with the static AES key from the leaked stage-2 source (PowerShell Encrypt-String puts IV‖ciphertext then base64-wraps); inspect every JSON field for further base64.
  • All timestamps in UTC — convert from local time zones in pcap/logs. AM/PM trap: 12:XX AM = 00:XX (midnight), 12:XX PM = 12:XX (noon). 12 AM ≠ 01:00.
  • Parse EVTX with python-evtx (XML namespace: http://schemas.microsoft.com/win/2004/08/events/event)
  • Use tshark for pcap (not scapy for large files) — filter with -Y display filters
  • Decompress Win10 prefetch (MAM\x04 header) with dissect.util.compression.lzxpress_huffman
  • For AES-encrypted ZIPs (compression method 99), use 7z not unzip

© transilienceai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 36 other files in skills/dfir of transilienceai/communitytools.

  • SKILL.md
  • reference/INDEX.md
  • reference/c2-traffic-decryption.md
  • reference/dfir-principles.md
  • reference/filesystem-forensics.md
  • reference/network-forensics.md
  • reference/scenarios/ad-attack-detection/dcsync-detection.md
  • reference/scenarios/ad-attack-detection/golden-ticket-detection.md
  • reference/scenarios/ad-attack-detection/kerberos-roast-detection.md
  • reference/scenarios/ad-attack-detection/lateral-movement-indicators.md
  • reference/scenarios/filesystem/lnk-file-analysis.md
  • reference/scenarios/filesystem/ntfs-mft-analysis.md
  • reference/scenarios/filesystem/prefetch-analysis.md
  • reference/scenarios/filesystem/shellbags-userassist.md
  • reference/scenarios/filesystem/timeline-creation.md
  • reference/scenarios/log-analysis/linux-auth-logs.md
  • … and 21 more

Open the folder on GitHubat commit 95fdc12

Compare with similar skills

Dfir next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dfir compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dfir this skilltransilienceai/communitytools562—~1.5kAutomated safety check: PassMIT
TShark Traffic AnalysisAgentSecOps/SecOpsAgentKit2201 repos~4.8kAutomated safety check: NotesCustom licence
Network Covert Channel Analysismukul975/Anthropic-Cybersecurity-Skills34k—~2kAutomated safety check: PassApache-2.0
Forensics OsqueryAgentSecOps/SecOpsAgentKit2201 repos~4.9kAutomated safety check: NotesCustom licence
Performing Network Packet Capture Analysismukul975/Anthropic-Cybersecurity-Skills34k—~2.3kAutomated safety check: PassApache-2.0
Detecting Arp Poisoning In Network Trafficmukul975/Anthropic-Cybersecurity-Skills34k—~3.8kAutomated safety check: NotesApache-2.0

Similar skills

  • TShark Traffic Analysis

    AgentSecOps/SecOpsAgentKit

    Guides authorized packet capture and analysis with TShark, Wireshark's command-line tool, for security investigations, malware detection and forensic examination of network traffic.

    220 GitHub starsUsed in 1 repo~4.8k tokens
    SecurityAuto-check: notes
  • Network Covert Channel Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Detects DNS tunneling, ICMP exfiltration and HTTP-based covert channels in packet captures and DNS logs when hunting for hidden command-and-control traffic.

    34k GitHub stars~2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Forensics Osquery

    AgentSecOps/SecOpsAgentKit

    SQL-powered forensic investigation and system interrogation using osquery to query operating systems as relational databases.

    220 GitHub starsUsed in 1 repo~4.9k tokens
    SecurityAuto-check: notes
  • Performing Network Packet Capture Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Perform forensic analysis of network packet captures (PCAP/PCAPNG) using Wireshark, tshark, and tcpdump to reconstruct network communications, extract transferred files, identify malicious traffic…

    34k GitHub stars~2.3k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Detecting Arp Poisoning In Network Traffic

    mukul975/Anthropic-Cybersecurity-Skills

    Detect Layer 2 ARP poisoning/spoofing by deploying ARPWatch, Dynamic ARP Inspection (DAI), Wireshark packet analysis, and custom Python monitoring scripts that flag gratuitous ARP floods, IP-to-MAC…

    34k GitHub stars~3.8k tokensUpdated 1 mo ago
    SecurityAuto-check: notes
  • Analyzing Network Traffic For Incidents

    mukul975/Anthropic-Cybersecurity-Skills

    Analyzes network traffic captures and flow data to identify adversary activity during security incidents, including command-and-control communications, lateral movement, data exfiltration, and…

    34k GitHub stars~2.6k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from transilienceai/communitytools

All 35 skills in this repo
  • GitHub Workflow

    transilienceai/communitytools

    GitHub workflow automation — branching, committing, pushing, pull requests, issues, and code review.

    562 GitHub stars~812 tokensUpdated 2 mo ago
    Auto-check: notes
  • Pci Secure Software

    transilienceai/communitytools

    Automated PCI Secure Software Standard (SSS) v2.0 readiness gap-assessment of an application from its source code and documentation.

    562 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Protect With Password

    transilienceai/communitytools

    Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type).

    562 GitHub stars~583 tokensUpdated 2 mo ago
    Auto-check passed
  • Skill Update

    transilienceai/communitytools

    Skill creation, update and management — generates skill directory structure, validates against best practices, enforces line count limits.

    562 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Source Code Scanning

    transilienceai/communitytools

    Security-focused source code review and SAST. An agent skill from transilienceai/communitytools.

    562 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Transilience Report Style

    transilienceai/communitytools

    Generate a Transilience-branded PDF report (pentest, vuln assessment, compliance, threat intel) from a single findings JSON using the bundled ReportLab generator.

    562 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Dfir

What does Dfir do?

Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation. Dfir is an agent skill from transilienceai/communitytools. Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation.

When should I use Dfir?

Dfir fits situations like: investigating security incidents; analyzing Sherlocks; performing threat hunting on provided evidence files.

How do I install Dfir in Claude Code?

Run `npx skills add transilienceai/communitytools --skill dfir -a claude-code`. Or copy the skill folder (skills/dfir in transilienceai/communitytools) into .claude/skills/dfir in your project. Claude Code loads it when a task matches its description.

How do I install Dfir in Codex?

Run `npx skills add transilienceai/communitytools --skill dfir -a codex`. Or copy the skill folder (skills/dfir in transilienceai/communitytools) into .agents/skills/dfir in your project. Codex loads it when a task matches its description.

Can I use Dfir in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add transilienceai/communitytools --skill dfir -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dfir, .gemini/skills/dfir, .github/skills/dfir and .opencode/skills/dfir in your project.

What does Dfir need to run?

Going by SKILL.md and its folder, Dfir needs the command-line tools its instructions call (pip and brew). Our summary lists: Python 3.

Does Dfir access the network?

SKILL.md names 1 domain. In commands or code: schemas.microsoft.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Dfir safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dfir use?

Dfir is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dfir use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dfir?

Skills that share tags, products or a category with Dfir: TShark Traffic Analysis (AgentSecOps/SecOpsAgentKit, 220 stars), Network Covert Channel Analysis (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Forensics Osquery (AgentSecOps/SecOpsAgentKit, 220 stars) and Performing Network Packet Capture Analysis (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dfir?

transilienceai (a GitHub organization) maintains it in transilienceai/communitytools, which has 562 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on July 29, 2026.

Source: transilienceai/communitytools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.