thor-plugins
Write, package, and use THOR plugins to extend scanner functionality. THOR v11+ only.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write, package, and use THOR plugins to extend scanner functionality. THOR v11+ only.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Entry point and router for THOR-related work: running scans, analyzing THOR logs, troubleshooting THOR behavior, maintaining THOR installs, THOR Lens workflows, writing THOR plugins (v11+), and creating custom signatures/IOCs.
Create and deploy custom IOCs, YARA rules, Sigma rules, and STIX indicators for THOR scans.
Run THOR scans and propose the exact command line for Windows, Linux, or macOS. Use when the user wants to scan a host, a directory, a mounted image, or a memory dump with THOR v10/v11.
Troubleshoot THOR runs that are stuck, slow, failing to start, stopping early, or produce missing output. Use when the user reports freezes, long runtimes, high CPU pauses, scan aborts, or licensing/update issues.
THOR Lens workflows for forensic timeline analysis. A web UI that imports THOR v11 audit trail JSONL logs for interactive exploration. Requires THOR v11 (audit trail not available in v10).
Interpret THOR scan results and explain what findings mean. Use when the user pastes THOR log lines, shares a log file, or asks how to triage Notices/Warnings/Alerts.
| name | thor-plugins |
| description | Write, package, and use THOR plugins to extend scanner functionality. THOR v11+ only. |
Goal: Help users write custom THOR plugins and integrate them into scans.
THOR Plugins (v11+) allow extending THOR with custom functionality written in Go:
Plugins are ZIP archives containing Go code, executed by THOR via the yaegi interpreter.
plugin.go, metadata.yml, optional vendor/ directoryfunc Init(config, logger, actions) called at scan start| Use Case | Hook Type | Example |
|---|---|---|
| Parse custom file format | AddRuleHook with YARA trigger | ZIP parser, Defender quarantine extractor |
| Log/alert on matches | AddRuleHook | Registry autorun logger |
| Upload/collect samples | AddPostProcessingHook | HTTP sample collector |
| Enrich findings | AddPostProcessingHook | VirusTotal lookup, MITRE tagging |
metadata.yml with plugin infozip -r plugin.zip *.go metadata.yml vendor/plugins/ directoryunsafe or syscall packagesgo mod vendor)package main in root .go file# Run THOR with debug to see plugin loading
./thor-macosx --debug | grep -i plugin
# Check plugin initialization messages
./thor-macosx 2>&1 | grep "plugin"