Skip to main content

Overview

RAPTOR generates working exploit proof-of-concepts using LLM-powered analysis combined with runtime constraint validation. The system verifies architectural constraints before attempting techniques to avoid wasted effort.
For authorized security testing only. Never use generated exploits against systems you don’t own or have explicit permission to test.

Core Principle

Verify constraints BEFORE attempting any exploit technique.Many hours can be wasted attempting techniques that are architecturally impossible. Check constraints first, then choose appropriate techniques.

Constraint Validation

Before generating exploits, RAPTOR analyzes what’s actually possible:

1. Bad Bytes

What bytes cannot appear in the payload?

2. Architecture Constraints

Pointer Size: 8 bytesCritical Issue: Userland addresses are 0x00007fff... format. In little-endian:
Impact: strcpy copies low bytes first, then stops at null - only 6 bytes of an address can be written.Consequence: Multi-gadget ROP chains are blocked with strcpy on x86_64.

3. Mitigations

Using Mitigation Analysis

1

Run Analysis First

Always run mitigation analysis before exploit development:
2

Check Blocked Techniques

Review what won’t work:
Example output:
3

Use Viable Techniques

Focus on what works:
Example output:
4

Check Exploitation Paths

See complete attack chains:

LLM Model Requirements

Exploit Generation Process

The LLM follows this workflow:

Real Exploit Examples

Example 1: Format String Exploit

Format strings are powerful because %n can write null bytes (unlike strcpy).

Example 2: One-Gadget Exploit

One-gadgets solve the “only one address with strcpy” problem on x86_64.

Example 3: Partial Overwrite

Partial overwrites bypass ASLR by only modifying low bytes (which aren’t randomized).

Technique Selection

When a technique is blocked, use alternatives:
Full RELRO blocks both GOT AND .fini_array (standard linker scripts place both in RELRO segment). Don’t suggest .fini_array when Full RELRO is enabled.

Best Practices

Never generate exploits without checking constraints:
RAPTOR runs empirical tests (e.g., %n verification) - trust these over version checks:
Always test exploits in isolated VMs or containers:
Include constraint documentation in exploit comments:

See Also

Vulnerability Analysis

LLM-powered security analysis

Patch Creation

Generate secure patches