Skip to main content
Phishing Defense·1 min read

What is Punycode & IDN Homograph Phishing? How Hackers Visually Spoof Trusted Brands

Learn how cybercriminals exploit internationalized domain names and Cyrillic lookalikes to craft visually identical replica websites, and how to defend against homoglyph attacks.

TD
TrustDepth Security Lab
TrustDepth Security Research
idn-decoder v2.4
$ idn decode "xn--pple-43d.com"
⚠ Homoglyph: аpple.com [Cyrillic 'а']
✓ Homoglyph Heuristic: DETECTED

The Visual Deception of IDN Homoglyphs

Internationalized Domain Names (IDNs) were introduced to allow internet users worldwide to register domains in their native scripts, including Cyrillic, Arabic, Hebrew, and Chinese. However, this feature opened a significant security vector known as the IDN Homograph Attack.

Certain characters in foreign alphabets look virtually identical to standard Latin characters. For example, the Cyrillic small letter 'а' (Unicode U+0430) and the Latin letter 'a' (Unicode U+0061) are visually indistinguishable in standard fonts, yet the DNS system interprets them as completely separate domain names.

How DNS Translates Internationalized Domains via Punycode

The global DNS network only natively understands standard ASCII characters (A–Z, 0–9, and hyphens). To resolve non-ASCII characters, the internet uses Punycode encoding, which prefixes domains with 'xn--'.

For instance, if an attacker registers 'apple.com' using a Cyrillic 'а', the true underlying DNS string is resolved as 'xn--pple-43d.com'. While specialized browsers might display this raw Punycode in the address bar, phishing emails, SMS messages, and mobile app webviews frequently render the visually deceptive string.

How TrustDepth Detects and Neutralizes Homoglyph Spoofs

TrustDepth automatically normalizes all incoming domain queries through an IDN/Punycode engine. Our scanner inspects the character sets, decodes any 'xn--' prefixes, and analyzes whether the hostname is attempting to visually impersonate high-profile tech, banking, or government brands.

When a domain mixes scripts or utilizes lookalike Unicode homoglyphs to mimic a protected brand, TrustDepth immediately flags the impersonation heuristic and reduces the domain score to high-risk territory.

Frequently Asked Questions

What is a Punycode domain?

Punycode is an encoding syntax (starting with 'xn--') that allows non-ASCII characters from alphabets like Cyrillic, Greek, or Arabic to be converted into the standard ASCII character set used by the Internet DNS infrastructure.

How do modern browsers protect against homograph phishing?

Most modern web browsers (Chrome, Firefox, Safari) automatically display the raw Punycode string (e.g., xn--pple-43d.com) in the address bar whenever a domain mixes scripts or uses characters prone to visual confusion.

Related Security Guides