Join our Newsletter — 33% off our NHI Course

Why does DNS tunneling still slip past allow-lists?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: High-entropy queries, deep subdomains and TXT or NULL records are the signals Wazuh points to for spotting covert DNS traffic, according to Wazuh. DNS logging and correlation need enough context to separate normal lookups from hidden transport.

Editorial analysis by NHI Mgmt Group, based on content published by Wazuh: “Detecting DNS tunneling attacks with Wazuh”.

Key questions

Q: Why does DNS tunneling create command-and-control risk as well as exfiltration risk?

A: DNS tunneling can move both outbound data and inbound instructions through a channel that is normally trusted for name resolution.

Q: What are the signs that DNS tunneling detection is too weak?

A: Common signs include long random-looking subdomains, repeated queries to the same suspicious domain, excessive request volume from one host and unusual TXT or NULL records.

Q: What fails when DNS traffic is only allow-listed instead of inspected?

A: Allow-listing alone fails when attackers hide encoded commands or data inside permitted DNS queries and responses.

Practitioner guidance

  • Inspect DNS for behavioural anomalies Monitor query entropy, label depth, frequency and record type together so detections reflect the full tunneling pattern rather than one noisy symptom.
  • Capture DNS traffic at the endpoint Use host-level packet capture or equivalent telemetry on key systems so covert DNS activity is visible before it is flattened by upstream logging.
  • Tune detection rules for compound indicators Require at least two suspicious DNS characteristics before raising a high-confidence alert, then prioritise the strongest combinations for triage.

Bottom line: DNS tunneling exploits the trust that many networks still place in permitted DNS traffic, which makes behavioural inspection essential.

Glossary terms: DNS Tunneling, High Entropy Query, Deep Subdomain Structure, Suspicious Record Type

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

DNS visibility is now a governance control, not just an operations concern. DNS is often treated as background infrastructure, but that assumption fails when the same channel can transport commands and data out of the environment. Security teams need to regard DNS inspection as part of detection governance, because blind trust in permitted traffic creates a standing concealment path for adversaries. The practitioner conclusion is simple: if DNS is not inspected behaviourally, it is not controlled.

A few things that frame the scale:

  • 43% of security professionals are concerned about AI systems learning and reproducing sensitive information patterns from codebases, according to the State of Secrets in AppSec.

A question worth separating out:

Q: How should security teams balance DNS visibility with operational noise?

A: Treat DNS visibility as a layered control problem. Start with endpoint or network capture, normalise the fields you need for analysis, then use combined indicators to reduce false positives. The goal is not to alert on every odd lookup, but to identify the subset of DNS activity that looks like covert transport.

👉 Read our full editorial: DNS tunneling detection shows why DNS visibility still matters



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.