How to Use Intel WiFi Link 5100 AGN for Packet Injection
If you want to perform wireless penetration testing with your Intel WiFi Link 5100 AGN adapter, you may encounter some challenges. This adapter does not support packet injection by default, and you may need to modify some drivers or use some workarounds to enable this feature. In this article, we will show you how to use Intel WiFi Link 5100 AGN for packet injection under Linux using the iwlwifi drivers.
What is Packet Injection
Packet injection is a technique that allows you to send arbitrary packets to a wireless network. This can be useful for testing the security of a network, such as cracking encryption keys, spoofing MAC addresses, or performing denial-of-service attacks. Packet injection can also be used for legitimate purposes, such as troubleshooting network problems or enhancing network performance.
What is Intel WiFi Link 5100 AGN
Intel WiFi Link 5100 AGN is a family of IEEE 802.11a/b/g/Draft-N wireless network adapters that operate in both the 2.4 GHz and 5.0 GHz spectra. These adapters deliver up to 300 Mbps of receive bandwidth and offer various features that enhance mobile computing, such as Intel My WiFi Technology, Intel Active Management Technology, and advanced security via 802.11i. These adapters are available in both PCIe Mini Card and Half Mini Card form factors.
How to Enable Packet Injection for Intel WiFi Link 5100 AGN
To enable packet injection for Intel WiFi Link 5100 AGN, you need to use the iwlwifi drivers, which are the official Linux drivers for Intel wireless devices. However, these drivers do not support packet injection by default, and you need to patch them or use some alternative methods to enable this feature. Here are some possible ways to do so:
Patch the iwlwifi drivers: You can download the latest version of the iwlwifi drivers from here and apply a patch that enables packet injection. You can find the patch and instructions on how to apply it from here. After patching the drivers, you need to compile and install them on your system.
Use Backtrack or Blackbuntu: These are two Linux distributions that are designed for wireless penetration testing and have better driver support for packet injection. You can boot from a live CD or USB and use these distributions without installing them on your system. You can download Backtrack from here and Blackbuntu from here.
Use wpa_supplicant: This is a workaround that allows you to perform fake authentication with a wireless network using wpa_supplicant, which is a tool that manages wireless connections. You can find more details on how to use this method from here.
How to Test Packet Injection for Intel WiFi Link 5100 AGN
To test packet injection for Intel WiFi Link 5100 AGN, you can use a tool called aireplay-ng, which is part of the aircrack-ng suite of tools for wireless security auditing. You can run the following command to test packet injection:
aireplay-ng -9 wlan0
This command will send various types of packets to a wireless network and report if they are successfully injected or not. You should see something like this: