IMPORTANT:AttackDefense Labs is included with a Pentester Academy subscription! Upgrade Now to access over 1800+ Labs.

Already a Pentester Academy student? Your access will continue uninterrupted. Please use the same Google account to login here.

Not a Pentester Academy student? Try our Free Communitiy Labs

Filtering Advanced: WiFi

tshark-basics | Level: Intermediate  | Total Lab Runs: 0 | Premium Lab

Lab Scoreboard

Lab Walkthrough Video:

WiFi is everywhere: home, work, airport, hospitals, shopping complexes and even on airplanes :) In these exercises, you will explore how to analyze Wi-Fi traffic using tshark.

Start the lab, locate the PCAP file and use tshark to answer the below questions:


Set A:

    1. Which command can be used to show only WiFi traffic?
    2. Which command can be used only view the deauthentication packets?
    3. Which command can be used to only display WPA handshake packets?
    4. Which command can be used to only print the SSID and BSSID values for all beacon frames?

    Set B:

    1. What is BSSID of SSID “LazyArtists”?
    2. SSID “Home_Network” is operating on which channel?
    3. Which two devices received the deauth messages? State the MAC addresses of both.
    4. Which device does MAC 5c:51:88:31:a0:3b belongs to? Mention manufacturer and model number of the device.

    New to WiFi? Check our course on WiFi Pentesting.

    Set A:

      1. Protocol based filters are supported by shark siblings (wireshark and tshark). Give those a try.
      2. Every management frame in WiFi has can be classified under a type and subtype. For deauthentication frames, type is 1 and subtype is 12.  
      3. WPA handshake packets comes under Extensible Authentication Protocol over LAN (EAPoL). Already revealed a lot. :p
      4. We can filter for beacon frames then print specific fields. Now, open check which fields are those?

      Set B:

      1. Add for a filter for “LazyArtists” beacon frames and then print the BSSID field?
      2. If only there is a way for an WiFi Access Point (AP) to tell client devices about the channel it will be operating on. Wait. we do have beacon frames. :) 
      3. If we can filter specific management packets and then print a specific protocol field. Oh wait, we can do that. Can't we?
      4. We can identify the device manufacturer using first 3 octet of MAC (5c:51:88). To get more accurate information about the model number of the device, we have rely on other protocols up the OSI ladder. If you have done the HTTP traffic analysis, you already know what to do. ;)

      The following activities are strictly prohibited on this website unless otherwise explicitly stated as allowed in the mission statement:

      • Using automated scanners
      • Using brute force attacks
      • Denial of Service attacks
      • Attacking other student machines in challenges where you might achieve a shell on the vulnerable system
      • Attacking the lab infrastructure

      Users violating the above will be either temporarily or permanently banned from the website. 

      If you are unsure about an activity, then please contact support to confirm that it is allowed on our website.

      Technical Support for this Lab:

      There is a reason we provide unlimited lab time: you can take as much time as you need to solve a lab. However, we realize that sometimes hints might be necessary to keep you motivated!

      We currently provide technical support limited to:

      • Giving hints for a lab exercise
      • In rare circumstances, if you have totally given up (NO!!!) then tell you how to solve it. This will be limited to sharing the solution video or lab report
      • A lab exercise fails to load or has errors in it

      If you need technical support, please email  clearly mention the name and link of the lab exercise and other essential details. The more descriptive you are, the faster we can help you. We will get back to you within 24 hours or less. 

      For adminitrative queries, billing, enterprise accounts etc. please email