Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghostforge

Ghostforge is a local AI platform designed for Social Engineering detection and simulation. It acts as both a Red Team tool (generating attack scenarios) and a Blue Team tool (analyzing suspicious documents) using Large Language Models (LLMs) running entirely on your machine.

GhostForge Architecture

Features

  • Attack Lab: Generates realistic phishing emails, SMS, and pretexting scenarios to test security awareness.

GhostForge Attack Lab

  • Defense Center: Analyzes PDF documents to detect urgency, suspicious links, and malicious intent, providing a risk score (0-100).

GhostForge Defense Center

  • 100% Local: Uses Ollama and Docker. No data leaves your computer.

Quick Start

Prerequisites

  • Docker & Docker Compose installed on your machine.

Installation

  1. Clone the repository.

  2. Setup .env: Setup your .env file using the provided .env.example as an example

    mv .env.example .env
  3. Run the installation script in scripts/ directory:

    ./install.sh

    This script will build the containers, set up the database, and automatically download the AI model.

  4. Access the App: Open your browser and go to: http://localhost:8000

  5. Stop the App: To stop all containers, run:

    ./stop.sh

Configuration

Ghostforge allows you to switch between different AI models. This is managed via the .env file.

  1. Open the .env file in the root directory.

  2. Change the OLLAMA_MODEL variable:

    OLLAMA_MODEL=llama3
  3. Apply changes by running the install script again:

    ./install.sh

Future Improvements & Known Limitations

1. PDF Processing: PyPDF vs. Docling

  • Currently, the project uses pypdf for extracting text from documents since docling requires heavy machine learning libraries (PyTorch) and significant hardware resources (GPU). On standard CPUs, this causes an immense bottleneck when analyzing documents.

2. SET (Social Engineering Toolkit) integration

  • Future plans include the integration of the social engineering tookit in order to automate attacks.

3. Advanced RAG (Retrieval-Augmented Generation)

  • Improve the "Target Info" context in the Attack Lab to allow uploading company profiles for highly targeted spear-phishing simulations.

About

A local AI platform designed for Social Engineering detection and simulation.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages