Ir Playbook Bruteforceのロゴ

Ir Playbook Bruteforce

組織
gensecaihq
ir-playbook-bruteforce

SSH、PAM、Windowsログオン、Webログインを狙ったブルートフォース、パスワードスプレー、クレデンシャルスタッフィング攻撃に対応するインシデント対応プレイブック(PB-001)です。Wazuhが認証失敗の集中発生(ルールグループauthentication_failures、例:ルール5712、5763、60204)または失敗の集中発生後のログイン成功(ルール40112)を検出した場合に使用します。

Add to TypingMind

概要

公開者gensecaihq
リポジトリWazuh-Autopilot
スキル名ir-playbook-bruteforce
スター
61
フォーク
15
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    gensecaihqがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ir Playbook Bruteforce」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/ir-playbook-bruteforce
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/ir-playbook-bruteforce .claude/skills/ir-playbook-bruteforce
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIr Playbook Bruteforceを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にIr Playbook Bruteforceを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ir Playbook Bruteforceは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

IR Playbook — Brute Force (PB-001)

Semi-automated: the swarm detects, investigates and proposes; the autonomy policy and the approvals queue decide what executes. Default severity high, critical once a login succeeds. MITRE ATT&CK T1110 (.001 Password Guessing, .003 Password Spraying, .004 Credential Stuffing). Rule IDs below are from the stock Wazuh 4.14 ruleset; levels are the official ones. Full procedure: references/playbook.md.

1. Detection signals

SignalWazuh rules (level)Notes
SSH single failuresrules 5710 (L5, non-existent user), 5716 (L5), 5760 (L5)group authentication_failed
SSH brute force (composite)rules 5712 (L10, non-existent users), 5763 (L10, auth failed), 5720 (L10), 5758 (L8, max attempts exceeded)group authentication_failures
PAM / syslog repeated failuresrules 5503 (L5), 5551 (L10), 2502 (L10)Linux console/su/other PAM services
Windows logon failures (Event ID 4625)rules 60122 (L5), 60204 (L10, multiple failures)eventchannel, group windows_security
Windows account lockout (Event ID 4740)rule 60115 (L9)lockouts across many accounts = spraying
Any source, many failures (cross-decoder)rule 40111 (L10)frequency rule on group authentication_failed, same source IP
Failures followed by a successrule 40112 (L12)same source IP within 240 s — escalate to critical
Success events to checkrules 5715 (L3, sshd success), 60106 (L3, Event ID 4624)correlate with the failing source
Web / CMS loginsrule 31510 (L8, WordPress/Joomla brute force); rule 31151 (L10, many HTTP 400s)other web apps need custom rules

Stock gaps (create as custom rules, range 100000–120000):

  • Password spraying (one source, ≥10 distinct accounts, few attempts each) — e.g. custom rule 100210: <rule id="100210" level="10" frequency="10" timeframe="1800"><if_matched_group>authentication_failed</if_matched_group><same_source_ip /><different_field>dstuser</different_field>…
  • Credential stuffing (one account, many sources) — custom rule 100211 using <same_field>dstuser</same_field> with <different_srcip />.
  • VPN / cloud / API logins not covered by an installed decoder.
  • Validate custom rule syntax against your manager version (wazuh-logtest) before deploying.

2. Triage / investigation (investigation agent)

  1. Pull context: get_wazuh_alerts (agent_id, rule_groups: ["authentication_failed","authentication_failures"], timestamp_start: "now-6h", compact: true) and search_security_events (query: "authentication", srcip: <ip>, time_range: "24h") across the fleet. search_cases on the source IP before creating anything; case creation belongs to triage.
  2. Answer:
    • Single source or distributed? Internal or external? External IPs → hand off to threat-intel for reputation.
    • One account (guessing) or many (spraying)? Privileged accounts targeted (root, Administrator, svc_*)?
    • Did any attempt succeed? Look for rule 40112, or rules 5715, 60106 from the same source after the failures.
    • Internet-facing target? (get_wazuh_agents → groups, IP)
  3. add_entities (source IP = attacker, host = victim with agent_id in enrichment, targeted users = victim), link_mitre T1110.x, update_case severity (failures only → high; success → critical).
  4. Only if a login succeeded or the source is internal: get_agent_processes / get_agent_ports on the target (new shells, reverse connections, miners); check post-login activity — sudo to root (rule 5402, L3), new users (rule 5902, L8), root crontab changes (rule 2833, L8), SSH keys added (FIM on authorized_keys, rules 550, 554). Internal source → hand off to lateral-movement analysis.
  5. add_finding with the evidence and a containment recommendation to response-planner (target IP, agent_id, affected users, whether a login succeeded).

3. Response (response-planner)

Propose, never execute. Include confidence and a rationale with rollback in every call. Check current state first with wazuh_check_blocked_ip so you don't propose a duplicate block.

SituationProposal
External source, failures onlypropose_action(type="block_ip", target=<ip>, params={"ip_address": <ip>, "agent_id": <target agent>}) — low risk, reversible (D3-ITF)
Same source hitting many hostsblock_ip with params={"ip_address": <ip>, "all_agents": true} — say "fleet-wide" in the rationale
Linux SSH target, per-host denypropose_action(type="host_deny", params={"agent_id": <id>, "ip_address": <ip>})
Firewall drop on one hostpropose_action(type="firewall_drop", params={"agent_id": <id>, "ip_address": <ip>})
Login succeeded with an attacked accountpropose_action(type="disable_user", target=<user>, params={"agent_id": <id>, "username": <user>}) (D3-AL, high risk → supervised)
Hands-on-keyboard after loginpropose_action(type="isolate_host", target=<id>, params={"agent_id": <id>}) (D3-NI, high risk)
Malicious process started post-loginpropose_action(type="kill_process", params={"agent_id": <id>, "process_id": <pid>}) after evidence capture

Order: block the source first; disable accounts only with evidence of success; isolate only with evidence of compromise. Protected hosts/users are refused by policy. Rate limiting, MFA and password resets are human follow-ups — record them with add_finding.

4. Eradication and recovery

  • Reset credentials for any account that authenticated from the attacking source (human task).
  • Remove attacker SSH keys, cron jobs and new accounts; confirm with FIM alerts and get_agent_processes.
  • Harden: key-only SSH, lockout policy, MFA on remote access, no internet-facing RDP.
  • Monitor the source and targeted accounts for 24–72 h; close when quiet.

5. Verification

The responder verifies executed actions (wazuh_check_blocked_ip with ip_address/agent_id, wazuh_check_user_status with agent_id/username) and recommends rollback if a legitimate service is hit.

6. Evidence and records

  • add_finding per stage with standard_refs, e.g. NIST-800-61r3:Respond, MITRE-ATTACK:T1110.003, SANS-PICERL:Containment, PCI-DSS-4:Req 10.
  • Record source IPs + reputation, targeted accounts, attempt counts and window, first/last seen, success yes/no, and actions proposed/approved/verified.
  • Detection gap (e.g. spraying below threshold)? Hand off to detection-engineer with the custom rule sketch above.
  • Critical cases: hand off to reporting for the incident report.

Escalation

ConditionEscalate to
Successful login on a privileged/production account (rule 40112)SOC lead + IR lead (human), severity critical
Distributed attack from > 50 sourcesNetwork team (edge rate limiting)
Internal sourceir-playbook-lateral-movement

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ir Playbook Bruteforce」では何ができますか?

SSH、PAM、Windowsログオン、Webログインを狙ったブルートフォース、パスワードスプレー、クレデンシャルスタッフィング攻撃に対応するインシデント対応プレイブック(PB-001)です。Wazuhが認証失敗の集中発生(ルールグループauthentication_failures、例:ルール5712、5763、60204)または失敗の集中発生後のログイン成功(ルール40112)を検出した場合に使用します。

TypingMindでIr Playbook Bruteforceを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ir Playbook Bruteforceはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIr Playbook Bruteforceをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/ir-playbook-bruteforceを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ir Playbook Bruteforceを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ir Playbook Bruteforceで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIr Playbook Bruteforceを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ir Playbook Bruteforce」は無料ですか?

はい。gensecaihqがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇