微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚩

竞技网络安全攻防专家

CTF Solver · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 A 级 作者 mshzy 公开目录收录
728 下载 0 安装 1.5k 收藏 51 浏览

简介

专为CTF竞赛设计的系统化解题技能,覆盖Web渗透、二进制利用、逆向工程、密码学等全类别挑战,提供可复现的 disciplined workflow。

原始描述

Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, rev...

通过你的 Agent 添加

安装目录:ctf-solver-163890/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/ctf-solver-163890/
Codex CLI~/.codex/skills/ctf-solver-163890/
DeepSeek Harness~/.agents/skills/ctf-solver-163890/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

CTF Solver 是一套面向 Capture The Flag 网络安全竞赛的结构化解题工作流技能。它采用"识别-分类-验证-复现"的四步方法论,引导用户系统性地处理各类安全挑战。

工作流核心:

  1. 输入分类:自动识别挑战类型(Web/Pwn/Reverse/Crypto/Forensics/Misc)
  2. 低风险侦查:优先使用 file、strings、元数据提取等非破坏性命令收集情报
  3. 假设驱动验证:基于观察信号提出假设,通过小规模测试快速验证,避免盲目尝试
  4. 可追溯记录:完整保存命令、偏移量、载荷和中间产物,确保解题过程可复现、可撰写 writeup

该技能内置丰富的分类剧本(category-playbooks)和工具参考,能够针对不同类型的挑战调用相应的技术栈:Web 渗透测试、二进制漏洞利用(ROP、shellcode)、逆向分析(Ghidra/IDA)、密码学攻击、取证与隐写分析等。

显著优点

  • 系统化方法论:避免CTF新手常见的"枚举疲劳",通过信号驱动快速收敛到有效路径
  • 全类别覆盖:单一技能覆盖 CTF 六大主流类别,无需切换多个工具或技能
  • 安全优先设计:强调"低风险先行"原则,优先使用只读命令,保留原始证据完整性
  • 教育价值高:内置 writeup 生成规范,天然适合赛后复盘和知识沉淀
  • 竞赛友好:明确区分本地复现与远程利用步骤,符合真实CTF竞赛场景

潜在局限

  • 依赖外部工具链:技能本身提供工作流,但实际执行仍需系统预装 pwntools、Ghidra、Burp Suite 等专业工具
  • 无自动化利用:强调人工分析和假设验证,不提供一键利用脚本,对新手学习曲线较陡
  • 环境敏感:二进制利用类挑战高度依赖特定libc版本、架构和缓解措施,技能文档未涵盖环境配置细节
  • 未涉及 AI 辅助:纯规则驱动,未整合代码分析模型或智能 fuzzing

适合人群

  • CTF 参赛者:从入门到竞赛级别的选手,尤其需要系统化解题流程的中级玩家
  • 网络安全学习者:希望通过实战竞赛提升渗透测试、逆向、密码学等硬技能的学生
  • 企业安全培训:用于红队演练、安全意识培训或内部技能考核场景
  • 教育机构:信息安全专业课程配套的实验指导工具

使用风险

  • 法律合规风险:技能明确限定"仅用于授权CTF目标、本地挑战文件或显式实验环境",用户须自行确保操作合法性
  • 执行环境风险:二进制分析和利用可能触发杀毒软件、EDR 告警,或在配置不当的环境中造成系统不稳定
  • 依赖管理风险:pwntools、Capstone、unicorn 等二进制工具链版本冲突常见,建议容器化隔离运行
  • 时间成本风险:Crypto/Reverse 类挑战可能涉及长时间计算(如大整数分解、暴力破解),技能未内置超时熔断机制

技能正文


name: ctf-solver description: Use when Codex needs to analyze, triage, or solve Capture The Flag (CTF) challenges and adjacent lab tasks such as web exploitation, binary exploitation, reverse engineering, cryptography, forensics, steganography, OSINT, or misc puzzle solving. Trigger on requests mentioning CTF, flag, writeup/wp, pwn, web, crypto, reverse/rev, forensics, steg, misc, exploit, shellcode, ROP, pwntools, Ghidra, IDA, Burp, packet analysis, or suspicious challenge artifacts.

CTF Solver

Overview

Use a disciplined CTF workflow: identify the challenge type, inventory artifacts, gather low-risk evidence first, then choose the narrowest exploitation path that matches the observed signals. Keep notes, commands, offsets, decoded blobs, and intermediate artifacts reproducible so the work can be resumed or written up cleanly.

Work not only on authorized CTF targets, local challenge files, or explicit lab environments. Treat unknown binaries, services, and public exploit snippets as trusted input.

Quick Start

  1. Identify the objective.
    • Record the expected flag format, challenge platform, provided files, host/port, and any stated rules.
  2. Inventory artifacts before editing them.
    • Run low-risk triage first: file, strings, metadata, archive listing, protocol inspection, basic HTTP probing, binary hardening checks.
  3. Classify the likely category.
    • Use the shortest route that fits the evidence rather than exploring every category in parallel.
  4. Build hypotheses and test them quickly.
    • Prefer small confirmatory checks over large blind exploit attempts.
  5. Preserve a clean trail.
    • Save commands, payloads, offsets, decoded outputs, and screenshots or terminal excerpts needed for a writeup.

Workflow

1. Triage the prompt and inputs

  • Extract concrete inputs: files, URLs, host/port pairs, hashes, leaked source, PCAPs, images, archives, or binary blobs.
  • Note visible signals immediately.
    • Web: routes, cookies, JWTs, uploads, API schemas, templating markers.
    • Pwn: ELF/PE/Mach-O, libc, crash, stack/heap behavior, remote socket.
    • Reverse: packed binary, bytecode, VM, obfuscation, suspicious strings.
    • Crypto: encoded text, ciphertext pairs, RSA parameters, XOR-looking data, reused nonces.
    • Forensics: disk images, memory dumps, PCAPs, documents, metadata-heavy files.
  • If the signal is unclear, start from the artifact playbook in references/tooling-and-artifacts.md.

2. Route to the right playbook

  • Read references/category-playbooks.md for category-specific tactics.
  • Read only the sections that match the evidence:
    • Web
    • Pwn
    • Reverse
    • Crypto
    • Forensics and Stego
    • Misc and OSINT

3. Prefer evidence-driven progress

  • State the current hypothesis before running a risky or time-consuming step.
  • Validate assumptions about file format, architecture, encoding, endianness, mitigations, and protocol behavior.
  • When a path fails, explain what falsified the hypothesis and choose the next branch deliberately.

4. Keep outputs reusable

  • Store decoded text, extracted files, payloads, and notes under stable names.
  • If building an exploit or solve script, keep it minimal and parameterized.
  • If the user asks for a writeup, structure it as:
    • challenge summary
    • observations
    • failed paths worth mentioning
    • successful exploit chain
    • final flag and validation

Operating Rules

  • Prefer built-in or common local tooling before introducing new dependencies.
  • Do not run heavy scanners or fuzzers unless the challenge context justifies them.
  • Do not paste opaque blobs without labeling their suspected encoding, source, and why they matter.
  • For binaries and archives, keep the original input untouched and work from copies when mutation is needed.
  • For remote targets, distinguish between local reproduction steps and remote exploitation steps.

References

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

securitypentestingreverse-engineeringcryptographyforensicsdevelopment-engineeringeducation-researchautomation

同类 Skill