ctf-crypto
Skill4 starsChanged 43 days agoMITView on GitHub
分析已明确的密码学/数学结构、攻击条件与求解方法:RSA、分组模式、ECC、格、PRNG、约束。二进制算法尚未恢复时由逆向分析提供语义;HTTP 交互按需由 Web 协助。
9 other projects use a version of this.
Adopted by
Most recently taken up by
- RieGan/offsec-skillstheir own version, first seen Nov 22, 2026
- Huoxing999/ctf-skillstheir own version, first seen Oct 25, 2026
- NoorQureshi/ronintheir own version, first seen Oct 11, 2026
- NoorQureshi/SploitAgenttheir own version, first seen Oct 11, 2026
- NoorQureshi/security-skillstheir own version, first seen Oct 11, 2026
- wgpsec/AboutSecuritytheir own version, first seen May 21, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- ljagiello/ctf-skills★ 3.7ksame name
- wgpsec/AboutSecurity★ 1.8ksame name
- NoorQureshi/security-skills★ 27same name
- NoorQureshi/ronin★ 26same name
- NoorQureshi/SploitAgent★ 26same name
- naravid19/claude-ctf-skills★ 7same name
- Huoxing999/ctf-skills★ 4same name
- MateoBogo/CLEAVE★ 4same name
- RieGan/offsec-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- analysis-memorySkill
- analysis-orchestrationSkill
- analysis-sessionSkill
- android-reSkill
- ctf-attack-chainSkill
- ctf-miscSkill
- ctf-modeSkill
- ctf-webSkill
- ghidra-coreSkill
- ghidra-staticSkill
- pwn-exploitSkill
- re-dynamicSkill
- re-triageSkill
- re-unpackSkill
- traffic-analysisSkill
- vuln-auditSkill
The file
Files
ctf-crypto
输入与输出
使用本技能的参数、字节接口与验证约定见 核心条件卡。编排 Solver 由宿主完整交付此卡;普通模式从该入口读取。具体攻击配方仍按当前已知结构选择。
输入为数学对象、来源证据、编码/位宽/模数和 oracle 条件;输出为攻击前提、求解结果、数学验证与目标接受情况。
根据已知条件选方法:检查参数域、可用泄漏、nonce/密钥复用和攻击适用范围,按下面专题读取。聚合工具可用于验证假设,不能以遍历全部攻击代替理解条件。用可复算的方程/已知向量校验结果,padding、字节序和编码与原任务输入契约一致。
SMT、剥离、代数化简、枚举按结构与代价选择,无统一固定顺序。Sage/fpylll/sympy 等以当前解释器可用性为准,缺工具可选择等价方法并说明限制。oracle 请求预算与实例身份留在任务状态。二进制里的算法恢复交 ghidra-static,纯编码交 ctf-misc。
会话与交接
按当前问题选方法,可静态先行、动态先行或直接建模。连续实验没有新增证据时盘点前提和可区分解释的实验;时间盒用于复查,可说明价值后继续原路线。
简单单点查询记录最小证据即可;多阶段、恢复或协作任务按需使用 analysis-session,记录关键结论、目标代次、实验干预和未决问题。普通工具事件由运行层记录。候选与外部接受分别说明,可交付限定范围的未完成报告。共享项目写操作协调所有权;未获变更权时先只读。
决策表(已知条件 → 读哪个文件)
| 已知条件/症状 | 读 |
| CRC、checksum oracle、等长差分或参数候选 | references/crc-oracle-contracts.md;输入覆盖、实例身份、仿射基线与多解分别核对 |
| 攻击条件与校验 | 调用密码攻击实现或测试向量时:前提、接口与结果验证 |
| RSA:n、e、c、公钥、dp/dq 泄露、多组密文 | rsa-attacks.md、rsa-attacks-2.md |
| AES/分组模式:ECB/CBC/CFB/OFB/GCM、padding oracle | modern-ciphers.md ~ modern-ciphers-4.md |
| ChaCha20/sponge(SHA-3/Ascon)/Trivium | modern-ciphers-4.md |
| LFSR/RC4/自研流密码 | stream-ciphers.md |
| ECC:曲线参数、ECDSA 签名、nonce 问题 | ecc-attacks.md |
| DH/离散对数:g、p、平滑阶 | dh-attacks.md;通用 DLP(BSGS/P-H)→ advanced-math.md |
| 格/LLL/BKZ/Coppersmith/HNP/LWE/NTRU/背包 | lattice-and-lwe.md、advanced-math.md |
| 后量子识别(Kyber/ML-KEM/Falcon) | post-quantum.md |
| PRNG:MT19937/LCG/xorshift/时间种子 | prng.md、prng-attacks.md |
| 古典密码:维吉尼亚/替换/OTP 重用/异或 | classic-ciphers.md、historical.md |
| ZKP/Shamir 秘密共享/配对/混淆电路 | zkp-and-advanced.md |
| 结构认不出来(辫子群/Paillier/热带半环…) | exotic-crypto.md、exotic-crypto-2.md |
| 需要 Z3 解约束 | zkp-and-advanced.md 的 Z3 指南 + advanced-math.md |
quick-reference.md 用于专题不明时的速查;只读取当前相关资料。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

