$npx skillfedfor your agent

ctf-crypto

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.

CTF Crypto identifies and analyzes cryptographic implementations in CTF binaries to extract keys and decrypt data.

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

792 68 Apache-2.0updated by cyberkaida

Decision gist · record as of 2026-07-21

CTF Crypto identifies and analyzes cryptographic implementations in CTF binaries to extract keys and decrypt data. 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.

manual: git clone https://github.com/cyberkaida/reverse-engineering-assistant → cp -r reverse-engineering-assistant/ReVa/skills/ctf-crypto ~/.claude/skills/ctf-crypto
ReVa/skills/ctf-crypto/SKILL.md · version 86e6939a

Use it when

  • ctf-crypto teaches you to recognize cryptographic patterns in compiled code: look for characteristic S-boxes, key schedules.
  • ctf-crypto covers key extraction by tracing initialization routines, identifying where keys are stored in memory or data sections.

Verify before relying

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

Same gist for agents: .md · .json

Install

cyberkaida/reverse-engineering-assistant/ctf-crypto · repository language: Java

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

How does ctf-crypto help solve CTF crypto challenges?

ctf-crypto guides you through systematic investigation of cryptographic implementations in compiled binaries. It helps you detect encryption routines, identify algorithm types (standard like AES/RSA or custom ciphers), trace key sources, and locate implementation weaknesses. By combining binary analysis with cryptanalysis techniques, ctf-crypto enables you to recover plaintext, extract hardcoded keys, or break weak schemes to capture flags.

How can I identify encryption in binary files using ctf-crypto?

ctf-crypto teaches you to recognize cryptographic patterns in compiled code: look for characteristic S-boxes, key schedules, and algorithm-specific constants. Search for standard library calls (OpenSSL, libgcrypt) or custom cipher loops. Examine memory operations, XOR chains, and substitution patterns. ctf-crypto helps you correlate these signatures with known algorithms or flag custom implementations for deeper analysis.

What techniques does ctf-crypto cover for extracting hardcoded keys?

ctf-crypto covers key extraction by tracing initialization routines, identifying where keys are stored in memory or data sections, and recognizing weak key derivation. It shows how to spot hardcoded strings, static buffers, and predictable key generation. You'll learn to exploit poor key management—keys embedded in .rodata, derived from weak RNG, or passed as constants—to recover encryption material and decrypt protected data.

How does ctf-crypto help reverse engineer custom ciphers?

ctf-crypto teaches you to document custom cipher logic by tracing encryption loops, identifying substitution and permutation operations, and mapping data flow. You'll recognize patterns like Feistel networks, byte-level transformations, and key mixing. By reconstructing the algorithm's behavior from assembly, ctf-crypto helps you build a cryptanalytic model to find weaknesses—weak diffusion, predictable round keys, or reused constants—and break the scheme.

What implementation weaknesses can ctf-crypto help me exploit?

ctf-crypto highlights common flaws: ECB mode (identical plaintext blocks produce identical ciphertext), weak RNG for key or IV generation, hardcoded keys, insufficient key derivation, and custom ciphers with poor diffusion or key schedules. It teaches you to recognize these patterns in binaries and apply targeted attacks—frequency analysis, known-plaintext recovery, or brute-force on weak key spaces—to decrypt data or recover flags.

Can ctf-crypto help me recognize AES, RSA, and other standard algorithms in compiled code?

Yes. ctf-crypto teaches you to spot standard cryptographic algorithms by their implementation signatures: AES S-boxes and key expansion routines, RSA modular exponentiation and padding schemes, and hash function constants. You'll learn to identify library calls and algorithm-specific memory patterns. Once recognized, ctf-crypto guides you to extract keys, find configuration weaknesses, or leverage known attacks on the implementation.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

CTF Cryptography

Purpose

You are a cryptographic implementation investigator for CTF challenges. Your goal is to identify, analyze, and exploit cryptographic implementations in compiled binaries to recover flags, keys, or decrypt data.

Unlike real-world cryptanalysis (attacking mathematical foundations), CTF crypto-in-binaries focuses on: - Implementation weaknesses: Poor key management, weak RNGs, flawed custom ciphers - Reverse engineering crypto logic: Understanding what the binary is doing cryptographically - Key extraction: Finding hardcoded keys, deriving keys from weak sources - Custom cipher analysis: Breaking non-standard encryption schemes - Crypto primitive identification: Recognizing standard algorithms (AES, RSA, RC4, etc.)

This skill is for crypto embedded in binaries, not pure mathematical challenges.

Conceptual Framework

Solving CTF crypto challenges in

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

File tree — 2 files
ReVa/skills/ctf-crypto/SKILL.md
ReVa/skills/ctf-crypto/patterns.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 › “Identify and analyze cryptographic implementations in CTF binaries”

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

Related skills

ctf-rev
by cyberkaida · cyberkaida/reverse-engineering-assistant

ctf-rev guides you through reverse engineering CTF challenges using structured methodologies for program comprehension. Learn to identify critical code paths, trace input transformations, recognize standard algorithms, and extract hidden flags through static analysis, dynamic observation, or hybrid approaches tailored to each challenge type.

Apache-2.0updated Jul 2026
★ 792repo 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
ctf-crypto
by ljagiello · ljagiello/ctf-skills

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.

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

Binary Triage performs an initial survey of unknown programs to rapidly assess what they do and surface red flags. It systematically examines memory layout, extracts and analyzes strings, catalogs imports and functions, then cross-references findings to prioritize deeper investigation. Use this when you need a fast overview before diving into detailed reverse engineering.

Apache-2.0updated Jul 2026
★ 792repo 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
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

More skills symmetric-cipher-attacks (MIT) · ctf-reverse (MIT)

Tags
binary-cryptanalysisweak-implementationskey-recoverycipher-identificationreverse-engineeringimplementation-flawsctf-exploitationcustom-cipherscrypto-patternsflag-extraction