Chuyển đến nội dung
Skillpedia
Bảo mật42k · #6450

competition-ssrf-metadata-pivot

Skill này làm gì

Công cụ này giúp hiểu cách một cuộc tấn công “Server-Side Request Forgery” (SSRF) có thể được dùng để truy cập thông tin nhạy cảm hoặc thông tin xác thực trong mạng. Nó theo dõi đường đi mà một yêu cầu độc hại có thể đi qua.

Khi nào nên dùng

  • ✓Khi bạn nghi ngờ một yêu cầu gửi tới máy chủ đã được dùng để truy cập các hệ thống nội bộ khác.
  • ✓Khi điều tra cách thông tin xác thực hoặc dữ liệu nhạy cảm có thể đã bị đánh cắp qua một máy chủ.
  • ✓Để hiểu các đường tấn công khai thác khả năng gửi yêu cầu tới nơi khác của máy chủ.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ssrf-metadata-pivot/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để theo dõi một yêu cầu có thể đã truy cập thông tin máy chủ nội bộ?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ phân tích yêu cầu gốc, xác định nó được gửi tới đâu trong mạng và kiểm tra xem nó có truy cập được dữ liệu hoặc thông tin xác thực nhạy cảm không. Nó lập bản đồ toàn bộ đường đi để cho thấy việc truy cập đã có thể xảy ra như thế nào.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

SSRF là gì?

SSRF là kiểu tấn công trong đó kẻ tấn công lừa máy chủ web gửi yêu cầu tới các dịch vụ hoặc hệ thống khác, thường nằm trong mạng riêng của máy chủ và không thể truy cập từ bên ngoài.

“Metadata endpoints” là gì?

Đây là các địa chỉ đặc biệt mà máy chủ (đặc biệt trên các nền tảng đám mây như AWS, GCP, Azure) dùng để cung cấp thông tin về chính nó và môi trường đang chạy, bao gồm cả thông tin truy cập.

“Credential pivoting” nghĩa là gì?

Đây là hành động dùng thông tin xác thực lấy được từ một hệ thống bị chiếm để truy cập các hệ thống hoặc dịch vụ khác, như “pivot” tức là chuyển từ điểm này sang điểm khác.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
42k
Vị trí xếp hạng
#6450
Giấy phép
MIT
Cập nhật
22/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự