Skip to content

WPA Attack - Easy breaking WPA WPA2 networks by typing one command

Notifications You must be signed in to change notification settings

DominikStyp/WPA-Attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPA Attack

What is this ?

Extremly simple script that can be used to crack WPA network password.

How to use ?

All you have to do is type following command:

./WPA-Attack -b [BSSID] -c [CHANNEL] -w [WORDLIST_FILE]

Options explanation:

  • [BSSID] is MAC address of the target
  • [CHANNEL] is the network channel
  • [WORDLIST_FILE] is a file containing dictionary that you want to use cracking the password

Optional parameters:

  • -s [SPOOFED_MAC] is the MAC Address that will be used, instead of the original WiFi card's MAC
  • -h is used to only grab handshake and do not try to crack password using aircrack-ng,
    so you can crack it later if you wish to, and also captured handshake will be stored in ./airodump_logs directory

Examples

Without spoofed MAC (original MAC of your card is used):

./WPA-Attack -b AA:BB:CC:DD:EE:FF -c 11 -w ./myWordlistFile.txt

How it works

It runs 3 separated konsole processes:

  • aircrack-ng which is used to crack passphrase using .cap files
  • airodump-ng which is used to capture packets from Access Point along with **
  • aireplay-ng (option -0) which is used to disconnect connected clients, so you can capture WPA Handshake when client tries to reconnect
    To be able to crack WPA/WPA2 passphrase you'll need to capture Four-Way Handshake first.
    This information should pop up in your airodump-ng console window (like on a screenshot (top-right corner) )

Dependencies

Following script IS NOT dependent on any library, nor external sources.

Requirements

  • Wireless adapter which supports injection (see [https://code.google.com/p/reaver-wps/wiki/SupportedWirelessDrivers Reaver Wiki])
  • Linux Backtrack 5
  • Root access on your system (otherwise some things may not work)
  • AND if you use other Linux distribution
    • Reaver 1.4 (I didn't try it with previous versions)
    • KDE (unless you'll change 'konsole' invocations to 'screen', 'gnome-terminal' or something like that... this is easy)
    • Gawk (Gnu AWK)
    • Macchanger
    • Airmon-ng, Airodump-ng, Aireplay-ng
    • Perl

Additional Info

Before you use this script make sure that your script has permissions to execute.
If not type:

chmod +x ./WPA-Attack

Detailed tutorial about WPA/WPA2 Cracking

Tutorial: How to Crack WPA/WPA2

If using raw Backtrack 5

If you're using Backtrack 5 without any upgrades, with airodump-ng version 1.0 try to switch to airodump1.0 branch and pull request.
Further updates on master will be suited to Airodump-ng 1.2 rc2

$ git checkout airodump1.0
$ git pull

Successfully cracked WPA Passphrase!

If you manage to crack WPA passphrase you should see the following:

  • Aircrack window should output something like
KEY FOUND! [ 'mySecretPass' ] 
  • Script window should output something like:
!!!! KEY WAS FOUND !!!!
---------- YOUR WPA KEY IS: ----------------
mySecretPass
--------------------------------------------
You have it also in file: /root/WPA-Attack/KEY_FOUND_00027255FFC0
  • There should be also a file like this KEY_FOUND_00027255FFC0 in current directory

DONATIONS

Like my project ?
Want to help in future development, and adding new features ?
If you find this project useful...

I created PayPal Donation Button as Google Site because here not all HTML tags are allowed and Donation Button HTML can't be put here...
Every dollar will be appreciated and help me in future development of my projects.

Legal Disclaimer

Usage of WPA Attack for attacking targets without prior mutual consent is illegal.
It is the end user's responsibility to obey all applicable local, state and federal laws.
Developers assume no liability and are not responsible for any misuse or damage caused by this program.

About

WPA Attack - Easy breaking WPA WPA2 networks by typing one command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages