Time for action – packet injection
We will be using the aireplay-ng
tool, which is available in Kali, for this exercise.
Follow these instructions carefully:
- In order to do an injection test, first start Wireshark and the filter expression
(wlan.bssid == <mac>) && !(wlan.fc.type_subtype == 0x08)
. This will ensure that we only see non-beacon packets for our lab network. - Now run the
aireplay-ng -9 -e Wireless Lab -a <mac> wlan0mon
command in a terminal. - Go back to Wireshark and you should see a lot of packets on the screen now. Some of these packets have been sent by
aireplay-ng
, which we launched, and others are from the access pointWireless Lab
in response to the injected packets.
What just happened?
We just successfully injected packets into our test lab network using aireplay-ng
. It is important to note that our card injected these arbitrary packets into the network without being actually connected to the access point Wireless Lab
.
Have a go hero – installing Kali on VirtualBox
We will look at packet injection in greater detail in later chapters; however, feel free to explore other options of the aireplay-ng
tool to inject packets. You can verify whether injection succeeded by using Wireshark to monitor the air.
推薦閱讀
- JavaScript全程指南
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- Android項目開發入門教程
- 程序設計與實踐(VB.NET)
- C#編程入門指南(上下冊)
- Unity 2020 Mobile Game Development
- Building a Quadcopter with Arduino
- MongoDB權威指南(第3版)
- Scala程序員面試算法寶典
- uni-app跨平臺開發與應用從入門到實踐
- Visual Basic程序設計基礎
- Laravel Design Patterns and Best Practices
- Java核心編程
- C語言從入門到精通(第5版)
- Learning ClojureScript