muwinds/buuctf_agent/crypto
Claude Code and agent skill by muwinds/buuctf_agent
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
密码学攻击技术,包括古典密码、RSA、AES、哈希碰撞、椭圆曲线等密码系统的分析与破解。
Install
npx vskill@latest install muwinds/buuctf_agent/cryptoSKILL.md
密码学攻击方法论
编码识别
- Base64:字符集
A-Za-z0-9+/,末尾=填充 - Base32:字符集
A-Z2-7,末尾=填充 - Hex:
0-9a-f或0-9A-F - URL 编码:
%xx格式 - Unicode:
\uXXXX或&#xXXXX; - Brainfuck/Ook!:特殊字符组成的 esolang
古典密码
- 凯撒/移位:枚举 26 种偏移,或频率分析
- 维吉尼亚:Kasiski 测试确定密钥长度,频率分析破解
- 栅栏密码:尝试不同栏数,W型需先还原路径
- Playfair:5x5 矩阵,双字母组加密
- 培根密码:5 位二进制编码,注意 A/B 的对应关系
RSA
- 小公钥指数:
e=3时直接开立方根 - 共模攻击:同一 n 不同 e 加密同一消息,
gcd(c1^e2, c2^e1)扩展欧几里得 - 因数分解:小因子直接分解,yafu/msieve 工具
- Wiener 攻击:
d < n^(1/4)时连分数展开 - p-1 光滑:Pollard's p-1 算法
- Coppersmith:已知明文高位,Sage
small_roots() - 多素数 RSA:
n = p*q*r,phi = (p-1)(q-1)(r-1) - 常见工具:RsaCtfTool、yafu、SageMath
AES
- ECB 模式:相同明文块产生相同密文,可进行模式分析
- CBC 字节翻转:修改前一密文块的第 i 字节影响下一明文块第 i 字节
- Padding Oracle:利用填充错误信息解密,
padbuster工具 - 密钥恢复:侧信道攻击、弱密钥
哈希
- 长度扩展攻击:MD5/SHA1 的 Merkle-Damgard 结构,
hashpump工具 - 碰撞:MD5 的
fastcoll工具 - 彩虹表:在线查询 crackstation.net、cmd5.com
椭圆曲线 (ECC)
- 小阶攻击:Pohlig-Hellman 算法
- Smart 攻击:
#E(F_p) = p时 - MOV 攻击:嵌入度较小时
- Sage 工具:
discrete_log()、lift_x()
常见解题工具
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/crypto/SKILL.md
Popularity
- Repository stars
- 244
- Repository forks
- 31
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/muwinds/buuctf_agent/crypto)