GithubHelp home page GithubHelp logo

refael613 / wifi-deauth-attack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from veerendra2/wifi-deauth-attack

0.0 1.0 0.0 29 KB

An automated script for deauthentication attack

Home Page: https://veerendra2.github.io/wifi-deathentication-attack/

License: Apache License 2.0

Python 100.00%

wifi-deauth-attack's Introduction

GitHub issues GitHub forks GitHub stars GitHub license Twitter

Automated script for Wifi Deauthentication Attack

Intro

Written in Python, sends deauth packets to a wifi network which results network outage for connected devices. Uses scapy module to send deauth packets and sniffs wifi. Know more about Deauthentication Attack

Required Tools

  1. aircrack-ng (apt-get install aircrack-ng). I highly recommend to install latest version, from source to support more network drivers/cards.
  2. scapy (Python Module:apt-get install python-scapy)

How to run?

We can run in 2 ways:

  • sudo python deauth.py

    It will automatically creates mon0 with airmon-ng start wlan0(it wont create, if already exists) and sniffs the wifi signal on that interface. After few seconds, it will displays the SSID and its MAC to choose.

  • sudo python deauth.py -m XX:YY:AA:XX:YY:AA

    MAC address as command line argument. In this case, there is no need to sniff wifi.

What's new in version 3.0

  • New command line
  • Daemonize the attack i.e performs attack in background
  • Compatable to new airmon-ng version

Usage

root@ghost:/opt/scripts# python deauth.py -h
usage: deauth.py [-h] [-d] [-c COUNT] [-m MAC] [-v]

Sends deauthentication packets to a wifi network which results network outage
for connected devices. [Coded by VEERENDRA KAKUMANU]

optional arguments:
  -h, --help  show this help message and exit
  -d          Run as daemon
  -c COUNT    Stops the monitoring after this count reachs.By default it is
              2000
  -m MAC      Sends deauth packets to this network
  -v          show program's version number and exit

FAQ

  • What is the option -c "COUNT"?

    It is a threshold value to stop the "monitoring". The access point or wifi hotspot trasmits beacon frames periodically to announce it's presence. The beacon frame contains all the information about the network. Now, the script looks for these beacons and makes count. If the count reachs the limit, it will stops the monitoring.

    • If you think, the monoring is taking to much time? then specify the count with less number(Default is 2000), but it may not get all wifi hotspots near to you. Because you are listening only few beacons
  • What is the option -d "Run as daemon"?

    Script runs in background while attacking. (Kill it by running pkill -9 -f deauth.py)

Known Issues

  • For some reasons, sometimes the script is not able to find all near wifi hotspots.(Check ssid_list.py to list wifi hotspot near to you)
  • If you try to attack on a wifi hotspot which is created by "Android" device, it won't work!.(May be it uses 802.11w)

Run it!

wget -qO deauth.py https://goo.gl/bnsV9C && sudo python deauth.py

How to avoid Deauthentication attack?

Use 802.11w suppored routers. Know more about 802.11w and read cisco document

NOTE:

Inorder to work deauthentication attack successful, you should near to the target network. The deauth packets should reach the connected devices of the target network(s)

Difficult to setup environment for this?? check out my other repo: docker image veerendrav2/hacker-tools.

wifi-deauth-attack's People

Contributors

veerendra2 avatar kiproping avatar santhosh6328 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.