官术网_书友最值得收藏!

Revisiting WLAN frames

As this book deals with the security aspects of wireless, we will assume that you already have a basic understanding of the protocol and the packet headers. If not, or if it's been some time since you worked on wireless, this would be a good time to revisit this topic again.

Let's now quickly review some basic concepts of WLANs that most of you may already be aware of. In WLANs, communication happens over frames. A frame would have the following header structure:

The Frame Control field itself has a more complex structure:

The Type field defines three types of WLAN frame:

  • Management frames: Management frames are responsible for maintaining communication between access points and wireless clients. Management frames can have the following subtypes:
    • Authentication
    • Deauthentication
    • Association request
    • Association response
    • Reassociation request
    • Reassociation response
    • Disassociation
    • Beacon
    • Probe request
    • Probe response
  • Control frames: Control frames are responsible for ensuring a proper exchange of data between access points and wireless clients. Control frames can have the following subtypes:
    • Request to Send (RTS)
    • Clear to Send (CTS)
    • Acknowledgement (ACK)
  • Data frames: Data frames carry the actual data that is sent on the wireless network. There are no subtypes for data frames.

We will discuss the security implications of each of these frames when we discuss different attacks in later chapters.

We will now look at how to sniff these frames over a wireless network using Wireshark. There are other tools—such as Airodump-NG, Tcpdump, or Tshark—that you can use for sniffing as well. We will, however, mostly use Wireshark in this book, but we encourage you to explore other tools as well. The first step to do this is to create a monitor mode interface. This will create an interface for our adapter, which allows us to read all wireless frames in the air, regardless of whether they are destined for us or not. In the wired world, this is popularly called promiscuous mode.

主站蜘蛛池模板: 潜山县| 文成县| 抚松县| 大渡口区| 嘉峪关市| 宽城| 玉龙| 溆浦县| 鄂州市| 凌源市| 阿拉善左旗| 望都县| 米脂县| 望城县| 穆棱市| 米泉市| 仙游县| 崇信县| 十堰市| 大埔区| 蚌埠市| 毕节市| 虞城县| 阿坝| 肥西县| 漯河市| 黔西县| 大厂| 鄂托克前旗| 响水县| 崇仁县| 紫金县| 贵港市| 丹棱县| 咸丰县| 乡城县| 贵阳市| 鄂温| 宽城| 九龙县| 西峡县|