Linux

How to Perform a Wi-Fi DOS Attack (Deauthentication Attack)

Hello, I’m Keleis Andre, a cybersecurity expert. Today, I intend to discuss one of the fascinating topics in the realm of hacking: Wi-Fi Hacking. This field is trendy among hackers. Unfortunately, many people lack sufficient knowledge about attacks related to Wi-Fi networks, leaving them defenseless when faced with such threats. In this article, I’ll delve into one of the most recognized hacking attacks: DOS (Denial-of-Service) attacks, also known as deauthentication attacks in Wi-Fi networks.

What is a deauthentication attack on a Wi-Fi Network?

In a deauthentication attack, an attacker sends fraudulent packets to the Access Point and tries to disconnect all people connected to the modem or AP. This disconnection will continue until the DoS attack has stopped.

Why is a deauthentication attack carried out?

Why is a DoS attack carried out? Does the hacker want to prohibit a person’s connection to the Wi-Fi network? The answer could be both yes and no. Because people who are new to the world of hacking and security are likely to be curious and aimless and disconnect people from the modem.

However, the primary purpose of this attack could be a much more dangerous event. One of these events could be obtaining a Handshake to hack your Wi-Fi password.

After the person is under attack when they try to reconnect to their Access Point, the attacker carries out a Sniffing attack on their Wi-Fi network and eavesdrops on the communications between them. Later, from the eavesdropped file (handshake), they can obtain the original Wi-Fi password.

How to carry out a Deauthentication attack

To carry out a DoS attack on a Wi-Fi network, a hacker needs a network card that supports monitoring mode. In the first step, they should put their WiFi adapter into monitor mode to scan the surrounding Wi-Fi networks and select their target Wi-Fi. After selecting the Bssid of their target, they can use it as follows:

To disconnect all users connected to the Wi-Fi network, they can use the following command:

aireplay-ng --deauth [number of packets] -a [Bssid] [Interface]
Ex: aireplay-ng –deauth 1000 -a 11:22:33:44:55:66 wlan0mon

To disconnect a specific person connected to the Wi-Fi network, they can use the following command:

aireplay-ng --deauth [number of packets] -a [Bssid] -c [target] [Interface]
Ex: aireplay-ng –deauth 1000 -a 11:22:33:44:55:66 -c 11:AA:22:33:44:BB wlan0mon

Dealing with DoS attacks on Wi-Fi networks

We should always adhere to the saying, “Prevention is better than cure”. So, it’s better to do the following to reduce attacks on Wi-Fi networks:
Use WPA2-PSK or WPA2-Enterprise encryptions.

  • Always keep the firmware of our modem updated.
  • Choose unpredictable and complex passwords for our Wi-Fi network.
  • Set the Bssid name of our Wi-Fi network to Hidden mode.
  • Limit the Wi-Fi signal to only be accessible in our usage area.

But even after doing the mentioned steps, we are still at risk. The only helpful thing to do when under a DoS attack is to turn off the AP or modem. Although it’s not an appropriate method, it can prevent damage to your device.

keleis andre

Keleis Andre is A tech writer specialising in cybersecurity expert, author, and Manager at SPY24 Company. On this and several other GDPR, MDR, and ethical hacking projects. Hacking, Social Engineering, and Security Awareness Training: My goal is to educate, inform and entertain as I write about my journeys in the tech and cyber space.

Recent Posts

How to Hack Your Spouse’s WhatsApp Using Tracking Tools

You might think that your spouse is cheating on you because they do not let…

7 months ago

Termux Commands: Beginner to Advanced {2024}

Termux is a terminal environment simulator software that is open-source and can be installed on…

7 months ago

14 Best Phone Remote Spy Camera Apps in Android

Do you wish to remotely monitor the webcam of your children or employees? Are you…

8 months ago

How to install Python in Termux?

Installing Python on Termux is very straightforward, but many users have encountered problems installing both…

8 months ago

Is Tinder Dangerous For Teens To Use?

Tinder is one of the most commonly used dating apps people have turned to when…

9 months ago

5 Digital Learning Platforms For Kids for 2024

With the use of the internet by today’s youth increasing rapidly, learning online in and…

9 months ago