πΉππππ€ππ¦ πππ πππ‘π€πππ ππππ‘ππ π‘πππ
Read the article about Freeway, now on Medium
Note
Before using the software, the user must agree to the EULA when prompted
1. Overview
Freeway is a Python scapy-based tool for WiFi penetration that aim to help ethical hackers and pentesters develop their skills and knowledge in auditing and securing home or enterprise networks.
2. Features
- IEEE 802.11 Packet Monitoring
- Deauthentication Attack
- Beacon Flood
- Packet Fuzzer
- Network Audit
- Channel Hopper
- Evil Twin
Description of the features can be found in Section 6
3. Preparation
It is necessary to have:
- A network adapter supporting monitor mode and frame injection.
- An operating system running a Linux distribution.
- Python 3+ installed.
Optionally, install Scapy and Rich packages for Python if not installing via pip (see Section 4)
4. Setup
Option A: Install via PyPi (RECOMMENDED)
$ sudo pip install 3way
Option B: Install or run manually
First, clone the repository:
git clone https://github.com/FLOCK4H/Freeway
Navigate to the cloned repository:
cd Freeway
Option 1: Install dependencies, folders, and Freeway. (RECOMMENDED)
This will allow to launch the tool from anywhere
sudo pip install .
Option 2: Run without installation using Python.
Must be called from the /Freeway directory
sudo pip install scapy rich
sudo python Freeway
5. Usage
This tool comes with its own command line interface (CLI) and can be run without specifying any additional arguments.
Click to expand the CLI usage
And with the additional arguments, to skip the CLI partially or completely.
Click to expand the arguments usage
6. Details
- Packet Monitor - Sniffs the WiFi packets in the air, analyze them and return the result onto the pythonβs curses display. Catches SSIDs, MACs, Clients, Uptime, Channel, Signal (dBm), Encryption and resolves manufacturer. Catches PMKIDs in hashcat crackable format, and 4-way Handshakes, as well as other EAPOL packets. Logs the captured session to the /caps folder or every captured packet if Save output was selected.
- Deauthentication Attack (Deauthing) - Disconnects a device from the network by sending a packet containing AP1 address, device address (or broadcast for Mass Deauthing) and the deauthentication frame with a reason of kicking the client(s). In case where a device address is a broadcast address, the AP will in most cases disconnect all clients at once. Freeway creates separate thread for every AP or client found in order to make deauthing maximally efficient.
- Beacon Flood Attack - Floods the nearby WiFi scanners with fake or malformed APs. It can cause the devices looking for WiFi to behave abnormally (e.g. crash, freeze, drain the battery or run slower) and disrupt the nearby network traffic. User is able to specify his own ssid list, use the default one and generate correct (but random) or malformed beacon packets.
- Packet Fuzzer - Fuzzing is a technique of network vulnerability assesment by sending a wide array of malformed or semi-random data to network interfaces and observing the responses. Freeway covers: Replay captured packets (RX&TX2), Spam CTS/RTS or Probe requests and Flood an AP with Authentication or Association Frames. Devices that will capture fuzzed packets will behave differently depending on vulnerability level of receiver (!USE WITH CAUTION!).
- Network Audit - Gathers all possible information about specific network and returns them onto the curses view. Tracks all clients signal and last activity, as well as resolve the manufacturer.
- Channel Hopper - Changes the current channel of the network adapter. Helpful in making specific attacks more successful.
- Evil Twin - Hosts a legitimate Access Point with Captive Portal, this βlegitimateβ AP asks user for login/ bank credentials, or to download malware. First, thereβs a normal AP created, most times with an ESSID and MAC of existing network. Then, we host our captive portal (e.g., login website), so a normal web server, that reroutes users to our
index.htmltrying to associate with the network we spoof.
1Access Points
2Transceive and receive at the same time
7. Uninstall
In case where Freeway doesnβt meet the expectations and was installed via pip, the removal process is as easy:
sudo pip uninstall 3way
The rename to 3way is done on purpose to βreserveβ the name for the future official pip release as Freeway is taken.
TODO
Evil Twin attack
Version & update checker
PyPi Release
Changelog
19.05
- Fixed rare RuntimeError in deauth.py caused by iterating on dynamicly changing size dictionary
- Further improvements of beacon packet formatting in beacon_spam.py
27.05
- Added
updater.py- Added
evil_twin.py- Added
/templatesfolder- Added Evil Twin to actions list
- Updated README.md
- PyPi Release
3.05
- Added
git_downloader.py- Updated
beacon_spam- Updated
evil_twin
Known Issues
- Android filters out fake beacon frames (works for Android 5, doesnβt on Android 11+, versions below Android 11 and above Android 5 were not tested.)
- EvilTwin needs a second adapter connected to the internet (Not really an issue), to be able to reroute traffic
Legal Note
Important
Any malicious use of such features should be considered a crime,
always assert permission to perform the penetration testing.
License
The distribution of Freeway is regulated by the standard MIT license, users can feel free to use, share and contribute to the repository or report bugs.

!