IEEE 802.11 protocol ===================== Mirage includes components allowing to manipulate and communicate with WiFi interfaces, along with other components implementing some attacks on the IEEE 802.11 stack. This page presents some of those components, and provides some usage examples. .. warning:: Please note the fact that this protocol stack is partially implemented. It's mainly included as a proof of concept for now. WiFi modules ------------- Mirage includes many modules allowing to analyse the security of WiFi communications. The available modules and the links to the corresponding documentation pages are listed in the following table : .. include:: list.wifi-modules.rst Importing the WiFi software components --------------------------------------- Every software component described in this page can be easily imported from a :doc:`module ` or a :doc:`scenario ` environment using the following statement : :: from mirage.libs import wifi Then, every component is available using the ``wifi`` namespace: :: packet = wifi.WifiBeacon(channel=11, srcMac="AA:BB:CC:DD:EE:FF", cypher="WEP") Interacting with the protocol ------------------------------ Mirage can use a standard WiFi interface to interact with the protocol. Each device can be used to send and/or receive IEEE 802.11 frames, and possibly provide some specific features by providing shared methods. The supported Devices are listed :doc:`here `. To manipulate a device, you need to use the corresponding Emitter and/or Receiver with an interface related to you device. The `following page `_ explains how to use these software components. Wifi frames ------------- Mirage manipulates WiFi frames as child classes of ``WifiPacket`` (`mirage.libs.wifi_utils.packets.WifiPacket `_), which is itself a child class of ``Packet`` (`mirage.libs.wireless_utils.packets.Packet `_. The following list describes the available packets and provides some links to the corresponding documentation pages : * `WifiBeacon `_ * `WifiProbeRequest `_ * `WifiProbeResponse `_ * `WifiDeauth `_ * `WifiDisas `_