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

competition-custom-protocol-replay

Skill này làm gì

Công cụ này giúp hiểu và tái tạo các giao thức truyền thông chưa biết, giống như giải mã một cuộc trò chuyện bí mật giữa các máy tính. Công cụ tập trung vào việc gửi thông điệp đúng thứ tự và đúng thông tin để máy kia hiểu được.

Khi nào nên dùng

  • ✓Khi bạn có một nhật ký liên lạc (như một “bản ghi” dữ liệu) và cần tìm ra cách nó hoạt động.
  • ✓Khi bạn cần gửi thông điệp tới một hệ thống đúng như một chương trình thật.
  • ✓Khi bạn muốn tái tạo một chuỗi lệnh cụ thể đã từng hoạt động.

Liên kết skill

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/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-custom-protocol-replay/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

“Hãy giúp tôi hiểu và tái tạo kết nối mạng chưa rõ này.”

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 các thông điệp đã trao đổi, xác định cấu trúc của chúng (“định dạng”), kiểm tra xem chúng có đúng không (như “checksum”), rồi cố gắng tái tạo chính xác chuỗi để nó hoạt động.

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 Custom Protocol Replay

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 hard part is not merely naming the protocol, but reproducing the exact message order and state needed for acceptance.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify client and server roles, session boundaries, and reset conditions before decoding field semantics.
  2. Recover framing, lengths, delimiters, sequence numbers, checksums, nonces, and state transitions before broad replay attempts.
  3. Keep one canonical transcript of a successful exchange.
  4. Change one field or one message at a time while replaying.
  5. Reproduce the smallest accepted conversation that proves the decisive branch.

Workflow

1. Map The Session State Machine

  • Identify handshake, negotiation, authentication, keepalive, command, and teardown phases.
  • Record which fields are static, which are derived, and which depend on prior messages.
  • Keep message order, direction, and timing tied to the same session identity.

2. Recover Framing And Integrity

  • Reconstruct lengths, delimiters, type bytes, checksums, MACs, counters, compression, or encryption boundaries.
  • Distinguish transport framing from application-level framing.
  • Note exactly where server acceptance changes when one field or step is mutated.

3. Build The Minimal Replay Harness

  • Reduce the path to the smallest transcript that reaches the accepted state, parser branch, command effect, or artifact.
  • Preserve both the original captured sequence and the replayed minimal sequence.
  • If the problem is mainly generic PCAP or stream decoding with no stateful replay requirement, switch back to the broader PCAP skill.

Read This Reference

  • Load references/custom-protocol-replay.md for the state-machine checklist, transcript checklist, and evidence packaging.

What To Preserve

  • Canonical transcript, message types, field boundaries, checksums, counters, and session identifiers
  • Original capture slices and the replay harness inputs that produce acceptance
  • The exact mutation that flips the protocol from rejected to accepted, or vice versa
Câu hỏi thường gặp

“Protocol” là gì?

Đó là bộ quy tắc xác định cách các máy tính hoặc chương trình giao tiếp với nhau, giống như một ngôn ngữ mà chúng cùng hiểu.

“Recreate” hoặc “reproduce” nghĩa là gì?

Nghĩa là làm lại đúng y như trước, gửi cùng các thông điệp theo cùng thứ tự và với cùng dữ liệu.

Vì sao thứ tự thông điệp lại quan trọng?

Nhiều kết nối phụ thuộc vào một trình tự nhất định. Nếu thông điệp đến sai thứ tự, hệ thống có thể không hiểu hoặc từ chối kết nối.

Chi tiết

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

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for custom binary or text protocol recovery, handshake reconstruction, framing, sequence control, checksums, stateful replay, and accepted-session reproduction. Use when the user asks to decode an unknown protocol, recover custom framing, build a replay harness, satisfy sequence or checksum rules, replay a captured sessio

repo: zhaoxuya520/reverse-skill

Độ phổ biến

Sao GitHub
42k
Vị trí xếp hạng
#6425
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ự