
Lattice Crypto Attacks
This is a comprehensive playbook for lattice-based cryptanalysis, covering everything from LLL and BKZ reduction basics to practical attacks on RSA (Coppersmith small roots, Boneh-Durfee), DSA/ECDSA nonce recovery via the Hidden Number Problem, and knapsack cryptosystems. The real value is in the attack construction details: proper lattice dimensions, scaling factors, and those subtle beta parameters in Coppersmith methods that base models consistently get wrong. If you're doing CTF crypto challenges or need to attack biased nonces, weak RSA keys, or subset sum problems, this gives you working SageMath and fpylll code with the correct bounds. The routing table at the top is smart too, since these techniques often overlap with other RSA attacks.
- skills.sh installs
- 3.7K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill lattice-crypto-attacks --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Lattice-Based Cryptanalysis — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert lattice techniques for CTF and cryptanalysis. Covers LLL/BKZ reduction, Coppersmith's method (univariate and multivariate), Hidden Number Problem for DSA/ECDSA nonce recovery, knapsack attacks, and NTRU analysis. Base models often fail to construct the correct attack lattice (wrong dimensions, missing scaling factors) or misapply Coppersmith bounds.
0. RELATED ROUTING
- rsa-attack-techniques for RSA-specific attacks that use lattice methods (Coppersmith, Boneh-Durfee)
- symmetric-cipher-attacks for LCG state recovery via lattice
- classical-cipher-analysis when lattice methods apply to classical cipher analysis
Quick application guide
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Finance & Trading
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Symmetric Cipher Attacks3.7K
- Windows Lateral Movement3.7K
- Macos Security Bypass3.7K
- Ntlm Relay Coercion3.7K
- Nosql Injection3.7K
- Macos Process Injection3.7K
- Upload Insecure Files3.7K
- Unauthorized Access Common Services3.6K
- Reverse Shell Techniques3.6K
- Ghost Bits Cast Attack3.5K
- Hack4.6K
- Android Pentesting Tricks4.3K
- Recon And Methodology4.3K
- Sqli Sql Injection4.2K
- Code Obfuscation Deobfuscation4.2K
- Xss Cross Site Scripting4.2K
- Api Sec4.1K
- Business Logic Vulnerabilities4.1K
- Ssrf Server Side Request Forgery4.1K
- Idor Broken Object Authorization4K
- Authbypass Authentication Flaws4K
- Jwt Oauth Token Attacks4K
- Api Recon And Docs4K
- 401 403 Bypass Techniques4K