Skip to content
Info disclosure Write-up Intermediate

New Metasploit Module: Microsoft Remote Desktop Web Access Authentication Timing Attack

RD Web Access responds faster to login attempts with valid usernames than with invalid ones, allowing an anonymous attacker to enumerate valid Active Directory usernames. If RPC is accessible, the attacker can also discover the domain name, enabling further attacks.

Matt Dunn Follow

Published on raxis.com

Published on February 25, 2021 · Written by Raxis Research Team · Updated August 3, 2026

Matt Dunn, on raxis.com

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 authentication process performs different amounts of work for valid versus invalid usernames, causing a measurable timing difference.

Impact

An anonymous attacker could gather intelligence about an organisation's Active Directory environment and build a list of valid domain users for use in secondary attacks.

What the attacker needed

Network access to RD Web Access; Knowledge of the Active Directory domain (or RPC accessible)

The fix

The text recommends protecting RD Web Access behind a VPN, proxying traffic through ISA or Microsoft Federation Service, or enforcing MFA; Microsoft declined to service the vulnerability.

How it was found

  1. Send a login attempt with an invalid username and measure the response time.
  2. Send a login attempt with a valid username and an incorrect password, and measure the response time.
  3. Compare the response times to determine if the username is valid.
  4. If RPC is accessible, send a crafted NTLM challenge to retrieve the Active Directory domain name.
  5. Use the domain name and timing differences to enumerate valid usernames.

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.

When you try to log in, the server takes different amounts of time to say 'no' depending on whether the username exists. By measuring these times, an attacker can guess which usernames are real. This is called a timing attack.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.