> 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/wpa-wpa2-psk-network-attacks/packet-analysis/authentication-packet-analysis.md).

# 認証パケット分析

許可されたキャプチャ内の 802.11 認証フレームを特定し解釈する。

### 概要

認証フレームは 802.11 接続シーケンスの一部です。通常、関連付け要求と関連付け応答の前に現れます。

典型的な WPA/WPA2 接続では、クライアントは 802.11 層で認証し、その後アクセスポイントに関連付けます。WPA/WPA2 の 4-way ハンドシェイクは関連付けの後に続きます。

自分が所有している、または評価する権限のあるネットワークのキャプチャを分析してください。

### 認証フレームをフィルタリング

認証フレームは管理フレームのサブタイプを使用します `11`. Tshark で保存済みキャプチャをフィルタします:

{% code overflow="wrap" %}

```bash
tshark -r CAPTURE-01.cap -Y "wlan.fc.type_subtype == 11" 2>/dev/null
```

{% endcode %}

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FlCeW0vMw8aszgYvazZuI%2F%7B0AD63116-17AC-47A7-8DFB-AAAEB44FB296%7D.png?alt=media&amp;token=32edd5bb-5b15-45c2-be71-051607c7ac78" alt=""><figcaption></figcaption></figure>

### 出力例

> 22263 114.703031 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22266 114.709466 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22269 114.717582 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22272 114.724416 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22285 114.756941 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22293 114.780154 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2673, FN=0, Flags=....R...\
> 22295 114.784290 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2674, FN=0, Flags=........\
> 22297 114.789547 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2674, FN=0, Flags=....R...\
> 22303 114.806150 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2674, FN=0, Flags=....R...\
> 22307 114.816975 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2674, FN=0, Flags=....R...\
> 22320 114.852622 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2674, FN=0, Flags=....R...\
> 22323 114.859488 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22324 114.861193 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22327 114.868343 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22336 114.893840 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22340 114.903089 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22344 114.910651 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2675, FN=0, Flags=....R...\
> 22345 114.918244 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2676, FN=0, Flags=....R...\
> 22346 114.921532 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2676, FN=0, Flags=....R...\
> 22347 114.925145 8e:60:c4:67:1c:9f → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=2676, FN=0, Flags=....R...\
> 22485 116.713719 9e:8c:fb:49:d4:52 → TpLinkTechno\_62:45:e7 802.11 65 認証, SN=880, FN=0, Flags=........\
> 22487 116.715413 TpLinkTechno\_62:45:e7 → 9e:8c:fb:49:d4:52 802.11 41 認証, SN=3566, FN=0, Flags=....R...

送信元アドレスと宛先アドレスは、各交換に関与するクライアントとアクセスポイントを示します。繰り返しのフレームは、キャプチャ内での再送を示している場合があります。

### 特定のクライアントを確認する

クライアントの MAC アドレスを含むフレームをフィルタリングします：

{% code overflow="wrap" %}

```bash
tshark -r CAPTURE-01.cap -Y "wlan.fc.type_subtype == 11 && wlan.addr == AA:BB:CC:DD:EE:FF" 2>/dev/null
```

{% endcode %}

置き換え `AA:BB:CC:DD:EE:FF` 許可されたキャプチャから取得したクライアントの MAC アドレスを指定します。

### パケットフィールドを確認する

詳細出力を使って認証交換を確認します：

{% code overflow="wrap" %}

```bash
tshark -r CAPTURE-01.cap -Y "wlan.fc.type_subtype == 11" -V 2>/dev/null
```

{% endcode %}

次のフィールドを確認します:

* **送信元アドレスと宛先アドレス** 両者を識別します。
* **認証アルゴリズム** 802.11 の認証方式を識別します。
* **トランザクションシーケンス番号** 交換ステップを示します。
* **ステータスコード** アクセスポイントが要求を受け入れたかどうかを示します。

### 結果を解釈する

認証フレームは、802.11 の認証交換が試みられたことを示します。クライアントが関連付けされたことやネットワークアクセスを取得したことは示しません。

このフレームを、後続の関連付けおよび EAPOL トラフィックと対応付けます。タイムスタンプと MAC アドレスを使って、接続シーケンス全体で同じクライアントを追跡します。


---

# 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/wpa-wpa2-psk-network-attacks/packet-analysis/authentication-packet-analysis.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.
