CVE-2021–36942'den CVE-2025–33073'e: Self-Relay Saldırısı
The report describes a self-relay NTLM attack that bypasses the built-in protection against relaying a machine account's authentication back to itself. By creating a specially crafted DNS record for localhost, an attacker can coerce a Windows machine to authenticate to itself and relay that authentication to gain elevated privileges.
medium.com
Published on medium.com
NTLM Relay saldırısı, SMB imzalaması zorunlu tutulmayan sistemlerde, çeşitli yöntemlerle elde edilen SMB kimlik doğrulama bağlantısının bir hedefe yönlendirilerek komut çalıştırılmasını amaçlayan bir saldırı tekniğidir. Saldırgan genelde burada SMB imzalaması bulunmayan bilgisayar üzerinden SMB shell veya lokal…
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 DNS record manipulation bypasses the self-relay protection by making the target resolve its own name to an attacker-controlled IP, allowing the relay to succeed.
Impact
An attacker with a standard domain user account could escalate privileges to execute commands on the target machine, provided SMB signing is disabled and the DNS zone allows authenticated users to create child objects.
What the attacker needed
Standard domain user account; SMB signing disabled on target; DNS zone allows Authenticated Users to create child objects; Target lacks June 2025 security update
How it was found
- Verify standard user access to the server.
- Add a DNS record with a marshalled string as the name, pointing to the attacker's IP.
- Wait and confirm the DNS record with nslookup.
- Use PetitPotam to coerce authentication from the target machine to the crafted DNS name.
- Run ntlmrelayx to relay the authentication to the target SMB service.
- Gain elevated access (e.g., interactive shell) on the target.
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.
This report explains a way to trick a Windows computer into giving away its login credentials to itself, which is normally blocked. The attacker creates a fake DNS entry that points the computer's own name to itself, then uses a known flaw to make the computer authenticate, and finally relays that authentication to run commands with higher privileges.
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.