$npx skillfedfor your agent

ctf-crypto

ctf-crypto is a reference guide for cryptographic attack methods in CTF competitions, covering classical and modern cipher exploits, RSA and ECC vulnerabilities, lattice-based attacks, PRNG state recovery, and zero-knowledge proof breaks. It includes practical one-liners and supporting documentation for techniques like padding oracles, key derivation weaknesses, and Coppersmith attacks, with setup instructions for Python packages and external tools.

ctf-crypto teaches cryptographic attack techniques for CTF challenges across RSA, AES, ECC, lattices, and PRNG weaknesses.

AI-generated summary based on this skill's SKILL.md

2,840 334 MITupdated by ljagiello

Decision gist · record as of 2026-07-24

ctf-crypto teaches cryptographic attack techniques for CTF challenges across RSA, AES, ECC, lattices, and PRNG weaknesses. ctf-crypto is a reference guide for cryptographic attack methods in CTF competitions, covering classical and modern cipher exploits, RSA and ECC vulnerabilities, lattice-based attacks, PRNG state recovery, and zero-knowledge proof breaks. It includes practical one-liners and supporting documentation for techniques like padding oracles, key derivation weaknesses, and Coppersmith attacks, with setup instructions for Python packages and external tools.

manual: git clone https://github.com/ljagiello/ctf-skills → cp -r ctf-skills/ctf-crypto ~/.claude/skills/ctf-crypto
ctf-crypto/SKILL.md · version 84d4afa8

Use it when

  • ctf-crypto provides exploits for RSA vulnerabilities including Wiener attacks on small d values, Hastad broadcast attacks.
  • ctf-crypto covers elliptic curve attacks including ECDSA nonce reuse exploitation and discrete logarithm problem-solving techniques.

Verify before relying

Read SKILL.md below before installing (17 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

ljagiello/ctf-skills/ctf-crypto · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What cryptography CTF challenges does ctf-crypto cover?

ctf-crypto is a reference guide for cryptographic attack methods in CTF competitions, covering classical and modern cipher exploits, RSA and ECC vulnerabilities, lattice-based attacks, PRNG state recovery, and zero-knowledge proof breaks. It includes practical one-liners and supporting documentation for techniques like padding oracles, key derivation weaknesses, and Coppersmith attacks.

How does ctf-crypto help with RSA attack techniques?

ctf-crypto provides exploits for RSA vulnerabilities including Wiener attacks on small d values, Hastad broadcast attacks, Coppersmith polynomial root-finding methods, and Pollard p-1 factorization. The guide includes practical implementations and setup instructions for Python packages and external tools needed to execute these attacks.

What elliptic curve discrete log methods are in ctf-crypto?

ctf-crypto covers elliptic curve attacks including ECDSA nonce reuse exploitation and discrete logarithm problem-solving techniques. It provides reference implementations and explains how to identify and exploit weaknesses in ECC implementations commonly found in CTF challenges.

Does ctf-crypto explain padding oracle attacks?

Yes, ctf-crypto includes detailed coverage of padding oracle attacks and other oracle-based decryption methods. It also covers related symmetric cipher weaknesses like CBC mode bit flipping, AES encryption vulnerabilities, and GCM nonce reuse issues with practical exploitation examples.

What lattice and number theory techniques does ctf-crypto include?

ctf-crypto covers lattice reduction for LWE problems, Coppersmith polynomial root-finding, meet-in-the-middle birthday attacks, and general number theory factoring methods. It provides setup instructions for constraint solvers like Z3 and explains how to apply these techniques to solve crypto CTF problems.

How can ctf-crypto help break PRNG and hash functions?

ctf-crypto addresses PRNG state recovery, stream cipher LFSR attacks, and hash function collision techniques including frequency analysis for classical ciphers and XOR key recovery methods. It includes practical one-liners and supporting documentation for implementing these attacks in CTF scenarios.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

CTF Cryptography

Quick reference for crypto CTF challenges. Each technique has a one-liner here; see supporting files for full details with code.

Prerequisites

Python packages (all platforms):

pip install pycryptodome z3-solver sympy gmpy2 hashpumpy fpylll py_ecc

Linux (apt):

apt install hashcat sagemath

macOS (Homebrew):

brew install hashcat

Manual install: - SageMath — Linux: apt install sagemath, macOS: brew install --cask sage - RsaCtfTool — git clone https://github.com/RsaCtfTool/RsaCtfTool (automated RSA

(truncated - see the full file via the links below)

File tree — 15 files
ctf-crypto/SKILL.md
ctf-crypto/advanced-math.md
ctf-crypto/classic-ciphers.md
ctf-crypto/ecc-attacks.md
ctf-crypto/exotic-crypto-2.md
ctf-crypto/exotic-crypto.md
ctf-crypto/historical.md
ctf-crypto/lattice-and-lwe.md
ctf-crypto/modern-ciphers-2.md
ctf-crypto/modern-ciphers-3.md
ctf-crypto/modern-ciphers.md
ctf-crypto/prng-attacks.md
ctf-crypto/prng.md
ctf-crypto/rsa-attacks-2.md
ctf-crypto/rsa-attacks.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn cryptographic attack methods for CTF competitions”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

crypto-analysis
by hypnguyen1209 · hypnguyen1209/offensive-claude

Crypto-analysis evaluates cryptographic posture across TLS/SSL/SSH configurations, public-key implementations, and token schemes. It detects cipher downgrades, weak key generation, nonce reuse, AEAD misuse, and JWT algorithm confusion using integrated tools like testssl.sh, openssl, and hashcat. Use it to identify cryptographic flaws before attackers do.

MITupdated Jul 2026
★ 326repo stars
classical-cipher-analysis
by yaklang · yaklang/hack-skills

Identify and solve classical ciphers encountered in CTF challenges through systematic analysis. The skill covers cipher identification via character set, frequency distribution, and index of coincidence, then applies targeted attacks for monoalphabetic substitution, Caesar/ROT variants, polyalphabetic ciphers like Vigenere, and transposition methods. Includes Kasiski examination for key-length recovery and known-plaintext techniques.

MITupdated Jun 2026
★ 1,480repo stars
symmetric-cipher-attacks
by yaklang · yaklang/hack-skills

This skill covers hands-on cryptanalysis of symmetric encryption vulnerabilities across block and stream ciphers. Learn to exploit CBC padding oracles and bit flipping attacks, detect and abuse ECB mode repetition, decrypt data byte-at-a-time, and break stream ciphers through key reuse and state recovery. Includes Python implementations and tool usage for authorized testing and CTF challenges.

MITupdated Jun 2026
★ 1,480repo stars
ctf-crypto
by cyberkaida · cyberkaida/reverse-engineering-assistant

CTF Crypto helps you investigate cryptographic implementations embedded in compiled binaries through systematic detection, algorithm identification, and weakness analysis. Trace key sources, recognize standard algorithms and custom ciphers, and exploit implementation flaws to recover plaintext or extract keys.

Apache-2.0updated Jul 2026
★ 792repo stars
ctf-reverse
by ljagiello · ljagiello/ctf-skills

ctf-reverse equips you with techniques for analyzing compiled, obfuscated, packed, and virtualized targets in CTF competitions. It covers static analysis tools like GDB and Ghidra, dynamic approaches with Frida and angr, emulation frameworks, anti-analysis bypass strategies, and language-specific reversing for Python bytecode, WASM, Android, and compiled languages. Use this when understanding the target's behavior is the blocker before exploitation.

MITupdated Jul 2026
★ 2,840repo stars
deep-analysis
by cyberkaida · cyberkaida/reverse-engineering-assistant

Deep Analysis conducts focused, evidence-based investigation of specific binary questions—such as function purpose, cryptographic usage, or network indicators—through iterative analysis loops. Unlike breadth-first surveys, it follows investigation threads completely, making incremental improvements to variable names, types, and comments within the Ghidra database to enhance code clarity. Use it after initial triage to drill into suspicious areas or answer targeted questions about binary behavior.

Apache-2.0updated Jul 2026
★ 792repo stars

More skills ctf-malware (MIT)

Tags
attack-automationmathematical-cryptanalysisoracle-exploitationkey-recovery-techniquescipher-weaknessesprng-predictionlattice-problemsside-channel-attackspadding-schemesalgebraic-structures