Skip to main content
rp1996
Staff
Staff
September 16, 2025

Technical Tip: How to block all IDN domains to prevent homograph attacks

  • September 16, 2025
  • 0 replies
  • 456 views
Description This article describes how to block all IDN domains using a static filter to prevent homograph attacks. 
Scope FortiGate.
Solution

An IDN (Internationalized Domain Name) is a domain name that contains characters outside the basic English alphabet; instead of being limited to ASCII, it allows users to register domains in the native languages of the users. 

 

Attackers, however, can register look-alike domains to trick users into visiting a trusted website. 

 

Examples: https://google.comノindex.biz/ (Sample website maintained by SANS).

 

In the  Web-Filter profile, navigate to 'Static URL Filter', enable 'URL Filter', and select 'Create New'.

 

2025-09-12 16_44_17-FortiGate - FW1.png

 2025-09-12 16_45_27-FortiGate - FW1.png

 

In the 'New URL Filter' section, select 'Regular Expression', in the URL field enter the expression '(^|\.)xn--[A-Za-z0-9-]+(\.|$)' as in the screenshot, and set the action to block.                    

 

2025-09-12 16_51_46-FortiGate - FW1.png

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!