WiFi Jamming: How to Jam any Wifi Router? [UPDATED]

What is WiFi jamming?

WiFi jamming is like having super-powers, You can do whatever you want with anyone’s WiFi network. You can disconnect all the users from a WiFi router or you can target a specific person on a particular WiFi router. You can do all this by just typing a few lines of code.

I have recently joined my university and here I’m living in hostels. The college wifi gives okay speed but during the night, it used to become very slow as all students used to connect to the same WiFi network. I knew already about the WiFi jamming. During my high school, I’ve taught this to myself.

I’m sure you have heard about famous Steve Jobs quote about connecting dots-  “You can’t connect the dots looking forward; you can only connect them looking backward.” So, my knowledge of WiFI jamming helped me here. I jammed all the people on the WiFi router except me. By doing this, I was only one to use the router with its maximum speed.

Today, in this article, I’m going to give you a detailed explanation of WiFi jamming. After reading this post you will have a good understanding of WiFi jammer and you will be able to jam any WiFi network. The tool I’m going to use is called “Aircrack-ng” on Ubuntu. If you are using any Linux distro, you can easily install it by typing following command in terminal.

sudo apt-get install aircrack-ng

This command is only for Linux based operating system. If you are on windows you can find instructions here on installation.

You can also install this package in Windows and OS X also but I don’t recommend doing that as Linux is more suitable for this type of work. Linux is more flexible to handle these types of tasks.

Another important thing to take care of is that your laptop’s WiFi card must support monitor mode. Don’t worry I will give you a brief explanation of modes found on a WiFi card. So there are basically two types of mode:

  1. Managed Mode
  2. Monitor Mode

Managed mode is the default mode of any WiFi card. It allows the user to connect with the router and also share requests and packets.

Monitor mode is the second mode which allows us to monitor all the networks connected with the router. In simple words this allows us to jam the WiFi network.

To check if your WiFi card supports monitor mode, enter the following command in the terminal.

iw list

This command will display the full list of compatibilities of your wireless card.

Here, you can see ‘monitor‘ under ‘Supported interface modes‘. This means, your WiFi card supports monitor mode.

If there is no monitor mode in the list, don’t worry! you can easily get a WiFi network adapter on Amazon. There are many WiFi adapters out there, but you need to buy one that comes with monitor mode. Here are some resources where you can find some good WiFi adapters.

If you don’t want put that much money in a WiFi adapter, you can buy this one. I’m currently using this it and it works fine.

The main advantage of having an external WiFi adapter is that you can connect to WiFi with inbuilt WiFi card while using the external WiFi card in monitor mode.

Actually, Aircrack-ng is used for cracking WiFi passwords but you can still use it for jamming WiFi routers. However, you can do this on windows too but I highly recommend you to use any Linux based distro for this.

You may also like Premium Flagship Smartphones Vs Mid-Range Value Performance Flagship

Now, after setting up the machine, we can start WiFi jamming:

I highly recommend you guys to write each and every command by yourself. Sometimes copy-pasted code is not recognized by the computer.

  1. First of all, we need to know the name of our WiFi interface name. Write the following command in the terminal.
    iwconfig

    Here, you can clearly see that my interface name is wlo1 with managed mode on by default. Your interface name might be different so use your interface name only.

  2. There are many processes running by default which can cause problems during our work. So, in order to make everything works smooth, we need to kill these processes. Just type the following command in the terminal.
    sudo airmon-ng check kill

    Make sure to use “sudo” before the command. This command will check for all the errors and will kill them itself. This step is important so that we don’t get any error.

  3. After killing all error causing processes we ready to move further. Now we need to turn on monitor mode on our WiFi interface. Enter the following command in the terminal in order to start monitor mode on your WiFi interface.
    sudo airmon-ng start <your WiFi interface name>


    Don’t be a noob, make sure that you enter your interface name instead of ”<your WiFi interface name>”.  This will start monitor mode on your WiFi interface. To confirm weather monitor mode is enabled or not, you can type “iwconfig” in the terminal again. Now it will show monitor mode instead of managed mode. One thing you will also notice is that now your interface name is changed with “mon” as a suffix to your interface name. For example, if my interface name was wlan0 then after enabling monitor mode my interface name will get changed to wlan0mon, as you can see in the below image. From now onwards I’ve to use wlan0mon as my interface name.

  4. After enabling monitor mode on your Wireless card, the next step is to search for all the WiFi networks near you. Enter the following command in the terminal.
    airodump-ng <your interface name>


    Make sure to add “0mon” as a suffix to your interface name as after enabling monitor mode it adds “mon” automatically to your interface name. you can check the name of your interface anytime by just typing “iwconfig” in the terminal

    After entering the command, a new window will appear in your terminal with a lot going on. Let’s take a brief look inside it.

    • BSSID is the mac address of the access point. “not associated” means that the client is not associated with any access point.
    • PWR is the signal strength of the access point. If the PWR is showing -1 value, this means that WiFi router doesn’t support WiFi signal reporting.
    • Beacons are the number of packets sent by the access point. Maximum routers send 10 beacons per second at the minimum rates.
    • Data are the number of captured packets.
    • #/s is the number of captured packets per second.
    • CH shows the channel ID.
    • MB shows the maximum speed of the access point.
    • ENC shows the encryption type of the access point.
    • AUTH shows the authentication protocol used.
    • ESSID shows the name of the access point.
  5. Now, after knowing each term we can move further. In this article, I’m going to jam “Test” named WiFi router.
     Note down the BSSID and channel ID of your target. In my case, my target’s BSSID and channel ID are D8:32:E3:2C:92:18 and 1. After noting that, let’s dive deeper into our target access point(WiFi Router). Write the following command into the terminal.

    sudo airodump-ng --bssid <bssid of the router> -c <channel id> <interface name>

    In my case,

    sudo airodump-ng --bssid D8:32:E3:2C:92:18 -c 1 wlan0mon

    After pressing enter, a new window will appear like one shown below,

    Stations show the number of devices connected to the router. In my case, I only have one device connected to the router, therefore it is showing only one station. Other terms have the same meaning as listed above.

  6. Now comes the most interesting step. In this step, we will start sending de-auth packets to the router. De-auth packets command the router to disconnect all the clients connected to the router. We can also De-auth any specific router if we don’t want to disconnect all the routers. We’ll discuss all the methods in detail.
    • Disconnect All Devices Connected to the WiFi Router

      To disconnect all the devices connected to the router, enter the following command in the terminal.

       sudo aireplay-ng -0 0 -a <bssid of the router> <interface name>

      Let’s break it down, we use “aireplay-ng” for sending de-auth packets. “-0”  stands for the de-auth packets and   0 means unlimited number. To sum it up, we are commanding router to disconnect all the WiFi connections. We are able to connect with the router through the BSSID.

      This will disconnect all the devices connected with the router. But, what if you want to target only a specific user from the connected user? This is what we are going to do in the next step :D.

      you have to end the session manually be pressing ‘ctrl+c’, otherwise, it will not stop. You can also send a limited number of packets by replacing 0(zero) with the number of packets you want to send.

    • Disconnect any Specific User from WiFi Router

      To disconnect any specific user from WiFi, enter the following command in the terminal

      sudo aireplay-ng -0 0 -a <bssid of the router> -c <mac address of the targeted user> <interface name>
      


      Here, “-c” specifies to the mac address of the targeted user. You can find the mac address under the station section. This is the way how you can target any specific person from the connected users. This could be helpful in certain scenarios when you want to disconnect all the users except yourself so that you can achieve the full potential of the router.

      You need either two laptops or external wireless card for that because you start monitor mode on the WiFi card, it will take down the WiFi card which means that you’ll not be able to connect to the internet. But if you have two wireless cards, you can turn on monitor mode in one WiFi card while connected to the internet via the second one.

This is how we can jam any WiFi router. Now you might have noticed that WiFi is completely gone. Every blog only focusses only on jamming but they don’t teach, how to revert WiFi settings to back. Don’t worry I’ll help you out. Type the following command in the terminal:

           1. sudo airmon-ng stop <interface name (+ “0mon”)>

           2. sudo service network-manager restart

This will restart all WiFi settings. You can double check by typing “iwconfig” in the terminal. You can clearly see managed mode in place of monitor mode.

If you don’t want to do this, you can also reboot your machine. It will also revert the WiFi settings to default.

Final Words

Thank you for reaching so far with me. I think I’ve completed everything regarding WiFi jamming.  Now you can jam any WiFi router. I’ll keep updating this article with new updated methods. Also, don’t forget to share this article with your friends. If you have any doubt or question regarding WiFi jamming, just leave a comment below.

6 Comments

  1. rudra October 1, 2018
  2. Anup kumar singh November 21, 2018
  3. Yograj November 24, 2018
    • Gaurav Thakur November 24, 2018

Leave a Reply