Token导航 LogoToken导航

Agent Skill · 研究检索

ctf-crypto(CTF 加密货币)

ctf-crypto 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ctf-crypto 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 32,538。

总安装 2,497周安装 101GitHub Stars 713下载 784核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ctf-crypto(CTF 加密货币)
来源仓库:https://github.com/cyberkaida/reverse-engineering-assistant
仓库路径:skills/ctf-crypto
安装命令:
npx skills add https://github.com/cyberkaida/reverse-engineering-assistant --skill ctf-crypto
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cyberkaida/reverse-engineering-assistant --skill ctf-crypto

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

CTF 加密货币专攻二进制中的密码实现弱点分析,用于挑战破解与密钥提取。适用于 Codex、Claude、Cursor、Gemini CLI 中逆向工程与 CTF 解题场景。核心能力包括识别硬编码密钥、分析自定义算法缺陷、利用弱随机源与密钥管理漏洞。聚焦实现层而非数学理论,强调动手调试与逻辑还原。

操作限于静态分析与模拟推理,禁止执行或修改目标二进制文件。

来源仓库内路径:skills/ctf-crypto

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cyberkaida/reverse-engineering-assistant --ski…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ctf-crypto 怎么安装?

在终端执行 npx skills add https://github.com/cyberkaida/reverse-engineering-assistant --skill ctf-cry…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ctf-crypto 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ctf-crypto 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ctf-crypto 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ctf-crypto 用的人多吗?

公开数据是累计安装 2,497 次,近一周安装 101 次,下载 784 次,GitHub 713 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ctf-crypto 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ctf-crypto

CTF 加密货币 · 本页

2,497713需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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 binaries follows a systematic investigation framework:

Phase 1: Crypto Detection

Goal: Determine if and where cryptography is used

Investigation approach:

  • Search for crypto-related strings and constants
  • Identify mathematical operation patterns (XOR, rotation, substitution)
  • Recognize standard algorithm signatures (S-boxes, key schedules, magic constants)
  • Find crypto API imports (CryptEncrypt, OpenSSL functions, etc.)

Key question: "Is there crypto, and if so, what kind?"

Phase 2: Algorithm Identification

Goal: Determine what cryptographic algorithm is being used

Investigation approach:

  • Compare constants to known crypto constants (initialization vectors, S-boxes)
  • Analyze operation patterns (rounds, block sizes, data flow)
  • Match code structure to known algorithm patterns
  • Check for library usage vs. custom implementation

Key question: "What algorithm is this, or is it custom?"

Phase 3: Implementation Analysis

Goal: Understand how the crypto is implemented and find weaknesses

Investigation approach:

  • Trace key material sources (hardcoded, derived, user input)
  • Analyze key generation/derivation logic
  • Identify mode of operation (ECB, CBC, CTR, etc.)
  • Look for implementation mistakes (IV reuse, weak RNG, etc.)
  • Check for custom modifications to standard algorithms

Key question: "How is it implemented, and where are the weaknesses?"

Phase 4: Key Extraction or Breaking

Goal: Recover the key or break the implementation to decrypt data

Investigation approach:

  • Extract hardcoded keys from binary data
  • Exploit weak key derivation (predictable RNG, poor entropy)
  • Break custom ciphers (frequency analysis, known-plaintext, etc.)
  • Leverage implementation flaws (timing, side channels, logic errors)
  • Reverse engineer decryption routines to understand transformation

Key question: "How do I recover the plaintext or key?"

Core Methodologies

Methodology 1: String and Constant Analysis

When to use: Initial discovery phase

Approach:

  1. Search for crypto keywords in strings
  2. Search for URLs, API endpoints that might receive encrypted data
  3. Locate large constant arrays (potential S-boxes, lookup tables)
  4. Compare constants to known crypto constants databases
  5. Follow cross-references from strings/constants to crypto functions

Tools:

  • get-strings with regexPattern for crypto keywords
  • get-strings with searchString for algorithm names
  • read-memory to inspect constant arrays
  • find-cross-references to trace usage

Methodology 2: Pattern Recognition

When to use: Identifying algorithm type

Approach:

  1. Look for characteristic loop structures (round counts)
  2. Identify substitution operations (table lookups)
  3. Recognize permutation patterns (bit shuffling)
  4. Spot modular arithmetic (public-key crypto)
  5. Match to known algorithm patterns (see patterns.md)

Tools:

  • get-decompilation with context to see algorithm structure
  • search-decompilation for operation patterns
  • Pattern reference (patterns.md) for recognition

Methodology 3: Data Flow Analysis

When to use: Understanding key management and data flow

Approach:

  1. Trace where plaintext/ciphertext enters the system
  2. Follow key material from source to usage
  3. Identify transformation steps (encrypt, decrypt, derive)
  4. Map data dependencies between functions
  5. Find where decrypted output is used or stored

Tools:

  • find-cross-references with context for data flow
  • rename-variables to clarify data roles (plaintext, key, iv)
  • change-variable-datatypes to reflect crypto types (uint8_t*, etc.)

Methodology 4: Weakness Discovery

When to use: Finding exploitable flaws in implementation

Common implementation weaknesses in CTF challenges:

  • Hardcoded keys in binary (directly extractable)
  • Weak key derivation (time-based seeds, simple XOR)
  • Poor random number generation (predictable, seeded with constant)
  • ECB mode (enables block analysis and manipulation)
  • IV reuse or predictable IVs
  • Custom ciphers with mathematical weaknesses
  • Incomplete key schedules or reduced rounds
  • Debug/test modes that bypass crypto

Investigation strategy:

  1. Check if key is hardcoded (read memory at key pointer)
  2. Analyze RNG initialization (is seed predictable?)
  3. Check for mode of operation weaknesses (ECB patterns)
  4. Look for test/debug backdoors
  5. Identify custom modifications to standard algorithms

Methodology 5: Reverse Engineering Decryption

When to use: When you need to understand or replicate crypto logic

Approach:

  1. Find decryption routine (may be encryption run backwards)
  2. Rename variables systematically (key, plaintext, ciphertext, state)
  3. Apply correct data types (byte arrays, word arrays)
  4. Document each transformation step with comments
  5. Replicate logic in Python script to test understanding
  6. Use binary's own decryption routine if possible

Tools:

  • rename-variables for clarity
  • change-variable-datatypes for correctness
  • set-decompilation-comment to document understanding
  • set-bookmark to mark important crypto functions

Flexible Workflow

CTF crypto challenges vary widely, so adapt this workflow to your specific challenge:

Quick Triage (5 minutes)

  1. Detect: Search for crypto strings, imports, constants
  2. Identify: Quick pattern match to known algorithms
  3. Assess: Is it standard crypto or custom? Strong or weak?

Deep Investigation (15-30 minutes)

  1. Understand: Decompile crypto functions, trace data flow
  2. Improve: Rename variables, fix types, document behavior
  3. Analyze: Find key sources, check for weaknesses
  4. Exploit: Extract keys, break weak implementations, or replicate logic

Exploitation (varies)

  1. Extract: Pull hardcoded keys from binary data
  2. Break: Exploit weak RNG, custom cipher flaws, or poor key derivation
  3. Decrypt: Use recovered keys or replicated logic to get flag

Verification

  1. Test: Verify decryption produces readable flag
  2. Document: Save findings in bookmarks and comments

Pattern Recognition

For detailed cryptographic algorithm patterns and recognition techniques, see patterns.md.

Key pattern categories:

  • Block ciphers: AES, DES, Blowfish (S-boxes, rounds, key schedules)
  • Stream ciphers: RC4, ChaCha (state evolution, keystream generation)
  • Public key: RSA, ECC (modular arithmetic, large integers)
  • Hash functions: MD5, SHA family (compression, magic constants)
  • Simple schemes: XOR, substitution, custom ciphers

CTF-Specific Considerations

CTF Challenge Design Patterns

Common CTF crypto scenarios:

  1. Weak custom cipher: Break via cryptanalysis (frequency, known-plaintext)
  2. Hardcoded key: Extract from.data section
  3. Weak RNG: Predict key from time-based or constant seed
  4. Standard crypto, weak key: Brute-force small keyspace
  5. Implementation bug: Exploit logic error to bypass crypto
  6. Obfuscated standard: Recognize despite code obfuscation

What CTF crypto is NOT:

  • Pure mathematical cryptanalysis (breaking AES-256 mathematically)
  • Side-channel attacks on hardware (timing, power analysis)
  • Network protocol attacks (though may combine with binary crypto)
  • Breaking modern TLS/SSL implementations

Time Management

Prioritize based on difficulty:

  1. Hardcoded keys (minutes): Search.data, extract bytes
  2. Weak RNG (10-15 min): Analyze seed, predict sequence
  3. Simple custom cipher (20-30 min): Frequency analysis, known-plaintext
  4. Implementation bugs (15-30 min): Find logic errors, test edge cases
  5. Complex custom cipher (30-60 min): Full reverse engineering and breaking

Know when to move on: If you've spent 30 minutes without progress, step back and reassess or try a different challenge.

Tool Usage Patterns

Discovery Phase

get-strings regexPattern="(AES|RSA|encrypt|decrypt|crypto|cipher|key)"
get-symbols includeExternal=true  → Check for crypto API imports
search-decompilation pattern="(xor|sbox|round|block)"

Analysis Phase

get-decompilation includeIncomingReferences=true includeReferenceContext=true
find-cross-references direction="both" includeContext=true
read-memory at suspected key/S-box locations

Improvement Phase

rename-variables: {"var_1": "key", "var_2": "plaintext", "var_3": "sbox"}
change-variable-datatypes: {"key": "uint8_t*", "block": "uint8_t[16]"}
apply-data-type: uint8_t[256] to S-box constants
set-decompilation-comment: Document crypto operations

Documentation Phase

set-bookmark type="Analysis" category="Crypto" → Mark crypto functions
set-bookmark type="Note" category="Key" → Mark key locations
set-comment → Document assumptions and findings

Integration with Other Skills

After Binary Triage

If binary-triage identified crypto indicators, start investigation at bookmarked locations:

search-bookmarks type="Warning" category="Crypto"
search-bookmarks type="TODO" category="Crypto"

With Deep Analysis

Use deep-analysis investigation loop for systematic crypto function analysis:

  • READ → Get decompilation
  • UNDERSTAND → Match to crypto patterns
  • IMPROVE → Rename/retype for clarity
  • VERIFY → Re-read to confirm
  • FOLLOW → Trace key sources
  • TRACK → Document findings

Standalone Usage

User explicitly asks about crypto:

  • "What encryption is used?"
  • "Find the hardcoded key"
  • "How does the custom cipher work?"
  • "Extract the encryption key"

Output Format

Return structured findings:

Crypto Analysis Summary:
- Algorithm: [Identified algorithm or "custom cipher"]
- Confidence: [high/medium/low]
- Key Size: [bits/bytes]
- Mode: [ECB, CBC, CTR, etc. if applicable]

Evidence:
- [Specific addresses, constants, code patterns]

Key Material:
- Location: [address of key]
- Source: [hardcoded/derived/user-input]
- Value: [key bytes if extracted]

Weaknesses Found:
- [List of exploitable weaknesses]

Exploitation Strategy:
- [How to break/bypass crypto to get flag]

Database Improvements:
- [Variables renamed, types fixed, comments added]

Unanswered Questions:
- [Further investigation needed]

Remember

  • Generic approach: Apply conceptual framework to any crypto implementation
  • Pattern matching: Use patterns.md for algorithm recognition
  • Implementation focus: Look for weaknesses in implementation, not mathematical breaks
  • Key extraction: Most CTF challenges have extractable or derivable keys
  • Document as you go: Crypto analysis benefits from clear variable naming
  • Time-box your work: Don't spend hours on cryptanalysis if key extraction is simpler
  • Test assumptions: Verify your understanding by replicating crypto logic

Your goal is to extract the flag, not to become a cryptographer. Use implementation weaknesses, not mathematical attacks.

平台分布

Codex

39.21%
按下载量换算307

Claude

27.69%
按下载量换算217

Cursor

19.5%
按下载量换算153

Gemini CLI

9.68%
按下载量换算76

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills