GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KevinL10/blade: Automated exploitation for cryptography challenges in CTFs.

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
agents
agents
 
 
benchmarks
benchmarks
 
 
examples/vulnerable-flask
examples/vulnerable-flask
 
 
models
models
 
 
static
static
 
 
tools
tools
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
blade.py
blade.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Blade

Automated exploitation for cryptography challenges in CTFs.

Blade is built with LLM agents that semantically reason about code and can invoke external actions such as browsing past CTF writeups or digging into source code of internal libraries. Blade is currently built on top of GPT-4, but we have plans to finetune custom models for all parts of the process.

Usage

To run blade on a challenge file, run: python blade.py <source file> <constants file>

Provide your OPENAI_API_KEY as an environment variable. To enable debug logging, set BLADE_DEBUG=1.

Benchmarks

We use the CryptoHack challenges as the primary benchmark, because:

  • CryptoHack challenges are high-quality and feature a wide range of difficulties
  • There are no publicly available solutions, hence no training data contamination

Current roadmap:

  • RSA Category (current): our goal is to obtain 100% accuracy without problem-specific engineering

RSA Category

We run blade.py on each challenge up to 5 times and mark a challenge as solved if any of the 5 executions directly print the CTF flag.

Blade only supports static challenges with a single source file and constants file.

Challenge Status
Public Exponent
Salty ✔️ Solved
Modulus Inutilis ✔️ Solved
Everything is Big ✔️ Solved
Crossed Wires Unsupported
Everything is Still Big ❌ Unsolved
Endless Emails Unsupported
Primes Part 2
Infinite Descent ❌ Unsolved
Marin's Secrets ❌ Unsolved
Fast Primes Unsupported
Ron was Wrong, Whit is Right Unsupported
RSA Backdoor Viability ❌ Unsolved
Padding
Bespoke Padding Unsupported
Null or Never ❌ Unsolved
Signatures Part 1
Signing Server Unsupported
Let's Decrypt Unsupported
Blinding Light Unsupported
Signatures Part 2
Vote for Pedro Unsupported
Let's Decrypt Again Unsupported

TODO

RSA challenges:

  • Improve constant substition into file
  • Separate vulnerability detection from exploitation
  • Build library of common vulnerabilities + match on natural language descriptions
  • Support communication with server

About

Automated exploitation for cryptography challenges in CTFs.

Topics

cryptographyctf-challengesvulnerability-detection

Resources

Readme
Activity

Stars

9 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.