Skip to content
Skillpedia
Analysis & spreadsheets35k · #5775

generating-forensic-timelines-with-hayabusa

Lets your agent create security event timelines from Windows logs. This helps quickly understand what happened during an incident, even without a SIEM system.

What it does

This tool analyzes Windows log files (.evtx) to find suspicious activities. It organizes events into a chronological timeline, making it easier to identify potential attacks or issues.

When to use it

  • ✓When you have many Windows log files and need to quickly find important events.
  • ✓To investigate a security incident and understand what happened.
  • ✓To check for malicious activities like PowerShell usage or credential theft attempts.

Example of what to ask your AI

“Analyze these Windows log files and create a timeline of suspicious events.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/generating-forensic-timelines-with-hayabusa/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/generating-forensic-timelines-with-hayabusa/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool uses a set of rules (called Sigma) to identify patterns of dangerous activities in the logs. It then presents the results in an easy-to-read format, like a table (CSV) or a JSON file.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill generating-forensic-timelines-with-hayabusa

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/generating-forensic-timelines-with-hayabusa/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Generating Forensic Timelines with Hayabusa

Overview

Hayabusa (隼, Japanese for "peregrine falcon") is a Sigma-based threat-hunting and fast-forensics timeline generator for Windows event logs, developed by Yamato Security in Rust. It parses .evtx files (offline or via live analysis of a local host), applies a large built-in library of Sigma detection rules plus Hayabusa-specific rules, and produces a single, readable, chronological timeline of high-signal events with severity levels, MITRE ATT&CK tactics, and rule references. This collapses thousands of raw event-log records into a prioritized incident timeline that an analyst can review quickly.

Hayabusa is purpose-built for DFIR triage. Instead of loading EVTX into a SIEM, an investigator runs a single binary against a directory of collected logs and gets a CSV or JSON timeline plus metrics (events per computer, per Event ID, per channel). Because detections are Sigma-based, coverage tracks the open detection-engineering community, and rules can be updated on demand with update-rules. The tool's output integrates with downstream analysis: CSV opens in Timeline Explorer, JSONL feeds into jq, and timesketch-* profiles export directly into Timesketch.

A frequent finding in Hayabusa timelines is malicious PowerShell — MITRE ATT&CK T1059.001 (Command and Scripting Interpreter: PowerShell) — surfaced via Sigma rules over Event ID 4104 (script-block logging), 4103, and Sysmon process creation. This skill maps to NIST CSF RS.AN-03 (analysis is performed to establish what has taken place during an incident).

When to Use

  • During incident-response triage, to turn a pile of collected .evtx files into a prioritized timeline.
  • When you need fast, SIEM-free detection over Windows event logs with community Sigma coverage.
  • To enumerate suspicious activity (PowerShell, account changes, lateral movement) across many hosts' logs.
  • To produce metrics (events per computer/Event ID/channel) and pivot keywords for deeper hunting.
  • To export an incident timeline into Timesketch or Timeline Explorer for collaborative analysis.

Prerequisites

  • Hayabusa binary. Download a pre-compiled release (Windows/Linux/macOS) from GitHub:
    # Linux example
    curl -LO https://github.com/Yamato-Security/hayabusa/releases/latest/download/hayabusa-3.0.0-lin-x64-gnu.zip
    unzip hayabusa-*.zip && cd hayabusa-*
    ./hayabusa-3.0.0-lin-x64-gnu --version
    
    Or build from source (rules are a submodule):
    git clone https://github.com/Yamato-Security/hayabusa.git --recursive
    cd hayabusa && cargo build --release
    
  • Collected Windows .evtx files (or run with --live-analysis on the host, as Administrator).
  • Updated detection rules:
    ./hayabusa update-rules
    
  • Optional: Timeline Explorer (Windows) or Timesketch for visualizing output; jq for JSONL.

Objectives

  • Build a CSV or JSON forensic timeline from a directory of .evtx files.
  • Update and tune the Sigma rule set used for detection.
  • Select an output profile appropriate to the investigation (minimal vs. verbose vs. timesketch).
  • Generate metrics (computer, Event ID, log) and pivot keywords for hunting leads.
  • Filter the timeline by minimum severity to focus triage.
  • Search logs for specific IOCs by keyword or regex.

MITRE ATT&CK Mapping

Technique ID Official Name Why Hayabusa Detects It
T1059.001 Command and Scripting Interpreter: PowerShell Sigma rules over Event IDs 4104/4103 and Sysmon flag malicious PowerShell
T1059.003 Command and Scripting Interpreter: Windows Command Shell Rules over process-creation events surface suspicious cmd usage
T1078 Valid Accounts Logon events (4624/4625/4672) reveal anomalous authentication
T1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder Rules over registry-modification events flag persistence
T1053.005 Scheduled Task/Job: Scheduled Task Event ID 4698/106 rules surface task creation
T1003 OS Credential Dumping Rules flag LSASS access and credential-dumping patterns

Workflow

1. Update the rule set

Pull the latest Sigma and Hayabusa rules before every investigation.

./hayabusa update-rules

2. Build a CSV timeline from collected logs

…

FAQ

What are .evtx files?

.evtx files are log files generated by the Windows operating system that record important events happening on the computer.

What are Sigma rules?

Sigma rules are like 'recipes' that the tool uses to identify suspicious activities in the logs. They are created by security experts.

Do I need to install something complex?

You need to download the Hayabusa program and have the log files. The detection rules can be updated with a simple command.

Details

Original description by the author

Run Hayabusa against collected Windows EVTX files to apply Sigma detection rules and produce a prioritized, chronological CSV/JSON timeline with severity levels, MITRE ATT&CK mappings, and per-host/per-Event-ID metrics. Use during DFIR triage to turn raw event logs into a fast, SIEM-free incident timeline, or to export results into Timesketch or Timeline Explorer for collaborative analysis.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5775
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills