6

I am looking to create a small first project to further my self education into infosec. I will be putting this on my Github.

My idea is to create a script that automates the process of deauthing all users on my wireless network except myself ( the machine running the script ).


GAMEPLAN

  1. Host discovery with nmap
  2. Find mac addresses of associated clients
  3. airodump to get mac address of AP (or I could just plug the mac in because I know it)
  4. Deauth all users except the machine running the script
  5. Back into managed mode and surfing the web

I understand that:

  • all deauthed users would most likely immediately reconnect if the password is saved in their system
  • during the process of the deauth my wireless card would be in monitor mode

My overall question: Is deauthentication plausible to where I could hog my own network?


Here are some links to other question I have asked on this site related to this project:


In replies, specific aircrack / nmap commands are not needed I just want to see if the idea concept is plausible?

Here is some documentation for users who are not yet aware of:

ma77c
  • 325
  • 1
  • 5
  • 14
  • You may want to break down your question into multiple separate questions, it looks like you already found the aircrack commands, but the split between monitor mode etc are a separate topic, possibly one better suited for another SE site. – Eric G Dec 25 '15 at 15:21
  • For other users who come across this post, here is the documentation for aircrack-ng which will allow you to deauth specific clients -> http://www.aircrack-ng.org/doku.php?id=deauthentication on how to deauth specific users – Eric G Dec 25 '15 at 15:22
  • @EricG I have added documentation for other users that come across this post. Also, I have edited to concern one topic and provided a [link](http://security.stackexchange.com/questions/108986/wireless-card-simultaneously-in-monitor-mode-and-managed-mode) to the other main inquiries previously contained in this question – ma77c Dec 26 '15 at 06:37

2 Answers2

5

A rather quick Google search for "python wifi deauth" reveals several results for your question.

WiFi Jammer seems to do the job:

Continuously jam all wifi clients and access points within range. The effectiveness of this script is constrained by your wireless card. Alfa cards seem to effectively jam within about a block radius with heavy access point saturation. Granularity is given in the options for more effective targeting.

More infomration can be found at: https://github.com/DanMcInerney/wifijammer

Jeroen
  • 5,783
  • 2
  • 18
  • 26
  • I moved some parts of my question to a new question on this site and provided the [link](http://security.stackexchange.com/questions/108986/wireless-card-simultaneously-in-monitor-mode-and-managed-mode) in my edited answer above – ma77c Dec 26 '15 at 06:33
1

To answer "Deauth all users on AP except yourself".
You could just add the following in your script:

  • Get your MACID
  • Remove your MACID from the discovered hosts list (e.g. grep exclude and write output to a new file, etc...)
  • Deauth remaining MACID's in the file