Windows Log Hunter logo

Windows Log Hunter

Community
ptn1411
windows-log-hunter

Blue-team CLI threat hunt over Windows Event Logs. Sweeps high-signal security events (failed logons, new accounts/services, cleared logs, PowerShell, Sysmon) via native PowerShell or Hayabusa/Sigma, and produces a triaged findings report.

Overview

Publisherptn1411
Repositoryskill
Skill namewindows-log-hunter
Stars
275
Forks
133
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ptn1411 on GitHub. Read the source before you install it.

Installation

Install the Windows Log Hunter AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ptn1411/skill/tree/main/windows-log-hunter
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptn1411/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/windows-log-hunter .claude/skills/windows-log-hunter
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Windows Log Hunter in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Windows Log Hunter on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Windows Log Hunter is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Windows Log Hunter

Defensive threat hunting over Windows Event Logs from the command line. Detects suspicious authentication, account, persistence, and execution activity, then produces a severity-ranked report for triage.

Language rule: All skill instructions use English. Final summary presented to the user must be in Vietnamese.


0. Authorization & Routing

Operates under MASTER_POLICY.md §1-§2.

Scope gate. Hunt only on systems you own or are authorized to monitor (your host, your org's endpoints, an IR engagement, or a lab). This is a read-only defensive skill — it inspects logs, it does not modify the system.

Sibling skillWhen
network-scannerMap attack surface / exposed services
network-interceptorInspect suspicious network traffic
container-cloud-auditorAudit exposed container/cloud config

Engines

EngineNeedsBest for
native (default)PowerShell only — no installLive triage of the current machine
hayabusaHayabusa exe in PATHDeep Sigma-rule timeline over .evtx files

Run PowerShell as Administrator so the Security log is readable; otherwise those categories are skipped with a collection note.


Step 0 — Check environment

powershell
python windows-log-hunter\scripts\hunt_eventlog.py --check

Reports PowerShell, optional Hayabusa, and whether you have admin rights.


Step 1 — Native hunt (no external tools)

Sweep the last 24 hours of high-signal events on the current host:

powershell
python windows-log-hunter\scripts\hunt_eventlog.py --hours 24 --out output\hunt

Adjust window / volume:

powershell
python windows-log-hunter\scripts\hunt_eventlog.py --hours 72 --max 500 --out output\hunt

What it collects (via Get-WinEvent):

AreaEvent IDs
Authentication4625 failed logon, 4624 logon, 4672 special privileges
Accounts4720 created, 4726 deleted, 4732/4728 added to group
Persistence7045 new service, 4698 scheduled task, 7030
Defense evasion1102 audit log cleared
Execution4688 new process, 4104 PowerShell script block
Sysmon (if installed)1 process, 3 network, 11 file create

Step 2 — Hayabusa timeline (optional, deeper)

If Hayabusa is installed, run Sigma detections over the live log folder or a collected evtx set:

powershell
python windows-log-hunter\scripts\hunt_eventlog.py --engine hayabusa --logdir C:\Windows\System32\winevt\Logs --out output\hunt

Install Hayabusa: download the single-file release from https://github.com/Yamato-Security/hayabusa and put it in PATH.


Step 3 — Read the report

Both engines write to --out:

  • FINDINGS.md — signals grouped by severity (critical→info), counts by category, and triage guidance.
  • findings.json — structured events for correlation / downstream skills.

Re-parse raw output without re-scanning:

powershell
python windows-log-hunter\scripts\parse_findings.py output\hunt\events.json --kind native --out output\hunt

Triage priorities

  1. 1102 (audit log cleared) and spikes of 4625 (failed logons) — possible intrusion / brute force.
  2. 4720 / 4732 / 4728 — new account or privilege escalation; confirm it was authorized.
  3. 7045 / 4698 — new service / scheduled task; classic persistence.
  4. Correlate suspicious 4104 PowerShell and 4688 process events against the timestamps above.

All output is for defensive response: containment, account review, persistence removal, and detection tuning.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Windows Log Hunter AI skill do?

Blue-team CLI threat hunt over Windows Event Logs. Sweeps high-signal security events (failed logons, new accounts/services, cleared logs, PowerShell, Sysmon) via native PowerShell or Hayabusa/Sigma, and produces a triaged findings report.

Why use Windows Log Hunter on TypingMind?

Because you install it once and use it with any model. Windows Log Hunter is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Windows Log Hunter in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ptn1411/skill/tree/main/windows-log-hunter. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Windows Log Hunter?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Windows Log Hunter?

As many as you like. As long as a model supports skills, you can use Windows Log Hunter with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Windows Log Hunter AI skill free?

It is published on GitHub by ptn1411. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇