ARP Request Replay Attack

Advanced WEP Network Exploitation Technique

Introduction to ARP Request Replay Attack

Once successfully associated with a target network, ethical hackers can leverage the ARP Request Replay Attack to rapidly collect the data needed to crack WEP encryption. This technique is particularly valuable when targeting idle networks with minimal traffic.

Key Concept: The ARP Request Replay technique injects packets into the network traffic, forcing the access point to generate new packets with new Initialization Vectors (IVs). This accelerates data collection, enabling WEP cracking in minutes rather than hours or days.

While multiple packet injection methods exist, the ARP request replay attack stands out as the most reliable approach, offering high success rates against most networks when you have a good signal and a capable wireless adapter.

How ARP Request Replay Works

ARP Request Replay Attack Workflow

The Address Resolution Protocol (ARP) is fundamental to how devices communicate on a local network. The attack works as follows:

  1. Wait for an ARP packet to be transmitted over the network
  2. Capture the ARP packet using your wireless adapter in monitor mode
  3. Retransmit (replay) the captured packet back into the network
  4. This forces the router to generate a new packet with a new IV
  5. Repeat the process to rapidly collect numerous IVs
  6. Once sufficient data is collected, run aircrack-ng to crack the WEP key

Each time an ARP packet is replayed, the access point must respond with a new packet containing a new IV. Since WEP's primary vulnerability stems from IV reuse, collecting large numbers of different IVs is the key to cracking the encryption.

Practical Implementation

Prerequisites

Step-by-Step Process

1 Monitor the Target Network

Run airodump-ng to capture packets from the target network:

airodump-ng --bssid [TARGET_MAC] --channel [CHANNEL] --write arpreplay wlan0mon
2 Associate with the Network

Perform fake authentication to associate with the target network:

aireplay-ng --fakeauth 0 -a [TARGET_MAC] -h [YOUR_MAC] wlan0mon
3 Launch ARP Replay Attack

Execute the ARP replay attack to inject packets:

aireplay-ng --arpreplay -b [TARGET_MAC] -h [YOUR_MAC] wlan0mon
4 Crack the WEP Key

Once sufficient data is collected, crack the WEP key:

aircrack-ng arpreplay-01.cap

Command Breakdown

aireplay-ng --arpreplay -b [TARGET_MAC] -h [YOUR_MAC] wlan0mon

  • --arpreplay: Specifies the ARP replay attack
  • -b [TARGET_MAC]: The MAC address of the target access point
  • -h [YOUR_MAC]: The MAC address of your wireless adapter
  • wlan0mon: Your wireless interface in monitor mode

Attack Effectiveness

The effectiveness of the ARP request replay attack varies based on several factors:

Data Collection Rate Comparison

Key Factors Affecting Success

Note: Even on idle networks with no active users, the ARP request replay attack can collect sufficient data to crack WEP encryption in minutes, demonstrating the fundamental insecurity of the WEP protocol.

Key Takeaways

Ethical Considerations

Remember that performing these techniques on networks without explicit permission is illegal in most jurisdictions. This information is provided for educational purposes only, to help network administrators understand the vulnerabilities in WEP encryption and why it should be replaced with more secure alternatives like WPA2 or WPA3.

Legal Warning: Always obtain proper authorization before performing security testing on any network. Unauthorized access to computer networks may result in severe civil and criminal penalties.