Added by on 2011-08-01

Today we’ll be setting up an environment which will allow us to easily disect a beacon frame, as well as the other three types of management frames; probes, authentication and association. As you know we’ve covered the 3 types of wireless frames; management, control and data. Last week we went over one of the 4 types of management frames — the beacon.

Download HD Download MP4 Download WMV

To recap the demo we began by bringing up our NIC ifconfig wlan0 up and starting a monitor mode interface airmon-ng start wlan0 11 then using the MDK3 tool we can create beacon frames indicating our SSID of choice mdk3 mon0 b -c 11 -n haktip.

Now if we bring up an additional wireless interface ifconfig wlan5 up we can scan for nearby access points iwlist wlan5 scan | grep ESSID and see those beacon frames in action.

This week we’re going to be using airbase-ng and wireshark to put together a nice little wireless packet sniffing environment so that we can better understand management frames.

Airbase-ng is a script that comes bundled with the aircrack-ng suite of tools. Like many of the aircrack tools it is serves multiple purposes. This versatile little tool is mainly aimed at wireless client or stations rather than access points or base stations. It can be used in a wire array of wireless phishing attacks allowing one to obtain WPA handshakes or WEP keys. It can also cause all sorts of mayhem to access points and clients nearby so use with caution.

In todays example we’ll be using the most simple function, and that is mimicing a wireless access point.

You can find the full syntax of the tool by issuing airbase-ng –help. The only paramaters we’ll be specifying in our example will be the channel and ESSID. airbase-ng -c 11 -e haktip mon0

The first thing we see when using airbase-ng in this mode is the report “Created tap interface at0″

Everytime airbase-ng is started a tap interface is created. It isn’t brought up by default but simply issuing ifconfig ath0 up will bring it to life. The neat part about this interface is that even with WEP encryption enabled this tap interface will always show incoming packets after decryption. You can also send packets to this interface and they’ll go out encrypted, if the “-w” option is set.

The next thing listed is airbase-ng setting the MTU, or Maximum Transmission Unit, to 1500. This basically says the maximum size an IP packet can be before it gets split up into multiple packets. For ethernet v2 this is the highest setting possible. You may see MTUs of up to 9000 but only with Jumbo Frames on a gigabit lan.

Finally airbase-ng reports that the access point has been brought up using the BSSID of the NIC. If we want we can specify a different BSSID with the “-a” option or simply use macchanger beforehand.

Ok so we have our fake AP with the SSID “haktip” running so let’s copy the BSSID into our clipboard and startup wireshark&

We’ll select the mon0 interface to listen to and start. Now that we have a few packets lets stop sniffing and apply a filter.

To add a filter to Wireshark come up here to the filter bar and enter the expression. In this case I only want to see frames to or from the BSSID of our haktip access point so enter wlan.addr == BSSID and I’m only interested in beacon frames, so I’ll add && wlan.fc.type_subtype == 0×08

If we open the first frame we can see that it is in fact the type 0×08, or “Beacon”. The destination is Broadcast so it’s being sent out for everyone to hear. We have our source address and a sequence number. Wireshark also knows it’s a wireless management frame, so if we expand that we’ll see capability information under fixed and tagged paramaters. This beacon is saying, among other things, that it cannot support WEP, OFDM modulation isn’t allowed. Under tagged paramaters we’ll notice that the SSID is set to haktip, the support data rates are 1, 2, 5.5 and 11 Mb/s as well as rates 6, 9, 12, 18, 24, 36, 48 and 54 indicating that it’s an 802.11g network, and finally that the channel is set to 1.

And as always we value your feedback and suggestions. If you have a tip to share with me, email tips@hak5.org or leave a comment.

And be sure to check out our sister show, Hak5 for more great stuff just like this.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

72 Comments

  • bigjacobus 1 year ago

    wireshark = Ethereal

  • gorkon 1 year ago

    Wireshark’s previous name was Ethereal.

  • Shaun 1 year ago

    Wireshark was formerly named Ethereal

  • Originally named Ethereal, in May 2006 the project was renamed Wireshark

    I M The first 1 To Answer You question Yeaaaaaaaaaaaaaa

  • Corey Siverson 1 year ago

    Wireshark was Ethereal until trademark issues were raised.

  • Clurk 1 year ago

    Wireshark was known as Ethereal, until trademark issues were raised.
    Cool shows, more linux, less others.

  • Ethereal.

  • bdtgoku 1 year ago

    wireshark was known as Ethereal before it changed the name. I remember because I tried to find it and was taken to a wireshark download.

    bdtgoku

    PS. love the show, hak5 and haktip

  • john 1 year ago

    WIRE SHARK was Known ETHEREAL

  • noob 1 year ago

    wireshark = Ethereal

    a question , which is the best AND free vpn that i can use in Backtrack

    AND can i use Hamachi VPN in backtrack if yes How can i install it Backtrack !!!!!!!
    please help me out !!!!!!!

    and thanks for the shows it helped me lot !!!!!!!!!!!!!!

  • mihai 1 year ago

    Wireshark’s previous name was Ethereal.

  • Gregg 1 year ago

    I wouldn’t have been able to tell you the date they changed their name, but I’m still struggling to remember the name Wireshark after so many years of using Ethereal.

  • Ansgar 1 year ago

    Wireshark was previously known as Ethereal

  • Paul 1 year ago

    Wireshark was known as Ethereal

  • skyra 1 year ago

    Before 2006 Wireshark was known as Ethereal.

  • Beezab 1 year ago

    Ethereal aka Wireshark

  • the former name of Wireshark was writing Ethereal

  • Hallvard Glad 1 year ago

    Ethereal

    It’s a greek word

    ethereal (comparative more ethereal, superlative most ethereal)
    Pertaining to the hypothetical upper, purer air, or to the higher regions beyond the earth or beyond the atmosphere; celestial; otherworldly; as, ethereal space; ethereal regions.
    Consisting of ether; hence, exceedingly light or airy; tenuous; spiritlike; characterized by extreme delicacy, as form, manner, thought, etc.
    Delicate, light and airy

    http://en.wiktionary.org/wiki/ethereal

  • Ethereal

  • gwodus 1 year ago

    Excellent Hacktip!!

    wireshark was forked from due to trademark issues (respectively tshark used to be tethereal).

  • Cameron 1 year ago

    Wireshark was formerly named as Ethereal

  • malkvn 1 year ago

    Wireshark used to be Ehtereal before the project changed names.

  • arbalest1977 1 year ago

    ethereal

  • Ed C. 1 year ago

    Ethereal

  • lance 1 year ago

    ethereal

  • stef 1 year ago

    wireshark == ethereal

  • slick blades 1 year ago

    wireshark was known as ethereal

  • Darren Fitzpatrick 1 year ago

    Wireshark was known as Ethereal.

  • Skyrell 1 year ago

    Wireshark’s previous name was Ethereal.

  • Alex Russell 1 year ago

    Ethereal!

    Something about copyright/trademark issues as I recall…

  • Josh (Soka80) 1 year ago

    Ethereal was the name of wireshark before 2006

  • Techguy71 1 year ago

    Wireshark was previously known to humans Ethereal. Can I has some packets sniffing tools?

  • SteveHT21 1 year ago

    Ethereal

  • Ethereal

    GG

  • Adam 1 year ago

    ETHEREAL!

  • Dreco3 1 year ago

    Wireshark was called Ethereal until 2006

  • Tyler 1 year ago

    Ethereal

  • Walkingmage 1 year ago

    Ethereal

  • Michael 1 year ago

    Wireshark used to be known as ethereal.

  • _remixed 1 year ago

    Wireshark used to be called Ethereal.

  • xxgoofyxx 1 year ago

    Ethereal was the original name of wireshark.

  • Jason 1 year ago

    Originally named Ethereal, in May 2006 the project was renamed Wireshark due to trademark issues.

  • Socapex 1 year ago

    Easy one, Ethereal. Which I find sounds better :)

  • impuls3 1 year ago

    Ethereal

  • cyberpunk 1 year ago

    Ethereal

  • That1AnonymousGuy 1 year ago

    Ethereal

    1998ish Ethereal May 2006 Ethereal was renamed Wireshark

    :)

  • Corey 1 year ago

    As all above me said…

    Ethereal

  • Pixelated Dwarf 1 year ago

    :D Rocking the speck’s Darren
    Another great HackTip!

  • JimS 1 year ago

    ethereal

  • nieldm 1 year ago

    Ethereal!!

    n__l

  • Ethereal — thanks

  • Ethereal® is used by network professionals around the world for troubleshooting, analysis, software and protocol development, and education. It has all of the standard features you would expect in a protocol analyzer, and several features not seen in any other product. Its open source license allows talented experts in the networking community to add enhancements. It runs on all popular computing platforms, including Unix, Linux, and Windows.

  • Leonardo 1 year ago

    Wireshark used to be Ethereal!!!

  • HakyHaky5dolla 1 year ago

    Ethereal!!!

  • MarineGeek 1 year ago

    Wireshark was originally named Ethereal

  • lazytubs 1 year ago

    Wireshark was known as Ethereal in May of 2006.

  • Brian Lund 1 year ago

    The former name of Wireshark was Ethereal.

  • Steve Vallis 1 year ago

    Wireshark’s previous name was Ethereal. Loved it then and love it now.

  • Benjamin D. 1 year ago

    For what it’s worth, the answer is Ethereal!!

    Love the showS, i.e. both of them.

  • Brooke Hedrick 1 year ago

    wireshark was ethereal

  • Ethereal was the name of wireshark before 2006
    Keep up the good work.

    Hugs, From Portugal

  • Dave Gavic 1 year ago

    Nice show!

    Trivia question answer:
    Ethereal

    Thank you for the great tips!

  • COMPUTERNERDfromHELL 1 year ago

    WireShark was previously known as CablePony. If I don’t win, I’d still like to extend kudos for an excellent show. Love Hak5, love the short form Haktip, keep up the good work!

  • Eric Dusek 1 year ago

    WireShark = Ethereal

  • Wireshark was previously named Ethereal.

  • kevin 1 year ago

    ethereal :D

  • rtdev42 1 year ago

    Yes, Wireshark was previously named Ethereal.

    Darren: What kind of radio do you use?
    I would like to get one but I am not sure which one to get.

  • aqualyricist 1 year ago

    wireshark = Ethereal

  • Wireshark was previously known as Ethereal.

  • spite 1 year ago

    Turns out ethereal is now known as wireshark