Skip to main content
Glama
README.md
# AI Phishing Simulation Platform

![Python](https://img.shields.io/badge/Python-3.10+-blue?logo=python)
![MCP](https://img.shields.io/badge/MCP-SDK-orange)
![Kali Linux](https://img.shields.io/badge/Kali-Linux-557C94?logo=kali-linux)
![Claude Desktop](https://img.shields.io/badge/Claude-Desktop-blueviolet)
![License](https://img.shields.io/badge/License-MIT-lightgrey)

An end-to-end **AI-driven phishing simulation platform** for authorized employee security awareness testing. Connects **Claude Desktop to Kali Linux tools via MCP**, allowing natural language-driven campaign design, execution, tracking, and reporting.

> *"Test my employees with a credential harvesting simulation targeting the IT department"*  
> — That's all it takes to launch a full campaign.

---

## Features

- Natural language campaign control through Claude Desktop
- MCP bridge to Kali Linux security tools (GoPhish, SET, custom scripts)
- Automated phishing email generation tailored to target department/role
- Campaign tracking: open rates, click rates, credential submission rates
- Susceptibility reports with department-level breakdown
- Supports security awareness training follow-up workflows

---

## Architecture

```
Claude Desktop (natural language)
        │
        ▼
   MCP Server (server.py)
        │
        ▼
   Kali Linux Bridge (kali_bridge.py)
   [SSH connection to Kali instance]
        │
   ┌────┴────┐
   ▼         ▼
GoPhish   Custom Scripts
(campaigns) (email gen)
        │
        ▼
   Campaign Tracker (tracker.py)
        │
        ▼
   Susceptibility Report
```

---

## Requirements

- Python 3.10+
- Kali Linux instance (local VM or remote — SSH accessible)
- GoPhish installed on Kali
- MCP SDK: `pip install mcp`
- Claude Desktop with MCP configured
- **Written authorization** from your organization before running any simulation

---

## Installation

```bash
git clone https://github.com/charlie-netdevops/ai-phishing-sim-platform.git
cd ai-phishing-sim-platform
pip install -r requirements.txt
cp .env.example .env
# Configure Kali SSH credentials and GoPhish API key in .env
```

### Claude Desktop Config

```json
{
  "mcpServers": {
    "phishing-sim": {
      "command": "python",
      "args": ["/path/to/ai-phishing-sim-platform/mcp_server/server.py"]
    }
  }
}
```

---

## Usage (Claude Desktop)

```
"Launch a phishing simulation targeting Finance department using an IT password reset template"

"Show me the results of the last campaign"

"Generate a security awareness report for Q1 2026"

"Which employees clicked the phishing link in the November campaign?"
```

---

## Sample Report Output

```
PHISHING SIMULATION REPORT
Campaign    : IT Password Reset — Finance Dept
Date        : 2025-11-14
Emails Sent : 47

RESULTS:
  Opened          : 38 (80.9%)
  Clicked Link    : 22 (46.8%)
  Submitted Creds : 9  (19.1%)
  Reported Phish  : 3  (6.4%)

TOP SUSCEPTIBLE ROLES:
  1. Administrative Assistant  — 4/5 clicked (80%)
  2. Finance Analyst           — 6/12 clicked (50%)
  3. Manager                   — 2/8 clicked (25%)

RECOMMENDATION:
  Immediate security awareness training for Administrative and Finance roles.
  Focus: credential phishing recognition, suspicious link identification.
```

---

## Project Structure

```
ai-phishing-sim-platform/
├── mcp_server/
│   ├── server.py              # MCP server — Claude Desktop integration
│   └── kali_bridge.py         # SSH bridge to Kali Linux tools
├── campaigns/
│   ├── generator.py           # AI campaign content generation
│   └── tracker.py             # Campaign results tracking
├── templates/
│   └── phishing_templates/
│       ├── it_support.html
│       └── password_reset.html
├── reports/
│   └── sample_report.md
├── main.py
├── requirements.txt
└── .env.example
```

---

## Ethical & Legal Notice

This tool is for **authorized penetration testing and security awareness programs only**. You must have explicit written authorization from organizational leadership before running any phishing simulation. Unauthorized use is illegal. All simulations should comply with your organization's acceptable use policy.

---

## Author

**Yash Patel** — IT Analyst | Cybersecurity & IAM  
[LinkedIn](https://linkedin.com/in/yashpatelnetworking) | [Portfolio](https://charlie-netdevops.github.io/CharlieNetdevops/)