Sitemap
Level Up Coding

Coding tutorials and news. The developer homepage gitconnected.com && skilled.dev && levelup.dev

Hack WiFi Router Passwords using Brute-Force Attacks

6 min readFeb 12, 2022

--

Almost all modern-day wifi routers use WPA2 encryption. The WEP connections or WPS-enabled networks were easier to hack into because of the flaws in their design. WPA/WPA2 encryption took care of all these flaws, still, there are ways to get into a network secured by WPA2. The only known practical way to crack a WPA2 encrypted network is through a wordlist/dictionary attack.

Press enter or click to view image in full size

Changing MAC Address

Before starting you may want to change your MAC Address. This is an optional step. If you want to change your MAC address, you can follow the steps mentioned in this link https://go-rrrave.medium.com/how-to-change-mac-address-120ffce66965.

Cracking WPA2

Cracking WPA2 using brute force involves mainly 2 parts:

  • Capturing Handshake
  • Running Brute Force on the captured Handshake

Capturing Network Handshake

To send a packet in a network, the packet should have a source MAC address and a destination MAC address. A device will only receive data that has destination MAC as its address. We will exploit this rule to perform de-auth attacks later.

The data packets are literally sent over the air, so if we are in the range of the…

--

--

Gourav Dhar
Gourav Dhar

Written by Gourav Dhar

Senior Software Engineer | Content creator at Youtube: https://www.youtube.com/@codewithgd | Blog: https://thegeekyminds.com | IIT Roorkee Batch of ’19