Identity Compromiseのロゴ

Identity Compromise

組織
gensecaihq
identity-compromise

アカウント侵害の疑いを調査します。ブルートフォース攻撃後のログイン成功、不可能な移動、権限昇格、LinuxおよびWindows間のラテラルムーブメントを調べます。ユーザーアカウントが不審な認証アクティビティに関与している場合に使用します。

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

AIスキル「Identity Compromise」を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/identity-compromise
  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/identity-compromise .claude/skills/identity-compromise
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Identity Compromise Investigation

Accounts are the most common path to impact. Decide whether an account is compromised, how far it was used, and what containment is justified.

Key events and the Wazuh rules that surface them

Rule numbers are from the stock Wazuh 4.14 ruleset. Many Windows events are only alerted on when the channel is collected and not filtered. If there's no rule, search the raw event with search_security_events (field data.win.system.eventID). Load wazuh-windows-sysmon for Windows field paths.

PlatformEventWazuh rulesMeaning
WindowsEvent ID 4624rule 60106 (level 3)successful logon; check data.win.eventdata.logonType: 2 interactive, 3 network, 10 RemoteInteractive/RDP
WindowsEvent ID 4625rules 60105, 60122 (level 5); burst → rule 60204 (level 10)failed logon; subStatus separates bad password from unknown user
WindowsEvent ID 4648none (search raw events)logon with explicit credentials (runas, lateral tools)
WindowsEvent ID 4672rule 67028 (level 3)special privileges assigned: admin-equivalent logon. Low level, high meaning for non-admins
WindowsEvent ID 4720, Event ID 4722rule 60109 (level 8)account created / enabled
WindowsEvent ID 4738rule 60110 (level 8)account changed
WindowsEvent ID 4728, Event ID 4732, Event ID 4756rules 60141, 60144, 60151 (level 5); rule 60154 Administrators group changed (level 12)member added to security-enabled global / local / universal group
WindowsEvent ID 4740 lockoutrule 60115 (level 9)account locked out after multiple failures
WindowsEvent ID 4768, Event ID 4771none stock (search raw events)Kerberos TGT request / pre-auth failure: spraying against a DC
Linuxsshd failurerules 5716, 5760 (level 5); rule 5710 non-existent user (level 5)single failures
Linuxsshd burstrules 5712, 5720, 5763 (level 10); rule 5758 max attempts exceeded (level 8)composite brute-force rules
Linuxsshd successrule 5715 (level 3)Accepted password / publickey
Linuxsudorule 5402 to root (level 3), rule 5401 failed (level 5), rule 5403 first time for user (level 4)privilege use
LinuxPAMrule 5503 login failed (level 5), rule 5551 multiple failures (level 10)console / other PAM services
Linuxaccount changesrule 5902 new user (level 8), rule 5904 user information changed (level 8)useradd / usermod

Procedure

  1. List all auth events for the user over 7 days (search_security_events(query="<user>")), and aggregate by source IP and host (get_alerts_aggregated).
  2. Establish baseline: usual source IPs, hosts, hours, logon types.
  3. Test each hypothesis below; record which are supported.
  4. Determine scope: every host the account touched after the suspected compromise time.

Hypotheses and indicators

PatternIndicatorsATT&CK
Brute force → successrule 60204 or rules 5712, 5763 then rule 60106 or rule 5715 from the same sourceT1110 → T1078
Password sprayingone source, many users, few attempts eachT1110.003
Impossible travelsuccessful logons from locations whose distance/time implies > ~900 km/hT1078
New source / off-hourssuccess from never-seen IP/ASN or outside baseline hoursT1078
Privilege escalationrule 67028 for a non-admin, group adds (rules 60141, 60144, 60154), rule 5402 by an unusual userT1078.002/.003, T1098
Lateral movementsame account, new hosts in short time; logon type 3/10 chains; SSH hopsT1021 (.001 RDP, .002 SMB, .004 SSH)
Persistence via accountnew account created by the suspect account (rules 60109, 5902), SSH key added (FIM on authorized_keys, see wazuh-fim-investigation)T1136, T1098.004

Verdict

  • Compromised — success from attacker-controlled source, or malicious actions by the account. Confidence ≥ 0.8.
  • Targeted, not compromised — failures only, no success. Recommend blocking the source, not disabling the user.
  • Inconclusive — anomalies without malicious actions; recommend user verification.

Recommend disable_user (proposed by response-planner) only with evidence of successful malicious use. Service accounts and break-glass accounts: flag the business impact explicitly; prefer blocking the source or isolating the host first.

Output

  • add_entities (user as victim; source IPs as attacker; hosts touched).
  • link_mitre for supported techniques.
  • update_case severity/confidence.
  • add_finding titled Identity assessment: <user> with baseline, hypotheses table (supported / not supported + evidence), hosts in scope, verdict, recommended containment. standard_refs: NIST-800-61r3, CIS-v8.1:5 (Account Management), CIS-v8.1:6 (Access Control Management).

よくある質問

AIスキル「Identity Compromise」では何ができますか?

アカウント侵害の疑いを調査します。ブルートフォース攻撃後のログイン成功、不可能な移動、権限昇格、LinuxおよびWindows間のラテラルムーブメントを調べます。ユーザーアカウントが不審な認証アクティビティに関与している場合に使用します。

TypingMindでIdentity Compromiseを使うメリットは何ですか?

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

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

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

Identity Compromiseを使えるAIモデルはどれですか?

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

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

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

AIスキル「Identity Compromise」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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