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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Separate the SSRF source, forwarding layer, reachable target, and accepted downstream credential edge.
- Record request method, URL construction, header behavior, redirects, DNS or host overrides, and response shaping before mutation.
- Map internal host, metadata endpoint, token extraction, and accepting service as one chain.
- Distinguish read-only reachability from credential-bearing access.
- 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.mdfor 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란 무엇인가요?
공격자가 웹 서버를 속여 다른 서비스나 시스템(보통 서버의 사설 네트워크 안에 있어 평소에는 접근할 수 없는 곳)에 요청하도록 만드는 공격 유형입니다.
‘메타데이터 엔드포인트’란 무엇인가요?
서버(특히 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
인기도
- GitHub 스타
- 42k
- 순위
- #6450
- 라이선스
- MIT
- 업데이트
- 2026. 9. 22.
댓글
- …
이 저장소의 다른 스킬
competition-ad-certificate-abuse
42k에이전트가 디지털 인증서 시스템에 대한 공격을 분석하도록 돕습니다. 인증서가 접근 권한을 얻는 데 어떻게 악용될 수 있는지 조사합니다.
competition-agent-cloud
42k에이전트가 AI와 클라우드 시스템의 보안 과제를 분석하도록 돕습니다. 프롬프트, 도구, 클라우드가 어떻게 악용될 수 있는지 조사합니다.
competition-android-hooking
42k에이전트가 안드로이드 애플리케이션을 조사하도록 돕습니다. 앱이 내부적으로 어떻게 작동하는지, 어떻게 변경되거나 악용될 수 있는지 분석합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.