Skip to content
cccskills
FreePublished on GitHub

ctf-crypto

CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击

The English summary is being prepared. Showing the original description.

See how to install

Files included (7)

  • SKILL.md2.4 KB
  • references/aes-and-block-cipher-attacks.md3.9 KB
  • references/classic-cipher-attacks.md4.1 KB
  • references/ecc-attacks-cheatsheet.md2.6 KB
  • references/lattice-and-lwe-attacks.md1.8 KB
  • references/prng-and-stream-cipher-attacks.md2.6 KB
  • references/rsa-attacks-cheatsheet.md3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

CTF 密码学攻击知识库

针对 CTF Crypto 题目的实战攻击知识库,提供具体攻击参数、数学公式、Python 代码片段。

与 crypto-toolkit 的区别:

  • crypto-toolkit → 编解码操作工具(base64 解码、MD5 哈希、AES 加解密)
  • ctf-crypto → 密码学攻击知识(RSA 小指数攻击怎么做、Padding Oracle 怎么利用)

核心原则

  1. 先识别加密体系 — 看密钥长度、加密模式、已知量,确定攻击方向
  2. 工具验证 — 使用 python_execute 执行攻击代码,用 crypto_decode 做辅助编解码
  3. 参数敏感 — 密码学攻击对参数极其敏感,必须精确计算

场景路由

场景参考文档核心攻击
RSA 攻击rsa-attacks-cheatsheet.md小e/共模/Wiener/Pollard/Fermat/Coppersmith
AES/分组密码攻击aes-and-block-cipher-attacks.mdECB翻转/Padding Oracle/GCM nonce重用
ECC 攻击ecc-attacks-cheatsheet.md小子群/invalid curve/Smart/Pohlig-Hellman
PRNG/流密码攻击prng-and-stream-cipher-attacks.mdMT19937/LCG/LFSR/RC4
古典密码classic-cipher-attacks.mdVigenere/XOR频率分析/OTP重用
格攻击lattice-and-lwe-attacks.mdLLL/BKZ/HNP/LWE embedding

快速判题指南

题目特征可能攻击推荐参考
给了 n, e, cRSArsa-attacks-cheatsheet.md
e=3 或 e 很小RSA 小指数攻击rsa-attacks-cheatsheet.md
多组 (n, e, c) 且 n 相同RSA 共模攻击rsa-attacks-cheatsheet.md
n 很大但 e 很大Wiener 攻击rsa-attacks-cheatsheet.md
AES-CBC + 解密 oraclePadding Oracleaes-and-block-cipher-attacks.md
AES-ECB + 可控明文ECB 字节翻转aes-and-block-cipher-attacks.md
椭圆曲线参数ECC 攻击ecc-attacks-cheatsheet.md
给了随机数序列PRNG 预测prng-and-stream-cipher-attacks.md
给了密文和部分明文XOR/流密码classic-cipher-attacks.md
矩阵/向量运算格攻击lattice-and-lwe-attacks.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AI与MCP安全评估 — Prompt注入、工具滥用、MCP信任边界、Agent权限逃逸、数据泄露、模型风险、GAARM风险矩阵

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

客户端逆向与Burp重放 — 复杂客户端签名恢复、加密还原、请求链追踪、稳定重放,适用于已授权安卓App渗透测试、浏览器JS签名、桌面客户端逆向

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

编码解码与加解密工具 — base64/URL/Hex/HTML实体编码解码,MD5/SHA哈希,AES/DES/RSA加解密,JWT解析,Caesar/ROT13密码,栅栏/Vigenere密码,Unicode转义,Morse电码等

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

CTF杂项知识库 — Python Jail逃逸、Bash Jail逃逸、编码链识别与解码、QR/音频/图像隐写、游戏VM逆向、CTFd API导航、Linux提权

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

CTF Web攻击知识库 — PHP弱比较绕过、命令注入空格绕过、eval回显技巧、SSTI注入链、反序列化利用链、PHP代码审计checklist、常见flag位置

The English summary is being prepared. Showing the original description.

Netw0rkNoob/VulnClaw3.7KUpdated Oct 12, 2026

See all skills by Netw0rkNoob

Report a problem with this skill