Wireless Attacks

Zizzania – Automated DeAuth Attack

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.

Screenshot:

zizZANIA

Usage:

zizzania (-r | -i [-c ]
([-n] | [-d ] [-a ] [-t ]))
[-b

…] [-x

…] [-2 | -3]
[-w [-g]] [-v]

-i Use for both capture and injection
-c Set to RFMON mode on
-n Passively wait for WPA handshakes
-d Send groups of deauthentication frames
-a Perform deauthentications before giving up
-t Time to wait between two deauthentication attempts
-r Read packets from (- for stdin)
-b

Limit the operations to the given BSSID
-x

Exclude the given station from the operations
-2 Settle for the first two handshake messages
-3 Settle for the first three handshake messages
-w Write packets to (- for stdout)
-g Also dump multicast and broadcast traffic
-v Print verbose messages to stderr (toggle with SIGUSR1)

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:

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

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):

Use airdecap-ng to decrypt a pcap file created by zizzania:

Dependencies:

  • SCons
  • libpcap
  • uthash

 

Debian-based:

Mac OS X (Homebrew)

Or as an alternative to clib just throw uthash.h in any valid headers search path.

Build:

Mac OS X support:
In order to sniff packets live and to perform the deauthentication phase zizzania requires that the network interface/driver supports RFMON mode and injection. This is known to be troublesome with Mac OS X and hence it is not directly supported by zizzania.

 

Download Zizzania

I started blogging around 2011 at #Ubuntupirates, #ProjectX and #pir8geek, I’m currently working as Network/Linux SysAdmin.

I’m a Linux,opensource advocate and interested in network security and InfoSec.

Leave a Reply