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

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:

Revisiting WLAN frames

The Frame Control field itself has a more complex structure:

Revisiting WLAN frames

The Type field defines three types of WLAN frame:

  1. 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
  2. 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)
  3. 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 promiscous mode.

主站蜘蛛池模板: 米易县| 长武县| 墨竹工卡县| 鲁山县| 吉隆县| 布尔津县| 融水| 清涧县| 华池县| 宁波市| 托里县| 基隆市| 秦安县| 顺义区| 疏附县| 即墨市| 右玉县| 建始县| 通化市| 若羌县| 松原市| 涪陵区| 南阳市| 汉阴县| 嘉义县| 垫江县| 成安县| 长寿区| 锡林浩特市| 九龙县| 桑日县| 新竹县| 弥勒县| 双流县| 平乐县| 聂拉木县| 开江县| 莫力| 杂多县| 恩平市| 呈贡县|