ctf-crypto
Provides cryptography attack techniques for CTF challenges. Use when attacking encryption, hashing, signatures, ZKP, PRNG, or mathematical crypto problems involving RSA, AES, ECC, lattices, LWE, CVP, number theory, Coppersmith, Pollard, Wiener, padding oracle, GCM, key derivation, or stream/block cipher weaknesses.
Security Assessment
Detected risks:
About ctf-crypto
The ctf-crypto skill is a specialized cryptography reference and attack toolkit designed for Capture The Flag (CTF) competitions and security research scenarios. It provides guidance for analyzing and exploiting weaknesses in encryption schemes, hashing algorithms, digital signatures, pseudorandom number generators, zero-knowledge proof systems, and mathematical cryptography challenges. The skill focuses on practical offensive techniques used in CTF environments, helping users quickly identify applicable attack paths for RSA, AES, ECC, lattice-based cryptography, stream ciphers, block ciphers, padding oracles, nonce reuse issues, and number theory-based vulnerabilities.
The skill includes categorized references to both classical and modern cryptographic attacks, with supporting files covering techniques such as Vigenere analysis, XOR key recovery, AES padding oracle exploitation, AES-GCM nonce reuse attacks, ECB cut-and-paste manipulation, CBC bit-flipping, hash length extension, CRC32 forgery, RC4 bias exploitation, LFSR recovery, and multiple RSA attack methods including Wiener's attack, Pollard-based factorization, and small exponent attacks. It also documents required dependencies and tooling, including Python cryptography libraries, SageMath, Hashcat, Z3, and RsaCtfTool, enabling users to reproduce attacks and automate cryptographic analysis workflows.
This skill is intended for CTF participants, penetration testers, security researchers, and students studying applied cryptography. It is especially useful in environments where rapid identification of crypto weaknesses is required and where filesystem access, Python tooling, and command-line utilities are available. The documentation structure allows users to quickly locate relevant attack techniques while referencing more detailed implementation examples in supporting markdown files.
FAQ
What types of cryptography challenges does this skill support?
The skill supports a wide range of CTF cryptography problems, including RSA attacks, AES weaknesses, stream cipher analysis, hashing vulnerabilities, padding oracles, nonce reuse, PRNG recovery, lattice problems, XOR-based ciphers, and classical cipher techniques.
What software and dependencies are required to use this skill?
The skill requires a filesystem-based agent environment with bash, Python 3, and internet access for installing tools. Recommended dependencies include pycryptodome, z3-solver, sympy, gmpy2, hashpumpy, fpylll, py_ecc, Hashcat, SageMath, and RsaCtfTool.
Is this skill compatible with macOS and Linux?
Yes. The documentation includes installation instructions for both Linux and macOS environments, including apt-based and Homebrew-based package installation methods.
Does the skill include implementation examples or only theory?
The main SKILL.md file provides concise references and summaries, while linked markdown files contain additional details and code-oriented explanations for specific attacks and techniques.
Are there any limitations or environment requirements?
Yes. The skill depends on command-line tooling, Python packages, and filesystem access. Some advanced attacks also require external tools such as SageMath or RsaCtfTool, which must be installed separately.
All Files
17 filesInstall ctf-crypto
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
ljagiello/ctf-skills