hackingBuddyGPT  by ipa-lab

LLM agentic framework for security researchers/pen-testers

Created 2 years ago
805 stars

Top 43.9% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a framework for ethical hackers and security researchers to leverage Large Language Models (LLMs) for penetration testing and vulnerability discovery, aiming to automate and accelerate security assessments. It targets security professionals seeking to integrate AI into their workflows, offering a concise, 50-line-of-code approach to building LLM-powered security agents.

How It Works

HackingBuddyGPT utilizes an agent-based architecture where LLMs are prompted to generate commands for execution on target systems. It supports various use cases, including Linux privilege escalation and web penetration testing, by abstracting LLM interactions, command execution, and logging. The framework emphasizes modularity, allowing users to easily define new agents and integrate different LLMs or execution environments.

Quick Start & Requirements

  • Install: pip install -e . after cloning the repository.
  • Prerequisites: Python environment, OpenAI API key (or other LLM provider configuration), SSH access to a target machine.
  • Setup: Clone repo, create/activate virtual environment, install requirements, configure .env file with API keys and target credentials.
  • Run: python src/hackingBuddyGPT/cli/wintermute.py <UseCaseName> (e.g., LinuxPrivesc).
  • Docs: https://github.com/ipa-lab/hackingBuddyGPT

Highlighted Details

  • Framework designed for <50 lines of code per agent.
  • Supports autonomous agents for tasks like Linux privilege escalation.
  • Includes a web-based viewer for live log monitoring and replay functionality.
  • Offers academic publications detailing research and benchmarks.

Maintenance & Community

The project is led by contributors from TU Wien's IPA-Lab, with active participation from academics and professional pen-testers. A Discord server is available for community discussion.

Licensing & Compatibility

The project is released under a permissive license, suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

Web testing use cases are in pre-alpha and under heavy development. Usage of OpenAI models incurs costs, and users are responsible for managing API usage and associated expenses. The project is experimental and provided "as-is."

Health Check
Last Commit

2 weeks ago

Responsiveness

1 day

Pull Requests (30d)
12
Issues (30d)
0
Star History
57 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.