Skip to content

yscodingxyc/IDAPluginv1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ SRA-1: Security Research Assistant

SRA-1 is an LLM-powered bridge that brings high-level security analysis directly into your IDA Pro workflow. It transforms complex decompiled code into human-readable logic breakdowns, renames obscure variables, and generates functional exploit prototypes (Z3/pwntools) in seconds.


๐Ÿš€ Features

  • โšก Seamless IDA Integration: Right-click any decompiled function in the Hex-Rays view and "Send to SRA-1".
  • ๐Ÿง  Advanced Reasoning: Powered by state-of-the-art LLMs (Mistral, Llama 3, etc.) via OpenRouter.
  • ๐Ÿ› ๏ธ Automated Tooling: Instantly generates:
    • Logic Summaries: High-level explanations of what the code actually does.
    • Variable Mapping: Intuitive renames for v1, v2, a1 style variables.
    • Exploit Prototypes: Functional Z3 scripts for constraint solving or pwntools scripts for I/O automation.
  • ๐Ÿ”— Hybrid Architecture: A lightweight IDA plugin coupled with a powerful FastAPI bridge server for maximum flexibility and privacy control.

๐Ÿ—๏ธ Architecture

graph LR
    A[IDA Pro Plugin] -- "Decompiled C" --> B[FastAPI Bridge Server]
    B -- "Security Prompt" --> C[OpenRouter LLM]
    C -- "Analysis" --> B
    B -- "Structured Result" --> A
    A -- "Display" --> D[IDA Output window]
Loading

๐Ÿ› ๏ธ Setup

1. The Bridge Server

  1. Navigate to the bridge/ directory.
  2. Install dependencies: pip install fastapi uvicorn requests pydantic.
  3. API Key Setup: Go to OpenRouter and create an API key. Then, open bridge/main.py and replace "YOUR_OPENROUTER_API_KEY_HERE" with your actual API key.
  4. Run the server: python main.py.

2. The IDA Plugin

  1. Copy ida_plugin/sra1_plugin.py to your IDA plugins/ directory (or run it via Alt+F7).
  2. Make sure you have the requests library installed in your IDA Python environment.

๐ŸŽฏ The Pitch

Reverse engineering shouldn't be a chore of renaming variables and manual trace-backs. SRA-1 acts as your junior researcher, handling the grunt work of logic extraction so you can focus on the core vulnerabilities.


๐Ÿšง Roadmap

  • Auto-patch suggestions directly in IDA.
  • Multi-function context analysis.
  • Support for local LLMs (Ollama/LM Studio).

Built with โค๏ธ for the security research community.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages