[Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines

"Tschofenig, Hannes" <hannes.tschofenig@h-brs.de> Mon, 28 July 2025 12:42 UTC

Return-Path: <hannes.tschofenig@h-brs.de>
X-Original-To: iotops@mail2.ietf.org
Delivered-To: iotops@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 2D6634C25E16 for <iotops@mail2.ietf.org>; Mon, 28 Jul 2025 05:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=h-brs.de
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CwQgCt1-eXh9 for <iotops@mail2.ietf.org>; Mon, 28 Jul 2025 05:42:16 -0700 (PDT)
Received: from mx03.h-brs.de (mx03.h-brs.de [194.95.62.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 8B1B54C25E02 for <iotops@ietf.org>; Mon, 28 Jul 2025 05:42:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=h-brs.de; i=@h-brs.de; q=dns/txt; s=20240830; t=1753706535; x=1785242535; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=YRJK2f9LN67odCdHYAxlHPvyJO6Q8YG3VS61rbtBq6U=; b=W12rBTwnVoZd6yQSAY4wTDmC0LihIv5/LibN67t2ymcHTH8iwG8SG5P7 T01YBo65QlQNiebudJdO4Zg5WC3ugGlprbIqumaZIrwa1Rv7GIuCfMMRf rx1/vIItZ1jayospafE9d32vurJzAL9AUhxwCrc9FJ1S0jurHQ8xZPJla xwRJYbHi//l5rh8w+tbGflc+73b4iy2ciK5admLlxmO9xaQN3p6fe3LzR YZy+g8MeYTLmBISa8AexDdg7EeDtGjr1j+Gi9IcCm4Yn6fWo210VsYeqC 9vhJ3u24bHANQMI7431LaWWUVgj8P7oVL2q0YDGVhefALR3mvdtM63zfE Q==;
X-CSE-ConnectionGUID: tjhP7pXoRzKhAbS0IGnQIQ==
X-CSE-MsgGUID: DB0wqVB0SQWeXeFI92EB2Q==
X-ThreatScanner-Verdict: Negative
X-IronPort-AV: E=Sophos;i="6.16,339,1744063200"; d="scan'208,217";a="2619867"
X-Amp-Result: SKIPPED(no attachment in message)
Received: from unknown (HELO ex4.h-brs.local) ([10.122.5.14]) by mx03.h-brs.de with ESMTP; 28 Jul 2025 14:42:14 +0200
Received: from ex1.h-brs.local (10.122.5.11) by ex4.h-brs.local (10.122.5.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.26; Mon, 28 Jul 2025 14:42:13 +0200
Received: from ex1.h-brs.local ([fe80::c833:6932:4550:df9b]) by ex1.h-brs.local ([fe80::c833:6932:4550:df9b%10]) with mapi id 15.02.1748.026; Mon, 28 Jul 2025 14:42:13 +0200
From: "Tschofenig, Hannes" <hannes.tschofenig@h-brs.de>
To: "Tschofenig, Hannes" <hannes.tschofenig@h-brs.de>, Abhishek Mishra <abhishek.mishra@inria.fr>
Thread-Topic: [Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines
Thread-Index: AQHb/UmguO9C6R8KQUqpkH1GG0kvYrRHbb1QgAAPhQA=
Date: Mon, 28 Jul 2025 12:42:13 +0000
Message-ID: <dec0cd60cde4464aa005675772d822e0@h-brs.de>
References: <7e98cad2-d7c5-4163-8867-0cfa86e26c3e@h-brs.de> <LV8PR07MB101431DB911C64203AC1BA943C05EA@LV8PR07MB10143.namprd07.prod.outlook.com> <1457461323.81811903.1753437058354.JavaMail.zimbra@inria.fr> <71104add3e1c4aaaaa09e3bf3daa3c28@h-brs.de>
In-Reply-To: <71104add3e1c4aaaaa09e3bf3daa3c28@h-brs.de>
Accept-Language: en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [194.95.62.10]
Content-Type: multipart/alternative; boundary="_000_dec0cd60cde4464aa005675772d822e0hbrsde_"
MIME-Version: 1.0
Message-ID-Hash: XQ4SIZXMR56YHFFI6W7QESS2PGJ65OIP
X-Message-ID-Hash: XQ4SIZXMR56YHFFI6W7QESS2PGJ65OIP
X-MailFrom: hannes.tschofenig@h-brs.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Jim Mozley <jmozley=40infoblox.com@dmarc.ietf.org>, "iotops@ietf.org" <iotops@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines
List-Id: IOT Operations <iotops.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/iotops/vKYvE3Ao9Mt-3qyg6Iu4R5_SB7Q>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iotops>
List-Help: <mailto:iotops-request@ietf.org?subject=help>
List-Owner: <mailto:iotops-owner@ietf.org>
List-Post: <mailto:iotops@ietf.org>
List-Subscribe: <mailto:iotops-join@ietf.org>
List-Unsubscribe: <mailto:iotops-leave@ietf.org>

One other point: I think it would be helpful to describe the specific privacy threat you are concerned about in the draft. From the discussion so far, it seems the main issue is that an entity on the communication path between the IoT device and the ISP can observe the DNS queries being made. You appear to assume that the ISP is trustworthy, since the device is using its DNS resolver. Is that correct?

You are also assuming that the combination of the source IP address and the DNS query itself reveals meaningful information to an observer. But in many cases, especially with constrained IoT devices, there is very little variability in network behavior. These devices typically connect to only a small number of servers, often just their device management server.

Ciao
Hannes

Von: Tschofenig, Hannes <hannes.tschofenig@h-brs.de>
Gesendet: Montag, 28. Juli 2025 13:44
An: Abhishek Mishra <abhishek.mishra@inria.fr>
Cc: Jim Mozley <jmozley=40infoblox.com@dmarc.ietf.org>; iotops@ietf.org
Betreff: [Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines

Hi Abhishek,

I believe you also need to add an applicability statement because your research has focused on smart home devices where you believe that privacy is impacted using plaintext DNS. While I personally do not believe that this is the most important privacy concern in a smart home environment, I can follow the logic of your research.

A large part of IoT usage is, however, in industrial IoT and there the notion of personal data is not applicable. It would be important to point this out.

Ciao
Hannes

Von: Abhishek Mishra <abhishek.mishra@inria.fr<mailto:abhishek.mishra@inria.fr>>
Gesendet: Freitag, 25. Juli 2025 11:51
An: Tschofenig, Hannes <hannes.tschofenig@h-brs.de<mailto:hannes.tschofenig@h-brs.de>>
Cc: Jim Mozley <jmozley=40infoblox.com@dmarc.ietf.org<mailto:jmozley=40infoblox.com@dmarc.ietf.org>>; iotops@ietf.org<mailto:iotops@ietf.org>
Betreff: Re: [Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines

Hi Hannes,

Thank you for your thoughtful comments and for raising important points during the IOTOPS WG session. To follow up:

Clarifying the Goals of the BCP:
The primary goal of this BCP is to provide operational guidance to IoT device manufacturers and network operators regarding DNS usage in IoT environments. This includes surfacing known misconfigurations, highlighting security and privacy risks, and recommending practices that improve resilience and interoperability. We are not proposing/altering any new or existing protocols, but rather encouraging adoption of existing standards (e.g., DoT, DoH, DNSSEC, etc.) in a way that is feasible/necessary for current IoT deployments.

On Privacy Threats and Their Scope:
You rightly point out that encrypted DNS in isolation does not fully prevent user or device tracking. We agree, and the draft currently focuses on mitigating passive network observation and spoofing at the DNS layer. Device fingerprinting through behavioral patterns, TLS metadata (e.g., unencrypted SNI), or other channels remains a broader and more complex problem. We intend to clarify that the privacy goals here are narrowly scoped to DNS query confidentiality and integrity. We are aware of padding as a possible mitigation through our prior research which Martine also pointed out and have discussed that in the draft.
We will also take your suggestion to refer to RFC 6973 for privacy terminology explicitly.

DNS Attacks in TLS-Protected Contexts:
Your point about reassessing the practical threat model for DNS in TLS-protected IoT communications is well taken. We believe DNS remains a relevant attack vector because:
i) DNS resolution often precedes the establishment of encrypted channels.
ii) Manipulated or spoofed DNS responses can redirect IoT devices to malicious endpoints before a secure session begins at startup only.
iii) Weak or misconfigured DNS resolvers can expose sensitive operational metadata.
That said, we agree this needs to be better contextualized in the draft BCP.

Thanks again for your input – we’ll work on incorporating these clarifications.

Best regards,
 Abhishek

________________________________
From: "Jim Mozley" <jmozley=40infoblox.com@dmarc.ietf.org<mailto:jmozley=40infoblox.com@dmarc.ietf.org>>
To: "Hannes Tschofenig" <hannes.tschofenig@h-brs.de<mailto:hannes.tschofenig@h-brs.de>>, iotops@ietf.org<mailto:iotops@ietf.org>
Sent: Friday, 25 July, 2025 10:41:37
Subject: [Iotops] Re: Encrypted DNS and draft-mishra-iotops-iot-dns-guidelines
On 24/07/2025, 13:59, "Hannes Tschofenig" <hannes.tschofenig@h-brs.de<mailto:hannes.tschofenig@h-brs.de>> wrote:
Hi all,

I would like to follow up on the discussion from the IETF IOTOPS WG
meeting regarding draft-mishra-iotops-iot-dns-guidelines and the role of
encrypted DNS in IoT deployments.

[JM] Thanks for taking the time to follow up 😊

As I mentioned at the microphone, we need to be more precise about the
privacy properties we aim to achieve. There is a good IAB document (IETF
RFC 6973) that defines terminology, which could be re-used.
Encrypted DNS alone offers limited protection if the TLS Client Hello
remains unencrypted since the SNI still reveals the target server. This
is especially relevant if the goal is to conceal the FQDN the IoT device
is attempting to connect to.

[JM] The IoT device would be contacting the network resolver over DoT/Q/H to resolve the FQDN rather than the contacting the FQDN itself. The device would use whatever protocol it normally uses to communicate with the FQDN once it acquires an IP address. So if it used ECH it could do so, assuming the target device supported it. As a BCP the draft is not changing anything in protocol terms. I hope I understood your comment above in replying.

After checking, I noticed that WolfSSL already supports Encrypted Client
Hello. Congrats to them!
That said, even the combination of Encrypted DNS and Encrypted Client
Hello may not be sufficient to prevent device fingerprinting, depending
on how the fingerprinting is performed.

[JM] Some of the devices tested by the research team could be identified by the frequency and DNS qnames, using DoT/Q/H would encrypt the qnames when communicating with the resolver.

The point raised during the meeting that a "toaster" can be linked to a
household is valid. However, an ISP can already associate devices to
households based on IP addresses, independently of DNS. Whether such
information is actually useful in practice remains an open question.

[JM] Any communication across the ISP network to a specific IP could be associated with whatever services are known to be running on that IP and hence associated with the household. This BCP does not change that. We should clarify the scope of privacy in the BCP.

A valuable discussion point would be whether, and under what conditions,
attacks on DNS constitute a real threat to IoT devices, especially when
their communication channels are protected by TLS, DTLS, or similar
protocols.
Finally, I would be interested in exploring how the work in the DANCE
working group might relate to this draft.

[JM] We haven’t considered DANCE during development of the draft. We do want to add more on discovery of network-designated resolvers (DNR) RFC9463 related to the devices finding encrypted DNS servers.

Once again thanks for your time in providing feedback.

Cheers, Jim


--
Iotops mailing list -- iotops@ietf.org<mailto:iotops@ietf.org>
To unsubscribe send an email to iotops-leave@ietf.org<mailto:iotops-leave@ietf.org>