# Pinacolada | Wireless Intrusion Detection System For Hak5's WiFi Coconut

**URL:** <https://onehack.st/t/pinacolada-wireless-intrusion-detection-system-for-hak5s-wifi-coconut/238180>\
**Category:** Tools & Scripts\
**Tags:** tools, tips-tricks\
**Created:** [April 13, 2023, 9:45pm UTC](https://onehack.st/t/pinacolada-wireless-intrusion-detection-system-for-hak5s-wifi-coconut/238180 "2023-04-13T21:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoBody](https://onehack.st/user_avatar/onehack.st/nobody/32/163880_2.png) [@NoBody](https://onehack.st/u/NoBody)\
**Post date:** [April 13, 2023, 9:45pm UTC](https://onehack.st/t/pinacolada-wireless-intrusion-detection-system-for-hak5s-wifi-coconut/238180/1 "2023-04-13T21:45:18Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/0/0/001ad5a9fdaf606de332f3612da71eb62f154e82.png)

[![](https://camo.githubusercontent.com/d2af911ad463977cdefc87a149efdb967b108a14ebdc4bab121b182c3e9fc720/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616465253230776974682d507974686f6e2d626c7565)](https://camo.githubusercontent.com/d2af911ad463977cdefc87a149efdb967b108a14ebdc4bab121b182c3e9fc720/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616465253230776974682d507974686f6e2d626c7565) [![](https://camo.githubusercontent.com/18780e6de983e9c98522d297b2806fa28d0095104a24336bd191e77aa078ea48/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f39304e34352d6433762f50696e61636f6c6164612e737667)](https://camo.githubusercontent.com/18780e6de983e9c98522d297b2806fa28d0095104a24336bd191e77aa078ea48/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f39304e34352d6433762f50696e61636f6c6164612e737667) [![](https://camo.githubusercontent.com/6e501ffe4e07bff56c7cff157949c084cb06cdd889d26ee8c22c203cb20b3b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41736b2532306d652d616e797468696e672d3161626339632e737667)](https://camo.githubusercontent.com/6e501ffe4e07bff56c7cff157949c084cb06cdd889d26ee8c22c203cb20b3b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41736b2532306d652d616e797468696e672d3161626339632e737667)  
[![](https://camo.githubusercontent.com/60344048601782cc3b6deeb0294acfc404f08a139efea4ec8212fbb2de30c1a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d6c69676874626c7565)](https://camo.githubusercontent.com/60344048601782cc3b6deeb0294acfc404f08a139efea4ec8212fbb2de30c1a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d6c69676874626c7565) [![](https://camo.githubusercontent.com/ff1c97744c66a2902fd0b58e117447679b1bbc9b686362b8086a136f2b70a728/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4d61634f532d6c6967687467726579)](https://camo.githubusercontent.com/ff1c97744c66a2902fd0b58e117447679b1bbc9b686362b8086a136f2b70a728/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4d61634f532d6c6967687467726579)

### Wireless Intrusion Detection System for Hak5’s WiFi Coconut

Pinacolada looks for typical IEEE 802.11 attacks and then informs you about them as quickly as possible. All this with the help of [Hak5’s WiFi Coconut](https://hak5.org/products/wifi-coconut), which allows it to listen for threats on all 14 channels in the 2.4GHz range simultaneously.

### Supported 802.11 Attacks

| Attack | Type | Status |
| --- | --- | --- |
| Deauthentication | DoS | ✅ |
| Disassociation | DoS | ✅ |
| Authentication | DoS | ✅ |
| EvilTwin | MiTM | 🔜 |
| KARMA | MiTM | 🔜 |

### Dependencies

#### MacOS (With PIP/Python and Homebrew package manager)

```auto
pip install flask
brew install wireshark

```

#### Linux (With PIP/Python and APT package manager)

```auto
pip install flask
apt install tshark

```

For both operating systems install the [WiFi Coconut’s userspace](https://docs.hak5.org/wifi-coconut/software-and-drivers/wifi-coconut-software)

### Installation

```auto
# Download Pinacolada
git clone https://github.com/90N45-d3v/Pinacolada
cd Pinacolada

# Start Pinacolada
python main.py

```

### Usage

Pinacolada will be accessible from your browser at `127.0.0.1:8888`.  
The default password is `CoconutsAreYummy`.  
After you have logged in, you can see a dashboard on the start page and you should change the password in the settings tab.

### E-Mail Notifications

If configured, Pinacolada will alert you to attacks via E-Mail. In order to send you an E-Mail, however, an E-Mail account for Pinacolada must be specified in the settings tab. To find the necessary information such as SMTP server and SMTP port, search the internet for your mail provider and how their SMTP servers are configured + how to use them. Here are some information about known providers:

| Provider | SMTP Server | SMTP Port (TLS) |
| --- | --- | --- |
| Gmail | [smtp.gmail.com](http://smtp.gmail.com) | 587 |
| Outlook | [smtp.office365.com](http://smtp.office365.com) | 587 |
| GoDaddy | [smtpout.secureserver.net](http://smtpout.secureserver.net) | 587 |

### Not fully tested!

Since I don’t own a WiFi Coconut myself, I have to simulate their traffic. So if you encounter any problems, don’t hesitate to contact me and open an issue.

## GitHub:

> **[GitHub - 90N45-d3v/Pinacolada: Wireless Intrusion Detection System for Hak5's...](https://github.com/90N45-d3v/Pinacolada)**
>
> Wireless Intrusion Detection System for Hak5's WiFi Coconut
