跳到正文
Skillpedia
安全42k · #6450

competition-ssrf-metadata-pivot

它能做什么

这个工具可以帮助你理解,服务端请求伪造(Server-Side Request Forgery,SSRF)攻击如何被用来访问网络内部的敏感信息或凭证。它会追踪恶意请求可能经过的路径。

适用场景

  • ✓当你怀疑发送到某台服务器的请求被用来访问其他内部系统时。
  • ✓当你要调查凭证或敏感信息是否可能通过某台服务器被窃取时。
  • ✓当你想了解攻击路径时,这些攻击会利用服务器向其他位置发起请求的能力。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 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?

SSRF 是一种攻击方式,攻击者诱骗网页服务器向其他服务或系统发起请求。这些服务或系统通常位于服务器的私有网络中,正常情况下外部是无法访问的。

什么是“元数据端点”(metadata endpoints)?

这是一些特殊地址,服务器(尤其是 AWS、GCP、Azure 等云平台上的服务器)通过它们提供关于自身以及所处运行环境的信息,其中包括访问凭证。

“凭证横向移动”(credential pivoting)是什么意思?

指利用从已被入侵的系统中获得的凭证,去访问其他系统或服务的行为,就像以一个支点为轴转移到另一个位置一样,从一处移动到另一处。

详情

作者的原始描述

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

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能