ctf-crypto

Identifies cryptographic routines in binaries and outlines how to extract keys or decrypt data.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/th3w1zard1/reverse-engineering-assistant --skill ctf-crypto-th3w1zard1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-crypto
Source: https://github.com/th3w1zard1/reverse-engineering-assistant/tree/main/ReVa/skills/ctf-crypto
Command: npx skills add https://github.com/th3w1zard1/reverse-engineering-assistant --skill ctf-crypto-th3w1zard1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The CTF crypto skill helps security researchers, red teams, and contestants quickly identify, analyze, and exploit cryptographic implementations in binaries to recover flags, keys, or decrypt data during challenges.

Core Features & Use Cases

  • Crypto detection and classification: spot where crypto is used and determine the algorithm class (block/stream/hash).
  • Key material tracing: trace hardcoded keys or derived keys through code paths.
  • Weakness discovery and exploitation: identify weak RNGs, ECB weaknesses, or custom ciphers and propose exploitation strategies.

Quick Start

Identify crypto routines in a binary and outline a plan to extract keys or decrypt data.

Frequently Asked Questions about ctf-crypto

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify cryptographic implementations in a binary for CTF challenges?

Identifying cryptographic implementations in a binary involves analyzing constant arrays and round counts to classify the algorithm class as block, stream, or hash. This process spots where crypto is used and determines the exact algorithm type for further analysis.

What is the best way to trace hardcoded keys or key material in reverse engineering?

Tracing hardcoded keys involves following derived keys through execution code paths to locate key material sources. By tracking these data flows, you can pinpoint exact key locations and establish a reproducible decryption plan to recover the target flag.

How do I exploit weak crypto implementations like custom ciphers or weak RNGs?

Exploiting weak crypto implementations involves identifying vulnerabilities like weak RNGs or ECB weaknesses in custom ciphers and proposing targeted exploitation strategies. This weakness discovery process outlines how to extract keys or decrypt data by leveraging implementation flaws.

Can I find cryptographic backdoors or exfiltration vectors in CTF binaries?

Yes, you can find cryptographic backdoors or exfiltration vectors in CTF binaries by analyzing the implementation for hidden weaknesses and potential data exfiltration paths. This analysis provides concrete evidence of how data is decrypted or extracted.

How do I create a reproducible decryption plan to recover a flag from a binary?

Creating a reproducible decryption plan involves combining identified algorithm classes, traced key locations, and discovered implementation weaknesses into a step-by-step strategy. This plan uses extracted key material to successfully decrypt the data and recover the flag.