Demo: Brute-forcing a macOS user’s real name from a browser using mDNS
A technique was demonstrated to brute-force a macOS user's first name by resolving mDNS hostnames from a browser using timing differences. An attacker could potentially de-anonymise visitors by testing common names and device hostnames, though the attack is limited and not practical.
Published on fingerprint.com
In this article, we explain how the real name of a macOS user can be leaked through a browser without permissions.
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 default macOS hostname includes the user's first name, and browsers allow timing side-channels to detect if a hostname resolves via mDNS.
Impact
The attack could reveal a user's first name with about 65% accuracy, but it is not practical and can be detected in browser developer tools.
What the attacker needed
Victim uses macOS with default hostname; victim visits attacker's website; browser supports fetch and timing
The fix
Users should change their local hostname to something that does not contain their first name.
How it was found
- Create a list of common first names and device hostnames based on locale and device type.
- For each candidate hostname, make a fetch request to the .local address and measure the time until it fails.
- If the hostname resolves quickly (e.g., within milliseconds), it exists; if it times out (e.g., after seconds), it does not.
- Repeat for all candidates to find the matching hostname, which contains the user's first name.
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 is about a way to guess a Mac user's first name by checking how long the browser takes to look up common device names on the local network. The attacker tries many names and sees which one responds quickly, revealing the name. It only works if the user has a default hostname that includes their first name.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.