Home Hacking Tools Fluxion – Wifi Security and Audit Framework

Fluxion – Wifi Security and Audit Framework

by Unallocated Author

Fluxion is a wifi security analysis tool that can simulate wifi attacks using the MITM technique. The tool can create rogue access points and steal wifi credentials through phishing. The tool also tries to obtain WPA/WPA2 encryption hashes through handshake process.

Fluxion Installation

fluxion cloning

Run the following command in order to clone the Fluxion from github repository.

git clone https://www.github.com/FluxionNetwork/fluxion.git

Fluxion depends on different packages, such as aircrack-ng, bc, dhcpd, nmap, openssl, xterm, route, fuser, lihttpd, macchanger, and php-cgi. The packages required by Fluxion are auto installed while running the Fluxion for the first time. Move to the Fluxion directory and run the following commands in order to auto install the missing dependencies.

cd fluxion

However, using the above commands sometimes fails installing the required packages and Fluxion does not work.  In that situation, note down the missing packages that are marked by Flxuion and install them manually by using the following command.

sudo apt-get install <missing packages>

For example

sudo apt-get install php-cgi lighttpd dhcpd bc

fluxion missing packages manual installation

Wifi Security Test Using Fluxion

Fluxion tool can be set into action by running the following command in the terminal.


The tool checks if all the dependencies are fulfilled. If all the required packages are installed, the tool offers a choice of attacks that can be performed. Currently, there are two types of attacks that can be launched with the tool. These are Captive Portal attack and Handshake Snooper attack. The Captive portal attack allows creating the rogue access point (evil twin) to steal the wifi credentials, while Handshake Snooper attack is used for acquiring WPA/WPA2 encryption hashes.

fluxion attack options

Let’s suppose we select the first option to simulate the Captive Portal attack. Fluxion scans the available wifi interfaces and asks the user to select the desired interface to imitate it (fake rogue access point) for the attack.

fluxion wlan for twin ap

Fluxion starts a DNS server to redirect all the requests to the attacker’s machine. A jammer starts, de-authenticating the users and asking them to re-enter the wifi credentials into a spawned web server. Once the user enters the correct wifi credentials, the attack automatically terminates. The valid wifi credentials can be seen from the fluxion portal.

What Bunny rating does it get?

Fluxion is a powerful tool that can simulate the WPA/WPA2 wireless attacks without using dictionary or brute-force techniques. As a result we will be awarding this tool a rating of 4.5 out of 5 bunnies.

half bunny

Want to learn more about ethical hacking?

If you would like learn all about WiFi hacking from the ground up, we have a 7.5 hour online course with a totally bonkers discount. Get it HERE.
Get in touch with us via the contact form if you would like us to look at any other GitHub ethical hacking tools.

You may also like

Latest Hacking News

Privacy Preference Center


The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]


DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.



The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid