# How to Detect Domain Hiding (a.k.a. as Domain Fronting) | ntop

> Domain fronting is a technique that was used in 2010s by mobile apps to attempt to bypass censorship. The technique relies on a “front” legitimate domain that

[Blog](https://www.ntop.org/blog/)[Cybersecurity](https://www.ntop.org/category/cybersecurity/)[nDPI](https://www.ntop.org/category/ndpi/)

# How to Detect Domain Hiding (a.k.a. as Domain Fronting)

August 19, 20201 min read

[Domain fronting](https://en.wikipedia.org/wiki/Domain_fronting) is a technique that was used in 2010s by mobile apps to attempt to bypass censorship. The technique relies on a “front” legitimate domain that basically acts as a pivot for the forbidden domain. In essence an attacker performs a HTTPS connection where in the DNS (used to resolve the domain name) and TLS SNI the legitimate domain name is used, whereas inside the HTTP connection in the “Host” HTTP header it specifies the forbidden domain

![](/images/2020/08/1CLoW7Yf9Z1OE2NrlMfG14A.webp)

Recently at DEF CON 28 a new tool named [Noctilucent](https://github.com/SixGenInc/Noctilucent) has been demonstrated. This tool revamped the domain fronting technique by exploiting [TLS 1.3 ESNI](https://www.ntop.org/why-behaviour-traffic-analysis-is-good-was-encrypting-tls-1-3-traffic/) (Encrypted SNI) for bypassing censorship. This new tool used ESNI (that is encrypted, contrary to the SNI that is in clear text) to specify a domain name different from the SNI. Example: SNI contains allowed.example, while ESNI (and the HTTP Host header) contains forbidden.example. In essence the ESNI obfuscates the real domain of an HTTPS connection and thus it can be used to circumvent security policies

As the use of ESNI is not yet standard and still experimental, and as nDPI already supports the concept of [security risk](https://www.ntop.org/introducing-ndpi-risk-analysis-for-cybersecurity-network-traffic-analysis-was-ripple20/) used to report potentially dangerous activities (e.g. a suspicious DGA domain or malformed HTTP header), it has been [recently enhanced](https://github.com/ntop/nDPI/pull/973) by adding a new security risk (NDPI\_TLS\_SUSPICIOUS\_ESNI\_USAGE) whenever TLS 1.3 flows use ESNI, as it can [potentially hide information](https://www.zdnet.com/article/china-is-now-blocking-all-encrypted-https-traffic-using-tls-1-3-and-esni/) or potential attacks. Thanks for this security risk mechanism, all applications using nDPI (e.g. ntopng) can immediately detect this problem by simply recompiling them with the latest nDPI library without doing any code change. Of course if your application is used in inline mode, it can also block TLS 1.3 connections using ESNI.

Enjoy!

## Keep reading

ntopngNov 23, 2026

### [Modeling Your Network: Part I](https://www.ntop.org/network-model-intro/)

ntopng is introducing continuous network learning to help administrators close visibility gaps in dynamic networks, starting with a new Server Model feature. Using DPI and historical flow data, the system passively discovers and baselines core servers—alerting operators to unauthorized services, unresponsive hosts, or traffic anomalies while automatically updating network configurations to reduce false-positive security alerts.

CybersecurityNov 20, 2026

### [ntopng 7.0 in Practice: Network Visibility and Security Monitoring with Open Source](https://www.ntop.org/ntopng-7-practice/)

Install ntopng 7.0 on Ubuntu 26.04, set it up, and use Behavioural Checks, blacklists and alerts to spot suspicious traffic and shadow IT.

AINov 7, 2026

### [Sharkfest 26EU: HowTo Detect Stealth VPN and AI Inference Traffic](https://www.ntop.org/sharkfest-26eu-howto-detect-stealth-vpn-and-ai-inference-traffic/)

Earlier this week we have presented at Sharkfest Europe 2026 a presentation of our work about traffic detection of Stealth VPNs and AI Inference. The presentation addresses the challenges of detecting modern obfuscated network traffic, specifically from stealth VPNs and custom/local artificial intel

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/how-to-detect-domain-hiding-a-k-a-as-domain-fronting/