Skip to main content
Glama

mcp-hayabusa

License: MIT

This repo is my working space for Modules 3 & 4 — MCP Hayabusa in AI Cyber Defense Ops, a Just Hacking Training (JHT) course offered by Women in CyberSecurity (WiCyS) and taught by Anton Ovrutsky. All modules found in the ai-defense-labs repo at https://github.com/SBecraft/ai-defense-labs

The course centers on the Claude ecosystem — Claude Code and Claude Desktop — rather than treating AI as a single chat model bolted onto existing tools. Claude Code in particular behaves more like a productivity suite than a model: it ships with Hooks, Skills, Slash Commands, MCP support, and session/context management, and the course is built around learning how to compose those pieces into real detection engineering and threat intel workflows.

AI Cyber Defense Ops — course introduction

An MCP (Model Context Protocol) server that wraps Hayabusa — a Windows event log fast-forensics timeline generator — for EVTX analysis, and doubles as a small detection engineering knowledge base.

What it exposes

Three tools:

  • scan_evtx — runs Hayabusa against an EVTX file and returns structured JSON findings, filterable by severity and rule title. Scans the curated custom_rules/ set.

  • get_hayabusa_rules — lists the ~5000 Sigma rules Hayabusa ships with, optionally filtered by keyword.

  • analyze_coverage — given an ATT&CK technique ID or tactic name, reports which techniques the curated rules cover, partially cover, or leave as gaps.

Four resources, under the detection:// URI scheme:

  • detection://rules — index of the curated Sigma rules

  • detection://rules/{rule_name} — a rule's raw YAML

  • detection://rules/by-technique/{technique_id} — rules tagged with an ATT&CK technique

  • detection://attack/techniques/{technique_id} — technique detail plus a coverage verdict

Related MCP server: hayabusa-mcp

Stack

  • Python 3, the mcp library (stdio transport), pydantic, pyyaml

  • Hayabusa CLI, downloaded as a prebuilt binary and invoked as a subprocess

Running

python scripts/download_hayabusa.py      # fetch the Hayabusa binary
python scripts/download_attack_data.py   # fetch the MITRE ATT&CK STIX bundle
pip install -r requirements.txt
python tests/test_scan_evtx.py           # manual smoke test

The server is normally launched by an MCP client via .mcp.json rather than run directly. The Hayabusa binary and ATT&CK data are fetched per-machine and gitignored; custom_rules/ is authored content and checked in.

A Note on Placeholders

This is public coursework, so anything that pointed at my local machine or personal accounts has been replaced with generic placeholders:

Placeholder

Stands for

$HOME

the home directory this repo was developed in

C:\Users\<username>

the Windows user profile (Claude Desktop config lives here)

<repo-path> / <old-repo-path>

this repo's absolute path on disk

Commits are authored under a GitHub noreply address rather than a personal email. If you clone this, substitute your own paths — the placeholder paths are documentation, not working config, and nothing is meant to run against them as written.

The hostnames, IPs, domains, accounts, and incident write-ups here are synthetic lab data. The insecurebank.local domain in environment/, the INC-2024-* case files in investigations/, and the scenarios in playbooks/ describe a fictional environment built for the coursework — they do not correspond to any real network, organization, or incident. Sample EVTX files in tests/samples/ come from the public EVTX-ATTACK-SAMPLES repo.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables an LLM client to scan Windows event log files (EVTX) for suspicious activity using Hayabusa, and browse its detection rules directly in conversation.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables Windows Event Log (EVTX) analysis by wrapping Hayabusa, exposing scan and rule retrieval tools.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables EVTX (Windows Event Log) analysis via Hayabusa, providing tools to scan event logs and retrieve detection rules.
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Analyze Windows event logs (EVTX files) using Hayabusa, with tools to scan EVTX files for detections and list Hayabusa detection rules.
    -