December 21, 2024

Important: Beware of Punycode Phishing Scams Targeting Crypto Users

Important: Beware of Punycode Phishing Scams Targeting Crypto Users

Important: Beware of Punycode Phishing Scams Targeting Crypto Users

In the past few weeks we have noticed an increased phishing scam attack rate using sophisticated Punycode email addresses. These attacks exploit Unicode characters that resemble standard ASCII characters, creating deceptive email addresses and domain names that are difficult to distinguish from legitimate ones.

And despite millions of phishing emails being intercepted by spam filters and users becoming more adept due to well-defined cybersecurity programs, phishing remains a persistent threat. Spear phishers continually develop new and sophisticated methods to increase their success rates.

In the past Kraken was already targeted as you can read here, but the problem is still there with lots of other services being selected for this type of refined scams.

The emails targeted for phishing scams are often harvested from various sources, including social media platforms like Facebook or X. Despite Facebook’s claims that scraping email addresses is not feasible, it is possible to extract thousands of email addresses from public pages and profiles. These harvested emails are then used by scammers to launch targeted phishing attacks, often leveraging Punycode to disguise malicious domains.

Here’s what you need to know to protect your crypto assets from these scams.

How Punycode Phishing Works

Punycode is used to encode Unicode characters in the ASCII character set, which is required by the Domain Name System (DNS). Scammers exploit this to craft email addresses and domain names that appear almost identical to legitimate ones but are actually different.

Example:

  • Original Domain: example.com
  • Phishing Domain: еxample.com (with the first “e” replaced by the Cyrillic “е”)

Visually, these domains look the same, but their actual representations differ:

  • Phishing Domain in Punycode: xn--xample-9ua.com

How Scammers Use Punycode

Attackers may send an email from support@xn--xample-9ua.com, which your email client displays as support@еxample.com. This tricks users into thinking the email is from a trusted source, leading them to click on malicious links or provide sensitive information, potentially compromising their crypto wallets.

Detection Techniques

To detect and prevent Punycode phishing attempts, you might want to consider these methods:

  1. Domain Name Normalization:
    • Convert Punycode domains to their Unicode equivalents and check for visually similar characters.
    • Example: Compare xn--xample-9ua.com to example.com.
  2. Whitelist and Blacklist:
    • Maintain lists of trusted and known malicious domains.
    • Compare incoming email addresses against these lists.
  3. User Education:
    • Inform users about the risks of Punycode phishing.
    • Encourage vigilance regarding slight differences in email addresses and domain names.
  4. Automated Tools:
    • Use automated tools and services that detect and flag Punycode domains.
    • Many security solutions offer this feature as part of their phishing protection suites.
  5. Email Filters:
    • Configure email filters to detect and flag emails from Punycode domains similar to trusted domains.

Practical Example

Here are the steps for detecting a Punycode phishing email:

  1. Check the From Address:
    • Inspect the sender’s email address carefully. Look for unusual characters or the xn-- prefix indicating a Punycode domain.
  2. Convert Punycode:
    • Use tools like Punycode Converter to convert the Punycode back to its Unicode representation and manually verify it.
  3. Automated Check:
    • Implement a script or use a security tool that scans incoming emails for Punycode domains and compares them against known trusted domains.

Example Python Script for Detection

Here’s a simple Python script to help detect potential Punycode phishing domains:

Punycode Python Script
Punycode Python Script

Stay Very Vigilant

Basically, you should never click on an email you didn’t trigger yourself. And you should never connect your crypto wallet to any service via email. If you receive a suspicious email, do not click on any links or download attachments.

As an extra for the techsavy readers, the below video explores and demonstrates advanced techniques such as typosquatting, doppelganger domains, and IDN homograph attacks, all of which pose significant risks even to modern, fully patched browsers and email systems. For those wondering what this all means:

  • Typosquatting: Registering misspelled versions of popular domains to trick users.
  • Doppelganger Domains: Creating domains that are visually similar to legitimate ones.
  • IDN Homograph Attacks: As explained in our article this is the use of Unicode characters that look like standard ASCII characters to create deceptive domain names.