mcp-hayabusa
Enables Windows event log forensics by wrapping Hayabusa, offering EVTX scanning, Sigma rule exploration, ATT&CK coverage analysis, and detection engineering resources.
README
mcp-hayabusa
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.
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 curatedcustom_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 rulesdetection://rules/{rule_name}— a rule's raw YAMLdetection://rules/by-technique/{technique_id}— rules tagged with an ATT&CK techniquedetection://attack/techniques/{technique_id}— technique detail plus a coverage verdict
Stack
- Python 3, the
mcplibrary (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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.