An open API service indexing awesome lists of open source software.

https://github.com/canstralian/beryl-ax-pineapple

The WiFiPineapple Beryl AX project re-engineers the GL.iNet GL-MT3000 (Beryl AX) into an open, modular wireless auditing platform built on OpenWrt.
https://github.com/canstralian/beryl-ax-pineapple

gl-inet gl-mt3000 pineapple router wifi-pineapple

Last synced: 5 months ago
JSON representation

The WiFiPineapple Beryl AX project re-engineers the GL.iNet GL-MT3000 (Beryl AX) into an open, modular wireless auditing platform built on OpenWrt.

Awesome Lists containing this project

README

          

# ๐Ÿงฉ WiFiPineapple Beryl AX โ€” Spec-Kit

## Overview

The **WiFiPineapple Beryl AX** project re-engineers the **GL.iNet GL-MT3000 (Beryl AX)** into an **open, modular wireless auditing platform** built on **OpenWrt**.
It aims to deliver *WiFi Pineapple-class* functionality with greater transparency, flexibility, and performance โ€” all within the bounds of **lawful, ethical network security research**.

---

## โš™๏ธ Hardware Baseline

| Component | Specification | Role |
| ------------ | ----------------------------------------------------- | --------------------------------------------------------------------------- |
| **CPU** | MediaTek MT7981B (Dual-Core ARM Cortex-A53 @ 1.3 GHz) | Handles concurrent audit tasks (packet capture, rogue APs, DNS spoofing). |
| **RAM** | 512 MB DDR4 | Enables concurrent multi-tool sessions (Kismet, Hostapd-Mana, Aircrack-NG). |
| **Storage** | 256 MB NAND Flash + USB 3.0 External | Supports persistent audit toolkit and long packet captures. |
| **Wireless** | Dual-band Wi-Fi 6 (AX3000) | Primary radios for reconnaissance and injection. |
| **Ethernet** | 2.5 G WAN + 1 G LAN | High-speed tethering / data exfil backhaul. |
| **Ports** | 1 ร— USB 3.0 Type-A | For external Wi-Fi adapters (Atheros / Realtek). |
| **Power** | USB-C 5 V 2 A | Portable operation with power banks. |

---

## ๐Ÿง  Software Stack

### Base System

* **OpenWrt v24+ (Mainline)**
* Linux 6.6+ kernel
* `opkg` package manager with direct access to community repositories
* `LuCI` and `UCI` configuration interfaces

### Core Auditing Toolkit

| Tool | Purpose |
| -------------------- | ---------------------------------------------------------------- |
| `aircrack-ng` | Packet capture, WEP/WPA key cracking (for educational use only). |
| `kismet` | Passive reconnaissance, network mapping. |
| `hostapd-mana` | Rogue AP emulation and credential harvesting simulations. |
| `mdk4` | Stress-testing and wireless fuzzing of target networks. |
| `dnsmasq-full` | DHCP + DNS emulation for captive portal attacks. |
| `tcpdump` / `tshark` | Raw traffic capture and forensic analysis. |

---

## ๐Ÿงฉ Architecture

```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ OpenWrt Kernel โ”‚
โ”‚ (Linux 6.6, MT76 Drivers) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Service Layer โ”‚
โ”‚ (hostapd-mana, kismet) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Auditing Interface/UI โ”‚
โ”‚ (LuCI + Python Scripts) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Data Persistence & Logs โ”‚
โ”‚ (/mnt/usb/audit_logs) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

---

## ๐Ÿš€ Setup Workflow

1. **Flash Mainline OpenWrt**

* Download image: [OpenWrt Firmware Selector](https://firmware-selector.openwrt.org/) โ†’ *GL-MT3000 (Beryl AX)*
* Flash via OEM web UI โ†’ verify checksum โ†’ reboot.

2. **Bootstrap Environment**

```bash
opkg update
opkg install aircrack-ng kismet hostapd-mana mdk4 dnsmasq-full tcpdump
```

3. **Configure Wireless Interfaces**

* `radio0`: monitoring
* `radio1`: rogue AP or client simulation
* Optional USB Wi-Fi dongles for extra channels

4. **Launch Tools**

* `kismet -c wlan0mon`
* `hostapd-mana /etc/hostapd/hostapd.conf`
* `tcpdump -i wlan1 -w capture.pcap`

---

## ๐Ÿงฐ Optional Enhancements

* **UI Layer:** Flask-based web interface for session management and visual metrics.
* **Persistent Storage:** Mount `/mnt/usb` for captures and config profiles.
* **Containerization:** Add Podman for modular tool isolation.
* **Integration:** Optional API endpoints for remote control or dashboard telemetry.

---

## ๐Ÿง‘โ€โš–๏ธ Legal & Ethical Use

This platform is **strictly for authorized security assessments**.
Usage outside of explicit, documented authorization constitutes a violation of law and professional ethics.
Every build and deployment must follow:

* [HackerOne Disclosure Guidelines](https://www.hackerone.com/disclosure-guidelines)
* [EC-Council Code of Ethics](https://www.eccouncil.org/code-of-ethics/)
* Applicable **Computer Fraud and Abuse** statutes in your jurisdiction.

---

## ๐Ÿ“š Repository Layout

```
WiFiPineapple-BerylAX/
โ”‚
โ”œโ”€โ”€ firmware/
โ”‚ โ”œโ”€โ”€ openwrt-image.bin
โ”‚ โ””โ”€โ”€ sha256sum.txt
โ”‚
โ”œโ”€โ”€ configs/
โ”‚ โ”œโ”€โ”€ hostapd.conf
โ”‚ โ”œโ”€โ”€ kismet.conf
โ”‚ โ””โ”€โ”€ wireless.json
โ”‚
โ”œโ”€โ”€ scripts/
โ”‚ โ”œโ”€โ”€ setup_openwrt.sh
โ”‚ โ”œโ”€โ”€ launch_audit.sh
โ”‚ โ””โ”€โ”€ capture_parser.py
โ”‚
โ”œโ”€โ”€ docs/
โ”‚ โ”œโ”€โ”€ architecture.md
โ”‚ โ”œโ”€โ”€ legal_ethics.md
โ”‚ โ””โ”€โ”€ performance_notes.md
โ”‚
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md
```

---

## ๐Ÿงพ License

Released under the **GPLv3 License** to preserve open-source freedom and auditing transparency.

---

## ๐Ÿš€ Quick Start

1. Clone this repository:
```bash
git clone https://github.com/yourusername/WiFiPineapple-BerylAX.git
cd WiFiPineapple-BerylAX
```

2. Flash OpenWrt to your GL-MT3000 device using the firmware in the `firmware/` directory

3. Run the setup script:
```bash
chmod +x scripts/setup_openwrt.sh
./scripts/setup_openwrt.sh
```

4. Configure your wireless interfaces using the provided config files in `configs/`

5. Launch your first audit session:
```bash
chmod +x scripts/launch_audit.sh
./scripts/launch_audit.sh
```

For detailed setup instructions, see the documentation in the `docs/` directory.

---

## ๐Ÿค Contributing

Contributions are welcome! Please read our contributing guidelines and ensure all code follows our ethical standards for security research.

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Test thoroughly
5. Submit a pull request

---

## โš ๏ธ Disclaimer

This project is intended solely for authorized security testing and educational purposes. Users are responsible for ensuring compliance with all applicable laws and regulations in their jurisdiction. The authors and contributors are not responsible for any misuse of this software.