本文へスキップ
Skillpedia
セキュリティ42k · #6450

competition-ssrf-metadata-pivot

できること

このツールは、「サーバーサイド・リクエスト・フォージェリ」(SSRF)という攻撃が、ネットワーク内の機密情報や認証情報へのアクセスにどのように使われうるかを理解するのに役立ちます。悪意あるリクエストがたどりうる経路を追跡します。

使う場面

  • ✓サーバーに送られたリクエストが、内部の他のシステムへのアクセスに使われた可能性を疑うとき。
  • ✓サーバーを通じて認証情報や機密情報が盗まれた可能性を調べたいとき。
  • ✓サーバーが他の場所へリクエストを送れる性質を悪用した攻撃経路を理解したいとき。

スキルのリンク

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“内部のサーバー情報にアクセスしたかもしれないリクエストを、どのように追跡できますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、元のリクエストを分析し、ネットワーク内のどこへ送られたかを特定して、機密データや認証情報にアクセスできたかどうかを確認します。この経路全体を地図のように可視化して、どうやってアクセスが可能になったのかを示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Competition SSRF Metadata Pivot

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive path runs through server-side request capability, internal service reachability, or metadata-derived credentials.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Separate the SSRF source, forwarding layer, reachable target, and accepted downstream credential edge.
  2. Record request method, URL construction, header behavior, redirects, DNS or host overrides, and response shaping before mutation.
  3. Map internal host, metadata endpoint, token extraction, and accepting service as one chain.
  4. Distinguish read-only reachability from credential-bearing access.
  5. Reproduce the smallest SSRF-to-accepted-access path.

Workflow

1. Map SSRF Reachability

  • Record source primitive: URL parameter, webhook, image fetcher, importer, proxy endpoint, or backend callback.
  • Note normalization steps: scheme filtering, host allowlists, redirects, DNS resolution, path rewrite, and header injection.
  • Keep target host, protocol, and response behavior tied to the exact SSRF source.

2. Trace Metadata And Credential Pivot

  • Show whether metadata endpoints, internal control APIs, or workload identity services are reachable.
  • Record token fields, role scope, service account, expiration, and where the token is accepted.
  • Distinguish credential extraction success from accepted privilege at a downstream service.

3. Reduce To Decisive SSRF Chain

  • Compress to: SSRF source -> internal or metadata target -> credential or sensitive response -> accepted replay or API access.
  • State whether the decisive edge is parser bypass, allowlist bypass, redirect abuse, header confusion, or metadata trust.
  • If the task becomes mostly cloud identity policy analysis, hand off to the tighter cloud metadata skill.

Read This Reference

  • Load references/ssrf-metadata-pivot.md for SSRF checklists, metadata pivots, and evidence packaging.

What To Preserve

  • SSRF source point, URL construction rules, reachable hosts, and response deltas
  • Extracted token or credential fields, scope, and accepting service
  • One minimal SSRF-to-accepted-access replay path
よくある質問

SSRFとは何ですか?

攻撃者がWebサーバーをだまして、通常はサーバーのプライベートネットワーク内にあるため外部からアクセスできない他のサービスやシステムにリクエストを送らせる攻撃の一種です。

「メタデータエンドポイント」とは何ですか?

サーバー(特にAWS、GCP、Azureなどのクラウド上のもの)が、自分自身や実行環境に関する情報を提供するために使う特別なアドレスです。アクセス用の認証情報が含まれることもあります。

「クレデンシャル・ピボッティング」とは何ですか?

侵害されたシステムから入手した認証情報を使って、別のシステムやサービスにアクセスする行為です。「ピボット」は、ある地点から別の地点へ移動することを意味します。

詳細

作者による元の説明

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for SSRF reachability, internal route probing, metadata-service access, credential pivoting, and token-to-accepted-privilege chains. Use when the user asks to trace SSRF sources, internal hosts, metadata endpoints, link-local tokens, service-account credentials, or explain how a server-side fetch edge turns into accepted

repo: zhaoxuya520/reverse-skill

人気

GitHubのスター
42k
ランキング
#6450
ライセンス
MIT
更新日
2026/9/22

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル