Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PunycodeURL-Detector

License: MIT Python 3.x

A robust command-line tool designed to detect Punycode Homograph Phishing attacks by comparing suspicious Internationalized Domain Names (IDNs) against a target domain. It uses an extensive YAML-based homoglyph map to normalize malicious Unicode domains back to their true ASCII form, instantly revealing impersonation attempts.


🛡️ How It Works

Punycode attacks, or Homograph Attacks, exploit the visual similarity between characters from different writing systems (e.g., Latin 'a' and Cyrillic 'а').

  1. Decoding: The script identifies Punycode (xn--) and decodes it to its original Unicode form (e.g., xn--80ak6aa92e.com $\to$ аррӏе.com).
  2. Normalization: It uses the extensive similar_chars.yaml map to replace every imposter character with its correct ASCII equivalent (e.g., аррӏе.com $\to$ apple.com).
  3. Verification: It compares the normalized result against the provided --target-domain to confirm if a brand impersonation has occurred.

About

PunycodeURL-Detector | A robust Python script for detecting Homograph Phishing attacks by decoding Punycode and checking for visual impersonation of target domains using extensive homoglyph mapping.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages