Didier Stevens

Monday 1 June 2009

Quickpost: Sending WiFi Beacon Frames with an AirPcap Adapter

Filed under: My Software,Quickpost,WiFi — Didier Stevens @ 10:29

While preparing for my OSWP exam, I came across an unpublished Python program for the AirPcap adapter. I cleaned-it up a bit and here it is: apc-b

This program allows you to send out beacon frames, a very simple way to spoof WiFi access points.

This is the command to generate beacon frames on channel 6 for a couple of ESSIDs listed in file apc-b-2.txt:


And here is Kismet on my N800 capturing these beacon frames:


Quickpost info


  1. what if I would like to send beacon frames on mac os x with airport?
    How would I modify on that case? and on linux?

    Comment by cesarnda — Thursday 19 November 2009 @ 5:39

  2. Airpcap is for Windows only. Linux has wireless NICs that support raw packet injection. Take a look at some source code to see how they do it, for example aircrack-ng.

    Comment by Didier Stevens — Thursday 19 November 2009 @ 21:16

  3. […] three years ago I released a Python program to send out WiFi beacon frames with an AirPCap adapter. During my last holiday, I took some time to […]

    Pingback by _nomap, _nomap, _nomap, … « Didier Stevens — Tuesday 19 June 2012 @ 20:51

RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.