Skillpedia
الأمان42k · #6425

competition-custom-protocol-replay

ما الذي تفعله

هذه المهارة تساعد على فهم بروتوكولات الاتصال غير المعروفة وإعادة إنشائها، مثل فك شيفرة محادثة سرية بين أجهزة الحاسوب. تركز على إرسال الرسائل بالترتيب الصحيح ومع المعلومات الصحيحة كي يفهمها الطرف الآخر.

متى تستخدمها

  • ✓عندما يكون لديك سجل اتصال، مثل «تسجيل» للبيانات، وتحتاج إلى معرفة طريقة عمله.
  • ✓عندما تحتاج إلى إرسال رسائل إلى نظام بطريقة دقيقة، كأنك برنامج حقيقي.
  • ✓عندما تريد إعادة تشغيل تسلسل محدد من الأوامر نجح في السابق.

رابط المهارة

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ساعدني في فهم هذا الاتصال الشبكي غير المعروف وإعادة تنفيذه.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحلل المهارة الرسائل المتبادلة، وتحدد بنيتها («التنسيق»)، وتتحقق من صحتها باستخدام مجاميع التحقق (checksums)، ثم تحاول إعادة إنشاء التسلسل بالضبط ليعمل.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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
الأسئلة الشائعة

ما هو «البروتوكول»؟

هو مجموعة من القواعد تحدد طريقة تواصل أجهزة الحاسوب أو البرامج، كأنها لغة يفهمها الطرفان.

ماذا يعني «إعادة الإنشاء» أو «إعادة التشغيل»؟

يعني تنفيذ الشيء نفسه تماماً كما حدث سابقاً، بإرسال الرسائل نفسها بالترتيب نفسه ومع البيانات نفسها.

لماذا يهم ترتيب الرسائل؟

كثير من الاتصالات يعتمد على تسلسل محدد. إذا وصلت رسالة في غير موعدها، قد لا يفهمها النظام أو قد يرفضها.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
42k
الترتيب
#6425
الترخيص
MIT
آخر تحديث
22‏/9‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة