Wi-Fi Hacking: Testing Routers with Wifit3
Welcome back, aspiring cyberwarriors!Β
Many beginners want to know how they can hack their Wi-Fi. Itβs fun, itβs easy to get started with and those small wins make the early part of your cybersecurity journey exciting. Testing Wi-Fi security is also an important part of a pentest, since many organizations keep old routers in place with weak security settings. As years go by, those settings get more and more obsolete, like WEP. Some features routers have enabled by default might be convenient, but are often unnecessary. Thatβs WPS, as you might know. It gets abused regularly to recover a plaintext password and sometimes you can get it in under a minute just because WPS was left on.
If hackers get onto the network, they can start exploring everything on it or just use your Wi-Fi for their own purposes. You donβt want that. Thatβs why you need to make sure itβs secure.
Today weβll cover Wifit3, which can help you with this.
What is Wifit3
The tool was developed by the same author who created Wifite2.
Unlike its predecessor, it doesnβt need aircrack-ng, reaver or bully installed. Instead, it uses pure Python with the PyUSB and Textual libraries. Wifit3 works just as well on Linux, macOS and Windows. Youβll only need a USB dongle to work with it. The repository mentions all the supported devices.Β
It scans both 2.4 GHz and 5 GHz, can tell when a network is WPA3 or in mixed WPA2/WPA3 mode and keeps track of signal and encryption. It also tries to identify the router and pull extra details about it. Hidden network names sometimes get revealed by matching them to a known router address. If you plug in more than one supported WiβFi adapter, you can listen on several at once and leave one free to send packets.

It shows beacons, data, injection and disconnect traffic so you can see whatβs in the air while you work.
The tool can listen to WiβFi traffic and send disconnect messages. Those messages kick phones off the network. When a phone joins again, it talks to the router to prove it knows the password. The tool records that conversation. The password is in there, but scrambled, so you can crack it later with hashcat.

Hereβs how it looks. Above you can see it capturing handshakes with passwords after disconnecting a client. The tool also managed to capture a PMKID. PMKID is a short hash the router can send thatβs tied to the Wi-Fi password. If you capture that hash, you can try passwords against it later on your own machine. You donβt need to kick anyone off the network or capture a full login handshake.
Thereβs also an Evil Twin mode for WPA3. It tricks phones into leaving the real WiβFi and joining a fake one so the tool can steal a handshake. For WPS it can try the fast Pixie Dust attack, grab the password when someone presses the routerβs WPS button and keep guessing the WPS PIN while pausing if the router starts locking out attempts.

Thatβs how the WPS attack looks. The tool sends an enrollee identity with a public key and gets the router credentials decrypted. The password is then saved to a text file.
WEP is attacked in Python with the usual replay tricks to recover the key.
Setting Up
Now letβs set it up on our machine. As always, weβre going to use Kali, but you can use anything you want.
kali > wget https://github.com/derv82/wifit3/releases/download/v0.3.2/wifit3-linux-x64 -q
kali > chmod 777 wifit3-linux-x64
kali > mv wifit3-linux-x64 wifit3
kali > sudo cp wifit3 /usr/local/bin

Weβre all set. Plug in your USB dongle and start the tool.
kali > wifit3

After choosing the right, you can start testing your Wi-Fi. Use it only on your own Wi-Fi or the one youβre authorized to test.Β

Summary
There are so many vulnerable Wi-Fi networks youβll come across during pentests. Theyβre often the quickest way into a network, which is why their security shouldnβt be overlooked. Wifit3 is a new tool that came out relatively recently. Itβs easy to work with and can help you cover all the common wireless attacks.
If youβre interested in Wi-Fi security, our Wi-Fi Hacking training can help you gain the necessary experience.
The post Wi-Fi Hacking: Testing Routers with Wifit3 first appeared on Hackers Arise.