• Cryptocurrency
  • Earnings
  • Enterprise
  • About TechBooky
  • Submit Article
  • Advertise Here
  • Contact Us
TechBooky
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  • African
  • AI
  • Metaverse
  • Gadgets
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
TechBooky
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Home Open source

Beware: It’s Easy to Launch a Wireless Deauthentication Attack!

Geoffrey Nwachukwu by Geoffrey Nwachukwu
July 28, 2015
in Open source, Research/How to do it, Security
Share on FacebookShare on Twitter

The era of wireless connectivity gives flexibility and mobility, but also comes with security issues. In wired connectivity, the attacker needs physical access in order to connect and attack. In the case of wireless connectivity, an attacker just needs the availability of the signal to launch an attack.

In this article, I will discuss the very serious deauthentication attack. Even your neighbour’s kid could make your life miserable by launching such an attack, in which your device can get disconnected from the access point (AP).
Before proceeding further, you will need to get familiar with some of the terminology we will use in this article.

Service Set Identification (SSID): An SSID is a 32-character (maximum) alphanumeric key identifying the name of the wireless local area network (WLAN).

AP (Access Point): This is used to connect the wireless device to the wireless network.

BSSID: MAC address of the AP.
The concept behind the attack
So, why are these attacks made? Where, and typically, who attacks whom? Well, the attack can be made by a penetration tester on a company’s wireless network, if the company or organisation wishes to check the robustness of its own wireless security. The tester then sends a report of the findings to the company. But some hackers mount such attacks simply to create a nuisance for users.

The connection between the clients and APs is established by the exchange of various frames, as shown in Figure 1. The communication between the client and the AP is established after probing the available wireless APs. After that, the exchange of a series of management frames, like authentication and association request frames, takes place.
figure 1

Launching the deauth attack
In order to launch the attack, I used the following:

  • Kali Linux as the attacker
  • Windows 7 as the victim

Kali Linux was installed in a VMware machine with a USB wireless card (Atheros-based), and it successfully recognised the wireless card. I then followed the steps given below to launch the attack.
Step 1. To know the name of the wireless card, I typed the command airmon-ng as shown in Figure 2.
figure2
figure 3
figure 4
The wireless card’s name is wlan0.
Step 2. The next command airmon-ng start wlan0 sets your wireless card on monitor mode 0, which means mon0 as shown in Figure 3.
Step 3. I then typed iwlist wlan0 scanning as shown in Figure 4 to find out about all the APs in the vicinity.
In Figure 4, important information like the MAC address, channel number and ESSID of the AP is highlighted in red rectangle boxes.
Step 4. Here, I set mon0 to Channel 1, using the following command:

airodump-ng mon0 -c <channel>  --bssid  <mac address of AP>

…as shown in Figure 5.
figure 5
The consequences can be seen in Figure 6, where BSSID is the MAC address of AP, and STATION means all wireless devices are connected to the AP. I now chose one victim:88:53:2E:0A:75:3F
Now it’s time to mount the attack!
figure 6
Step 5. In the attack, I used aireplay to send the deauth packet.
The following command does the job:

aireplay-ng -0 10 -a 84:1B:5E:50:C8:6E -c 88:53:2E:0A:75:3F mon0

Here’s a description of the above command:

  • -0 sends the deauth packet
  • 10 refers to the number of packets
  • -a is the MAC address of the AP
  • -c is the MAC address of the client to be deauthenticated. The MAC address of the client has been spoofed here.

figure 7
Figure 7 shows the effect of the command.
Now, it’s time to look at the victim’s PC. Figure 8 shows the full story of the attack, which is sure to upset the victim.
figure 8

Analysing the deauthentication attack
Figure 9 shows the packet flow. The first frame comes from the victim’s machine (spoofed), which contains the deauthentication flag. The second deauthentication flag frame is sent from the AP to the victim. A local packet capture session is initiated using Wireshark to capture the frames generated by the attacker.
figure 9

figur 10

Who is behind the attack?
This attack is made at the data-link layer, which is associated with the MAC address. The book,  ‘Digital Evidence and Computer Crime: Forensic Science, Computers, and the Internet’ (Second Edition) by Eoghan Casey, states that the data-link layer addresses (MAC addresses) are more easily identifiable than network layer addresses (e.g., IP addresses). This is because a MAC address is usually directly associated with the network interface card in a computer, whereas an IP address can be easily reassigned to different computers. However, in Wireshark-captured data, the source is the victim and the destination is the AP, and vice versa. Therefore, it is impossible to find out the attacker’s identity.

So how do we detect the attack?
The deauthentication frame is sent by a station to another station when it wishes to terminate communications. When we manually disconnect from the AP, we can see three dauth packet after restarting AP three times as shown in figure 10. By using aireplay we have sent one deauth packet but on Wireshark, we captured 256 frames.

Wireshark captured frames from one side and we have sent packets from the other side; so I can say that, from our side, 256/2 = 128 frames were sent. In this way, this attack also falls in the category of a DOS attack.
After seeing a large number of frames, a wireless intrusion detection system (WIDS) can raise the alarm.

At the user level, there is still no fool-proof way to prevent this attack. But at the organisation level, a WIPS/WIDS system like AirMagnet Enterprise can specifically detect these attacks, preventing major enterprise-wide damage. Going ahead, wireless cards or APs should have some mechanism to protect users from deauthentication attacks.

source: Mohit Raj via Open Source For You

Related Posts:

  • Outlook-search-Problem-after-Windows-10-security-patch-confirmed
    Microsoft Confirms June Outlook Outages Was A DDoS Attack
  • cec8360d-2ac6-48b3-94b9-ebf
    How Meta Smart Glasses Played a Role in the New…
  • Microsoft Teams
    Microsoft Teams Vulnerability Exposes User Systems
  • scam-text
    Common Types Of SMS Scams That Can Put Your…
  • 16466817280064
    Solana Ecosystem Hit By Hack Draining Millions in…
  • Gmail-app-csc
    How to Protect Your Gmail Email Account when Hackers Strike
  • 5g and business
    5G Network Technology: Scaling Businesses With 5G Technology
  • MTN Group
    MTN Group Set to Rollout Satellite Internet in Africa

Discover more from TechBooky

Subscribe to get the latest posts sent to your email.

Tags: hacksecuritywifi
Geoffrey Nwachukwu

Geoffrey Nwachukwu

tech guy, i2sabi.com and coder

BROWSE BY CATEGORIES

Select Category

    Receive top tech news directly in your inbox

    subscription from
    Loading

    Freshly Squeezed

    • Google Changes Its “G” Logo Colours In First Major Change May 14, 2025
    • Microsoft Sacks Over 6,000 Workers, about 3% of its Total Workforce May 14, 2025
    • The AI DJ on Spotify Now Accepts Requests May 14, 2025
    • Google Unveils Material 3 Redesign for Android 16 May 14, 2025
    • PayPal Enables NFC iPhone Payments in Germany Following EU Apple Mandate May 14, 2025
    • Microsoft Reveals Rejected Start Menu Redesigns May 13, 2025

    Browse Archives

    May 2025
    MTWTFSS
     1234
    567891011
    12131415161718
    19202122232425
    262728293031 
    « Apr    

    Quick Links

    • About TechBooky
    • Advertise Here
    • Contact us
    • Submit Article
    • Privacy Policy

    Recent News

    Google Changes Its “G” Logo Colours In First Major Change

    Google Changes Its “G” Logo Colours In First Major Change

    May 14, 2025
    Microsoft Sacks Over 6,000 Workers, about 3% of its Total Workforce

    Microsoft Sacks Over 6,000 Workers, about 3% of its Total Workforce

    May 14, 2025
    The AI DJ on Spotify Now Accepts Requests

    The AI DJ on Spotify Now Accepts Requests

    May 14, 2025
    Google Unveils Material 3 Redesign for Android 16

    Google Unveils Material 3 Redesign for Android 16

    May 14, 2025
    PayPal Enables NFC iPhone Payments in Germany Following EU Apple Mandate

    PayPal Enables NFC iPhone Payments in Germany Following EU Apple Mandate

    May 14, 2025
    Microsoft Reveals Rejected Start Menu Redesigns

    Microsoft Reveals Rejected Start Menu Redesigns

    May 13, 2025
    • Login

    © 2021 Design By Tech Booky Elite

    Generic selectors
    Exact matches only
    Search in title
    Search in content
    Post Type Selectors
    • African
    • Artificial Intelligence
    • Gadgets
    • Metaverse
    • Tips
    • About TechBooky
    • Advertise Here
    • Submit Article
    • Contact us

    © 2021 Design By Tech Booky Elite

    Discover more from TechBooky

    Subscribe now to keep reading and get access to the full archive.

    Continue reading

    We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok