> 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/zh/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/evil-twin-attack.md).

# Evil Twin 攻击

理解 Evil Twin 无线攻击、对用户的影响以及实用防御控制。

## 恶意双胞胎：Wi‑Fi冒充者

当攻击者创建一个虚假的 Wi‑Fi 网络时，就会发生恶意双胞胎攻击。它使用与合法网络相同的名称（SSID），例如酒店或咖啡馆里的网络。这会诱使用户连接到它。

### 攻击过程

1. **克隆：** 攻击者复制真实网络的名称。
2. **断开连接：** 他们通过去认证攻击将用户从合法网络中踢下线。
3. **连接：** 受害者的设备会因为信号更强而自动重新连接到假冒 Wi‑Fi。

### 主要风险

通过控制接入点，攻击者可以在中间人攻击中拦截所有流量。他们可以监控用户活动，将用户重定向到通过网络钓鱼窃取密码的假网站，或用恶意软件感染设备。

### 防护措施

* 禁用自动连接到开放 Wi‑Fi 网络。
* 在公共网络上浏览时使用 VPN。
* 如果熟悉的网络突然要求提供凭据或个人数据才能访问，请保持警惕。

<figure><img src="https://1574813340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FCcHlCZSS8XSMNmHSGW2T%2Fimage.png?alt=media&amp;token=53bf8dd9-99a2-41a7-8376-8a2c48265e32" alt=""><figcaption></figcaption></figure>


---

# 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/zh/hacking-wifi/wpa-wpa2-psk-network-attacks/evil-twin/evil-twin-attack.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.
