Wifi Evil Twin Attack Active Directory Compromise
The author describes a penetration test scenario where an evil twin Wi-Fi access point captures a wireless printer's credentials, then SMB relay attacks against a domain controller are possible because SMB signing is not enforced, leading to domain admin compromise and malicious GPO deployment. The attacker could disable antivirus and control all domain machines.
Published on infosecwriteups.com
In my previous posts, we discussed “silly” device mistakes and the fallacy of the flat network. Today, we are going deeper.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the combination of devices auto-connecting to Wi-Fi without certificate validation, SMB signing not being enforced, and overly permissive internal routing between Wi-Fi and server VLANs.
Impact
The attacker could gain domain admin access, disable antivirus across all machines, and silence security alerts, though the text notes this relies on SMB signing not being enforced and permissive internal routing.
What the attacker needed
Wireless printer auto-connects to Wi-Fi; SMB signing not enforced; Wi-Fi VLAN can reach domain controller; attacker within Wi-Fi range
The fix
The text recommends enforcing SMB signing, implementing zero-trust internal routing so the Wi-Fi VLAN cannot initiate connections to the domain controller, and using WPA3 with certificate-based authentication instead of pre-shared keys for automated devices.
How it was found
- Set up an evil twin access point with the same SSID as the corporate Wi-Fi.
- Send a de-authentication packet to the wireless printer so it disconnects and reconnects to the fake access point.
- Capture the printer's stored credentials and gain a foothold on the Wi-Fi VLAN.
- Use a tool like Responder to listen for broadcast traffic and relay authentication hashes to the domain controller or file server.
- With administrative rights on the domain controller, create a malicious Group Policy Object that disables real-time protection, adds exclusions, and suppresses alerts.
- Run gpupdate /force to apply the policy across all domain machines.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An evil twin is a fake Wi-Fi network that looks like the real one, tricking devices into connecting to it. Once connected, the attacker can capture login information and use it to impersonate the device on the corporate network. If the network does not require strong authentication for server connections, the attacker can take over the whole domain.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.