Cloud Stolen Credential First Useのロゴ

Cloud Stolen Credential First Use

組織
CDESpace
Cloud Stolen Credential First Use

A credential driven from a place or by a client it has never used - a long-lived key calling from an unfamiliar ASN, a workload role used from an address that is not the instance's own or its NAT egress, a first write by a reader. Reads how far the source and client sit from history.

Add to TypingMind

概要

公開者CDESpace
リポジトリDetection-Skills
スキル名Cloud Stolen Credential First Use
スター
57
フォーク
5
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CDESpace/Detection-Skills.git /tmp/Detection-Skills
mkdir -p .claude/skills
cp -r /tmp/Detection-Skills/skills/triage/cloud-stolen-credential-first-use .claude/skills/cdespace-cloud-stolen-credential-first-use
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にCloud Stolen Credential First Useを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Triage Steps

Cloud credentials legitimately move around. People work from home, from a hotel, from a new VPN egress; runner pools get rebuilt on fresh addresses; a workload's calls arrive from a NAT gateway that is not the instance's own address. So a call from a new place is not the signal. The signal is whether the same actor is still behind the credential: do the source, the user-agent, and the call mix hold together as one person or one pipeline doing its usual job, or did all three change at once? On a provider-audit-only alert there is no sign-in series to lean on, so the caller's own history is the baseline you have.

Start from this detection's track record on this principal - a rule that fires whenever the runner pool rolls onto new addresses and always closes benign starts the call near dismiss - then read the leads below. None is required on its own; they stack, and a single strong one (a workload role used from an address that is not the workload's, a first-ever write from an ASN this key has never touched) can carry the call. This class turns on caller provenance - who is driving the credential and from where - on any call class, sweep or not. The shape and breadth of the reading on a sweep-shaped alert is cloud-recon-secret-harvest's; whether a sign-in granted access to someone other than the owner, read from the IdP sign-in stream, belongs to identity-authentication-abuse and application-account-auth-abuse; and the act of minting a delegated or console session as a trust-path hop is cloud-cross-boundary-delegation-use's, while the question here is simply whose hands the credential is in.

Leads that point to a real threat - what to look for in the data:

  • A long-lived key calling from an ASN, country, or user-agent it has never used. A sourceIPAddress in an ASN absent from this key's own history, a country the principal has never called from, or a userAgent that switches character - aws-cli/2 where every prior call carried an SDK string, or a bare Python or Go client on a key that only ever came through a console session. Read all three together: one changed is a trip, all three at once is a different operator on the same key.
  • A workload credential used away from its workload. An instance, task, or pod role calling from a source address that is neither the workload's own address nor the egress its other calls come from - the off-instance metadata token, where a role credential lifted from the instance metadata service is replayed from somewhere else. This lead can carry the escalate alone: that credential has no business anywhere but the workload it was issued to.
  • An interactive session on a programmatic-only identity. A console sign-in, or a console session, on an identity whose entire baseline is SDK and CLI calls, and without MFA behind it. The identity just gained a pair of hands it never had, and the account's usual guardrail on interactive access did not apply.
  • A first write from a reader, or a first call after dormancy. A principal whose whole history is Describe, List, and Get making its first mutating call, or a key with no activity across the baseline suddenly working. Credentials that wake up after a long silence are the shape of a key that was found somewhere - a repository, a laptop, a paste - rather than one that was always in use.
  • Identity, ASN, and call mix shifting together in one short window. Not one anomaly but three at once: a new source, a new client, and a set of calls this principal never makes, inside minutes. Any of the three alone has a boring explanation; arriving together they are one operator picking up a credential and trying it out.

Leads that rule it out - benign context you can actually see in the data; if the data doesn't show it, you don't have it:

  • The same human session continues across the change. The actor's other calls that day come from the same new ASN too, the directory resolves the principal to an active named person, and the work before and after the address change is the same work - a home ISP or VPN egress the actor is simply sitting behind. The continuity is the check; a single call from a new place with nothing around it is not this lead.
  • A runner-pool rollout onto a documented CI egress range. The new source falls in a documented CI/CD or runner egress range, and the call pattern is the pipeline's usual set, in its usual order, with its usual user-agent. The address changed and nothing else did, which is what a pool rebuild looks like.
  • The "new" address is the account's own egress. The source resolves to the account's own NAT gateway, proxy, or provider egress for that same workload, which the account's own network resources confirm. A workload whose calls arrive from its NAT gateway rather than its instance address was never using an off-instance token.
  • Break-glass or on-call use that a ticket covers. A named incident or change ticket covers the timestamp, the identity resolves in the directory to the engineer who was on call, and the calls match that task rather than ranging into unrelated services. The calls are what make this hold - a window without matching activity is not context.

To confirm a lead instead of guessing, pull the thread: do this principal's other calls in the window come from the same new source, and is that source the account's own egress or the workload's own address?

Output

Decision

  • escalate: a workload role used from an address that is not the workload's own or its NAT egress, a long-lived key calling from an unfamiliar ASN, country, or user-agent, a console session without MFA on a programmatic-only identity, a first-ever write by a read-only principal or a first call after long dormancy, or source, client, and call mix shifting together in one window.
  • dismiss: the same human session continues across the change with the directory naming an active person, a runner-pool rollout onto a documented CI egress range with the pipeline's usual call set, the new source resolves to the account's own NAT gateway or proxy for that workload, or a named ticket covers break-glass use and the calls match the task. A dismiss is a positive call that the caller is who the credential belongs to, made with that context in hand - a continuing session you traced across the window, a documented egress range or NAT gateway you confirmed, a ticket and matching calls you read; a source you couldn't attribute or a principal the directory couldn't place is not that context, and absence of a bad sign is not proof it's good. Dismiss is logged and reopenable; when a workload credential is used off its workload, several provenance facts shift together, or you're unsure, escalate.

Evidence

The principal and its type from the identity directory, the credential kind - long-lived key, service-account key, workload role, console session - the source address and its ASN, country, and reputation against that principal's own history, the user-agent and how it compares with prior calls, whether a workload credential's source matches the workload's address or the account's NAT egress, whether MFA was present on an interactive session, the call mix in the window against the principal's baseline including its first write, the time since the credential's last activity, and any ticket or change window covering the timestamp.

Reasoning

Name the leads that decided it and how they stacked - an instance role calling from a residential ASN nowhere near the account's egress, then making its first write, is escalate on its own, while a named engineer's key showing a new home ISP that every one of her other calls that day also came from is dismiss.

よくある質問

AIスキル「Cloud Stolen Credential First Use」では何ができますか?

A credential driven from a place or by a client it has never used - a long-lived key calling from an unfamiliar ASN, a workload role used from an address that is not the instance's own or its NAT egress, a first write by a reader. Reads how far the source and client sit from history.

TypingMindでCloud Stolen Credential First Useを使うメリットは何ですか?

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

TypingMindにCloud Stolen Credential First Useをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/CDESpace/Detection-Skills/tree/main/skills/triage/cloud-stolen-credential-first-useを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Cloud Stolen Credential First Useを使えるAIモデルはどれですか?

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

Cloud Stolen Credential First Useで使えるAIモデルの数に制限はありますか?

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

AIスキル「Cloud Stolen Credential First Use」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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