1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
|
<pre>Internet Engineering Task Force (IETF) R. Winter
Request for Comments: 8386 University of Applied Sciences Augsburg
Category: Informational M. Faath
ISSN: 2070-1721 Conntac GmbH
F. Weisshaar
University of Applied Sciences Augsburg
May 2018
<span class="h1">Privacy Considerations for</span>
<span class="h1">Protocols Relying on IP Broadcast or Multicast</span>
Abstract
A number of application-layer protocols make use of IP broadcast or
multicast messages for functions such as local service discovery or
name resolution. Some of these functions can only be implemented
efficiently using such mechanisms. When using broadcast or multicast
messages, a passive observer in the same broadcast or multicast
domain can trivially record these messages and analyze their content.
Therefore, designers of protocols that make use of broadcast or
multicast messages need to take special care when designing their
protocols.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are candidates for any level of Internet
Standard; see <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8386">https://www.rfc-editor.org/info/rfc8386</a>.
<span class="grey">Winter, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Types and Usage of Broadcast and Multicast .................<a href="#page-4">4</a>
<a href="#section-1.2">1.2</a>. Requirements Language ......................................<a href="#page-5">5</a>
<a href="#section-2">2</a>. Privacy Considerations ..........................................<a href="#page-5">5</a>
<a href="#section-2.1">2.1</a>. Message Frequency ..........................................<a href="#page-5">5</a>
<a href="#section-2.2">2.2</a>. Persistent Identifiers .....................................<a href="#page-6">6</a>
<a href="#section-2.3">2.3</a>. Anticipate User Behavior ...................................<a href="#page-6">6</a>
<a href="#section-2.4">2.4</a>. Consider Potential Correlation .............................<a href="#page-7">7</a>
<a href="#section-2.5">2.5</a>. Configurability ............................................<a href="#page-7">7</a>
<a href="#section-3">3</a>. Operational Considerations ......................................<a href="#page-8">8</a>
<a href="#section-4">4</a>. Summary .........................................................<a href="#page-8">8</a>
<a href="#section-5">5</a>. Other Considerations ............................................<a href="#page-9">9</a>
<a href="#section-6">6</a>. IANA Considerations ............................................<a href="#page-10">10</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-10">10</a>
<a href="#section-8">8</a>. References .....................................................<a href="#page-10">10</a>
<a href="#section-8.1">8.1</a>. Normative References ......................................<a href="#page-10">10</a>
<a href="#section-8.2">8.2</a>. Informative References ....................................<a href="#page-10">10</a>
Acknowledgments ...................................................<a href="#page-13">13</a>
Authors' Addresses ................................................<a href="#page-13">13</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Broadcast and multicast messages have a large (and, to the sender,
unknown) receiver group by design. Because of that, these two
mechanisms are vital for a number of basic network functions such as
autoconfiguration and link-layer address lookup. Also, application
developers use broadcast/multicast messages to implement things such
as local service or peer discovery. It appears that an increasing
number of applications make use of it as suggested by experimental
results obtained on campus networks, including the IETF meeting
network [<a href="#ref-TRAC2016" title=""How Broadcast Data Reveals Your Identity and Social Graph"">TRAC2016</a>]. This trend is not entirely surprising. As
<span class="grey">Winter, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
[<a id="ref-RFC919">RFC919</a>] puts it, "The use of broadcasts [...] is a good base for
many applications". Broadcast and multicast functionality in a
subnetwork is therefore important because a lack thereof renders the
protocols relying on these mechanisms inoperable [<a href="./rfc3819" title=""Advice for Internet Subnetwork Designers"">RFC3819</a>].
Using broadcast/multicast can become problematic if the information
that is being distributed can be regarded as sensitive or if the
information that is distributed by multiple protocols can be
correlated in a way that sensitive data can be derived. This is
clearly true for any protocol, but broadcast/multicast is special in
at least two respects:
(a) The aforementioned large receiver group consists of receivers
unknown to the sender. This makes eavesdropping without special
privileges or a special location in the network trivial for
anybody in the same broadcast/multicast domain.
(b) Encryption is difficult when broadcast/multicast messages are
used, because, for instance, a non-trivial key management
protocol might be required. When encryption is not used, the
content of these messages is easily accessible, making it easy
to spoof and replay them.
Given the above, privacy protection for protocols based on broadcast
or multicast communication is significantly more difficult compared
to unicast communication, and at the same time, invasion of privacy
is much easier.
Privacy considerations for IETF-specified protocols have received
some attention in the recent past (e.g., [<a href="./rfc7721" title=""Security and Privacy Considerations for IPv6 Address Generation Mechanisms"">RFC7721</a>] and [<a href="./rfc7819" title=""Privacy Considerations for DHCP"">RFC7819</a>]).
There is also general guidance available for document authors on when
and how to include a privacy considerations section in their
documents and on how to evaluate the privacy implications of Internet
protocols [<a href="./rfc6973" title=""Privacy Considerations for Internet Protocols"">RFC6973</a>]. <a href="./rfc6973">RFC 6973</a> also describes potential threats to
privacy in great detail and lists terminology that is also used in
this document. In contrast to <a href="./rfc6973">RFC 6973</a>, this document contains a
number of privacy considerations, especially for protocols that rely
on broadcast/multicast, that are intended to reduce the likelihood
that a broadcast- or multicast-based protocol can be misused to
collect sensitive data about devices, users, and groups of users in a
broadcast/multicast domain.
The above-mentioned considerations particularly apply to protocols
designed outside the IETF for two reasons. First, non-standard
protocols will likely not receive operational attention and support
in making them more secure, e.g., what DHCP snooping does for DHCP.
Because these protocols are typically not documented, network
equipment does not provide similar features for them. Second, these
<span class="grey">Winter, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
protocols have been designed in isolation, where a set of
considerations to follow is useful in the absence of a larger
community providing feedback and expertise to improve the protocol.
In particular, carelessly designed protocols that use broadcast/
multicast can break privacy efforts at different layers of the
protocol stack such as Media Access Control (MAC) address or IP
address randomization [<a href="./rfc4941" title=""Privacy Extensions for Stateless Address Autoconfiguration in IPv6"">RFC4941</a>].
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Types and Usage of Broadcast and Multicast</span>
In IPv4, two major types of broadcast addresses exist: limited
broadcast and directed broadcast. <a href="./rfc1812#section-5.3.5">Section 5.3.5 of [RFC1812]</a> defines
limited broadcast as all-ones (255.255.255.255) and defines directed
broadcast as the given network prefix of an IP address and the local
part of all-ones. Broadcast packets are received by all nodes in a
subnetwork. Limited broadcasts never transit a router. The same is
true for directed broadcasts by default, but routers may provide an
option to do this [<a href="./rfc2644" title=""Changing the Default for Directed Broadcasts in Routers"">RFC2644</a>]. IPv6, on the other hand, does not
provide broadcast addresses but relies solely on multicast [<a href="./rfc4291" title=""IP Version 6 Addressing Architecture"">RFC4291</a>].
In contrast to broadcast addresses, multicast addresses represent an
identifier for a set of interfaces that can be a set different from
all nodes in the subnetwork. All interfaces that are identified by a
given multicast address receive packets destined towards that address
and are called a "multicast group". In both IPv4 and IPv6, multiple
pre-defined multicast addresses exist. The ones most relevant for
this document are the ones with subnet scope. For IPv4, an IP prefix
called the "Local Network Control Block" (224.0.0.0/24, defined in
<a href="./rfc5771#section-4">Section 4 of [RFC5771]</a>) is reserved for this purpose. For IPv6, the
relevant multicast addresses are the two All Nodes Addresses, which
every IPv6-capable host is required to recognize as identifying
itself (see <a href="./rfc4291#section-2.7.1">Section 2.7.1 of [RFC4291]</a>).
Typical usage of these addresses includes local service discovery
(e.g., Multicast DNS (mDNS) [<a href="./rfc6762" title=""Multicast DNS"">RFC6762</a>] and Link-Local Multicast Name
Resolution (LLMNR) [<a href="./rfc4795" title=""Link-local Multicast Name Resolution (LLMNR)"">RFC4795</a>] make use of multicast),
autoconfiguration (e.g., DHCPv4 [<a href="./rfc2131" title=""Dynamic Host Configuration Protocol"">RFC2131</a>] uses broadcasts, and DHCPv6
[<a href="./rfc3315" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">RFC3315</a>] uses multicast addresses), and other vital network services
such as address resolution or duplicate address detection. Aside
from these core network functions, applications also make use of
broadcast and multicast functionality, often implementing proprietary
protocols. In sum, these protocols distribute a diverse set of
potentially privacy-sensitive information to a large receiver group,
and the only requirement to be part of this receiver group is to be
on the same subnetwork.
<span class="grey">Winter, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Requirements Language</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] [<a href="./rfc8174" title=""Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"">RFC8174</a>] when, and only when, they appear in all
capitals, as shown here.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Privacy Considerations</span>
There are a few obvious and a few not necessarily obvious things that
designers of protocols utilizing broadcast/multicast should consider
in respect to the privacy implications for their protocol. Most of
these items are based on protocol behavior observed as part of
experiments on operational networks [<a href="#ref-TRAC2016" title=""How Broadcast Data Reveals Your Identity and Social Graph"">TRAC2016</a>].
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Message Frequency</span>
Frequent broadcast/multicast traffic caused by an application can
give away user behavior and online connection times. This allows a
passive observer to potentially deduce a user's current activity
(e.g., a game) and to create an online profile (i.e., times the user
is on the network). This profile becomes more accurate as the
frequency of messages and the time duration over which they are sent
increases. Given that broadcast/multicast messages are only visible
in the same broadcast/multicast domain, these messages also give away
the rough location of the user (e.g., a campus or building).
This behavior has, for example, been observed by a synchronization
mechanism of a popular application, where multiple messages have been
sent per minute via broadcast. Given this behavior, it is possible
to record a device's time on the network with a sub-minute accuracy
given only the traffic of this single application installed on the
device. Also, services used for local name resolution in modern
operating systems utilize broadcast- or multicast-based protocols
(e.g., mDNS, LLMNR, or NetBIOS) to announce, for example, resources
on a regular basis. This also allows tracking of the online times of
a device.
If a protocol relies on frequent or periodic broadcast/multicast
messages, the frequency SHOULD be chosen conservatively, in
particular if the messages contain persistent identifiers (see
<a href="#section-2.2">Section 2.2</a>). Also, intelligent message suppression mechanisms such
as the ones employed in mDNS [<a href="./rfc6762" title=""Multicast DNS"">RFC6762</a>] SHOULD be implemented. The
lower the frequency of broadcast messages, the harder passive traffic
analysis and surveillance becomes.
<span class="grey">Winter, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Persistent Identifiers</span>
A few protocols that make use of broadcast/multicast messages
observed in the wild also make use of persistent identifiers. This
includes the use of host names or more abstract persistent
identifiers such as a Universally Unique Identifiers (UUIDs) or
similar. These IDs, which, for example, identify the installation of
a certain application, might not change across updates of the
software and can therefore be extremely long lived. This allows a
passive observer to track a user precisely if broadcast/multicast
messages are frequent. This is even true if the IP and/or MAC
address changes. Such identifiers also allow two different
interfaces (e.g., Wi-Fi and Ethernet) to be correlated to the same
device. If the application makes use of persistent identifiers for
multiple installations of the same application for the same user,
this even allows a passive observer to infer that different devices
belong to the same user.
The aforementioned broadcast messages from a synchronization
mechanism of a popular application also included a persistent
identifier in every broadcast. This identifier never changed after
the application was installed, which allowed for the tracking of a
device even when it changed its network interface or when it
connected to a different network.
In general, persistent IDs are considered bad practice for broadcast
and multicast communication, as persistent application-layer IDs will
make efforts to randomize identifiers (e.g., [<a href="#ref-RANDOM-ADDR">RANDOM-ADDR</a>]) on lower
layers useless. When protocols that make use of broadcast/multicast
need to make use of IDs, these IDs SHOULD be rotated frequently to
make user tracking more difficult.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Anticipate User Behavior</span>
A large number of users name their device after themselves, either
using their first name, last name, or both. Often, a host name
includes the type, model, or maker of a device, its function, or
language-specific information. Based on data gathered during
experiments performed at IETF meetings and at a large campus network,
this appears to be the currently prevalent user behavior [<a href="#ref-TRAC2016" title=""How Broadcast Data Reveals Your Identity and Social Graph"">TRAC2016</a>].
For protocols using the host name as part of the messages, this
clearly will reveal personally identifiable information to everyone
on the local network. This information can also be used to mount
more sophisticated attacks, e.g., when the owner of a device is
identified (as an interesting target) or properties of the device are
known (e.g., known vulnerabilities). Host names are also a type of
persistent identifier; therefore, the considerations in <a href="#section-2.2">Section 2.2</a>
apply.
<span class="grey">Winter, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
Some of the most commonly used operating systems include the name the
user chooses for the user account during the installation process as
part of the host name of the device. The name of the operating
system can also be included, therefore revealing two pieces of
information that can be regarded as private information if the host
name is used in broadcast/multicast messages.
Where possible, the use of host names and other user-provided
information in protocols making use of broadcast/multicast SHOULD be
avoided. An application might want to display the information it
will broadcast on the LAN at install/config time, so that the user is
at least aware of the application's behavior. More host name
considerations can be found in [<a href="./rfc8117" title=""Current Hostname Practice Considered Harmful"">RFC8117</a>]. More information on user
participation can be found in [<a href="./rfc6973" title=""Privacy Considerations for Internet Protocols"">RFC6973</a>].
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Consider Potential Correlation</span>
A large number of services and applications make use of the
broadcast/multicast mechanism. That means there are various sources
of information that are easily accessible by a passive observer. In
isolation, the information these protocols reveal might seem
harmless, but given multiple such protocols, it might be possible to
correlate this information. For example, a protocol that uses
frequent messages including a UUID to identify the particular
installation does not give away the identity of the user. However, a
single message including the user's host name might do that, and it
can be correlated using, for example, the MAC address of the device's
interface.
In the experiments described in [<a href="#ref-TRAC2016" title=""How Broadcast Data Reveals Your Identity and Social Graph"">TRAC2016</a>], it was possible to
correlate frequently sent broadcast messages that included a unique
identifier with other broadcast/multicast messages containing
usernames (e.g. mDNS, LLMNR, or NetBIOS); this revealed relationships
among users. This allowed the real identity of the users of many
devices to be revealed, and it also gave away some information about
their social environment.
A designer of a protocol that makes use of broadcast/multicast needs
to be aware of the fact that even if the information a protocol leaks
seems harmless in isolation, there might be ways to correlate that
information with information from other protocols to reveal sensitive
information about a user.
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Configurability</span>
A lot of applications and services relying on broadcast- or
multicast-based protocols do not include the means to declare "safe"
environments (e.g., based on the Service Set Identifier (SSID) of a
<span class="grey">Winter, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
Wi-Fi network and the MAC addresses of the access points). For
example, a device connected to a public Wi-Fi network will likely
broadcast the same information as when connected to the home network.
It would be beneficial if certain behaviors could be restricted to
"safe" environments.
For example, a popular operating system allows the user to specify
the trust level of the network the device connects to, which, for
example, restricts specific system services (using broadcast/
multicast messages for their normal operation) to be used in trusted
networks only. Such functionality could be implemented as part of an
application.
An application developer making use of broadcast/multicast messages
as part of the application SHOULD, if possible, make the broadcast
feature configurable so that potentially sensitive information does
not leak on public networks where the threat to privacy is much
larger.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Operational Considerations</span>
Besides changing end-user behavior, choosing sensible defaults as an
operating system vendor (e.g., for suggesting host names), and
following the considerations for protocol designers mentioned in this
document, there is something that the network administrators/
operators can do to limit the above-mentioned problems.
A feature commonly found on access points is the ability to manage/
filter broadcast and multicast traffic. This will potentially break
certain applications or some of their functionality but will also
protect the users from potentially leaking sensitive information.
Wireless access points often provide finer-grained control beyond a
simple on/off switch for well-known protocols or provide mechanisms
to manage broadcast/multicast traffic intelligently using, for
example, proxies (see [<a href="#ref-MCAST-CONS">MCAST-CONS</a>]). However, these mechanisms only
work on standardized protocols.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Summary</span>
Increasingly, applications rely on protocols that send and receive
broadcast and multicast messages. For some, broadcast/multicast
messages are the basis of their application logic; others use
broadcast/multicast messages to improve certain aspects of the
application but are fully functional in case broadcast/multicast
messages fail. Irrespective of the role of broadcast and multicast
messages for the application, the designers of protocols that make
use of them should be very careful in their protocol design because
of the special nature of broadcast and multicast.
<span class="grey">Winter, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
It is not always possible to implement certain functionality via
unicast, but if a protocol designer chooses to rely on broadcast/
multicast, the following should be carefully considered:
o IETF-specified protocols, such as mDNS [<a href="./rfc6762" title=""Multicast DNS"">RFC6762</a>], SHOULD be used
if possible as operational support might exist to protect against
the leakage of private information. Also, for some protocols,
privacy extensions are being specified; these can be used if
implemented. For example, for DNS-SD, privacy extensions are
documented in [<a href="#ref-DNSSD-PRIV">DNSSD-PRIV</a>].
o Using user-specified information inside broadcast/multicast
messages SHOULD be avoided, as users will often use personal
information or other information that aids attackers, in
particular if the user is unaware about how that information is
being used.
o The use of persistent IDs in messages SHOULD be avoided, as this
allows user tracking and correlation, and it potentially has a
devastating effect on other privacy-protection mechanisms.
o If one must design a new protocol relying on broadcast/multicast
and cannot use an IETF-specified protocol, then:
* the protocol SHOULD be very conservative in how frequently it
sends messages as an effort in data minimization,
* it SHOULD make use of mechanisms implemented in IETF-specified
protocols that can be helpful in privacy protection, such as
message suppression in mDNS,
* it SHOULD be designed in such a way that information sent in
broadcast/multicast messages cannot be correlated with
information from other protocols using broadcast/multicast, and
* it SHOULD be possible to let the user configure "safe"
environments if possible (e.g., based on the SSID) to minimize
the risk of information leakage (e.g., a home network as
opposed to a public Wi-Fi network).
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Other Considerations</span>
Besides privacy implications, frequent broadcasting also represents a
performance problem. In particular, in certain wireless technologies
such as 802.11, broadcast and multicast are transmitted at a much
lower rate (the lowest common denominator rate) compared to unicast
and therefore have a much bigger impact on the overall available
airtime [<a href="#ref-MCAST-CONS">MCAST-CONS</a>]. Further, it will limit the ability for devices
<span class="grey">Winter, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
to go to sleep if frequent broadcasts are being sent. A similar
problem in respect to Router Advertisements is addressed in
[<a href="./rfc7772" title=""Reducing Energy Consumption of Router Advertisements"">RFC7772</a>]. In that respect, broadcast/multicast can be used for
another class of attacks that is not related to privacy. The
potential impact on network performance should nevertheless be
considered when designing a protocol that makes use of broadcast/
multicast.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
This document has no IANA actions.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
This document deals with privacy-related considerations for
broadcast- and multicast-based protocols. It contains advice for
designers of such protocols to minimize the leakage of privacy-
sensitive information. The intent of the advice is to make sure that
identities will remain anonymous and user tracking will be made
difficult.
To protect multicast traffic, certain applications can make use of
existing mechanisms, such as the ones defined in [<a href="./rfc5374" title=""Multicast Extensions to the Security Architecture for the Internet Protocol"">RFC5374</a>]. Examples
of such applications can be found in <a href="./rfc5374#appendix-A">Appendix A of [RFC5374]</a>.
However, given the assumptions about these applications and the
required security infrastructure, many applications will not be able
to make use of such mechanisms.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC8174">RFC8174</a>] Leiba, B., "Ambiguity of Uppercase vs Lowercase in <a href="./rfc2119">RFC</a>
<a href="./rfc2119">2119</a> Key Words", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc8174">RFC 8174</a>, DOI 10.17487/RFC8174,
May 2017, <<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>>.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-DNSSD-PRIV">DNSSD-PRIV</a>]
Huitema, C. and D. Kaiser, "Privacy Extensions for DNS-
SD", Work in Progress, <a href="./draft-ietf-dnssd-privacy-04">draft-ietf-dnssd-privacy-04</a>, April
2018.
<span class="grey">Winter, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
[<a id="ref-MCAST-CONS">MCAST-CONS</a>]
Perkins, C., McBride, M., Stanley, D., Kumari, W., and J.
Zuniga, "Multicast Considerations over IEEE 802 Wireless
Media", Work in Progress, <a href="./draft-ietf-mboned-ieee802-mcast-problems-01">draft-ietf-mboned-ieee802-mcast-</a>
<a href="./draft-ietf-mboned-ieee802-mcast-problems-01">problems-01</a>, February 2018.
[<a id="ref-RANDOM-ADDR">RANDOM-ADDR</a>]
Huitema, C., "Implications of Randomized Link Layers
Addresses for IPv6 Address Assignment", Work in Progress,
<a href="./draft-huitema-6man-random-addresses-03">draft-huitema-6man-random-addresses-03</a>, March 2016.
[<a id="ref-RFC919">RFC919</a>] Mogul, J., "Broadcasting Internet Datagrams", STD 5,
<a href="./rfc919">RFC 919</a>, DOI 10.17487/RFC0919, October 1984,
<<a href="https://www.rfc-editor.org/info/rfc919">https://www.rfc-editor.org/info/rfc919</a>>.
[<a id="ref-RFC1812">RFC1812</a>] Baker, F., Ed., "Requirements for IP Version 4 Routers",
<a href="./rfc1812">RFC 1812</a>, DOI 10.17487/RFC1812, June 1995,
<<a href="https://www.rfc-editor.org/info/rfc1812">https://www.rfc-editor.org/info/rfc1812</a>>.
[<a id="ref-RFC2131">RFC2131</a>] Droms, R., "Dynamic Host Configuration Protocol",
<a href="./rfc2131">RFC 2131</a>, DOI 10.17487/RFC2131, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2131">https://www.rfc-editor.org/info/rfc2131</a>>.
[<a id="ref-RFC2644">RFC2644</a>] Senie, D., "Changing the Default for Directed Broadcasts
in Routers", <a href="https://www.rfc-editor.org/bcp/bcp34">BCP 34</a>, <a href="./rfc2644">RFC 2644</a>, DOI 10.17487/RFC2644,
August 1999, <<a href="https://www.rfc-editor.org/info/rfc2644">https://www.rfc-editor.org/info/rfc2644</a>>.
[<a id="ref-RFC3315">RFC3315</a>] Droms, R., Ed., Bound, J., Volz, B., Lemon, T., Perkins,
C., and M. Carney, "Dynamic Host Configuration Protocol
for IPv6 (DHCPv6)", <a href="./rfc3315">RFC 3315</a>, DOI 10.17487/RFC3315, July
2003, <<a href="https://www.rfc-editor.org/info/rfc3315">https://www.rfc-editor.org/info/rfc3315</a>>.
[<a id="ref-RFC3819">RFC3819</a>] Karn, P., Ed., Bormann, C., Fairhurst, G., Grossman, D.,
Ludwig, R., Mahdavi, J., Montenegro, G., Touch, J., and L.
Wood, "Advice for Internet Subnetwork Designers", <a href="https://www.rfc-editor.org/bcp/bcp89">BCP 89</a>,
<a href="./rfc3819">RFC 3819</a>, DOI 10.17487/RFC3819, July 2004,
<<a href="https://www.rfc-editor.org/info/rfc3819">https://www.rfc-editor.org/info/rfc3819</a>>.
[<a id="ref-RFC4291">RFC4291</a>] Hinden, R. and S. Deering, "IP Version 6 Addressing
Architecture", <a href="./rfc4291">RFC 4291</a>, DOI 10.17487/RFC4291, February
2006, <<a href="https://www.rfc-editor.org/info/rfc4291">https://www.rfc-editor.org/info/rfc4291</a>>.
[<a id="ref-RFC4795">RFC4795</a>] Aboba, B., Thaler, D., and L. Esibov, "Link-local
Multicast Name Resolution (LLMNR)", <a href="./rfc4795">RFC 4795</a>,
DOI 10.17487/RFC4795, January 2007,
<<a href="https://www.rfc-editor.org/info/rfc4795">https://www.rfc-editor.org/info/rfc4795</a>>.
<span class="grey">Winter, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
[<a id="ref-RFC4941">RFC4941</a>] Narten, T., Draves, R., and S. Krishnan, "Privacy
Extensions for Stateless Address Autoconfiguration in
IPv6", <a href="./rfc4941">RFC 4941</a>, DOI 10.17487/RFC4941, September 2007,
<<a href="https://www.rfc-editor.org/info/rfc4941">https://www.rfc-editor.org/info/rfc4941</a>>.
[<a id="ref-RFC5374">RFC5374</a>] Weis, B., Gross, G., and D. Ignjatic, "Multicast
Extensions to the Security Architecture for the Internet
Protocol", <a href="./rfc5374">RFC 5374</a>, DOI 10.17487/RFC5374, November 2008,
<<a href="https://www.rfc-editor.org/info/rfc5374">https://www.rfc-editor.org/info/rfc5374</a>>.
[<a id="ref-RFC5771">RFC5771</a>] Cotton, M., Vegoda, L., and D. Meyer, "IANA Guidelines for
IPv4 Multicast Address Assignments", <a href="https://www.rfc-editor.org/bcp/bcp51">BCP 51</a>, <a href="./rfc5771">RFC 5771</a>,
DOI 10.17487/RFC5771, March 2010,
<<a href="https://www.rfc-editor.org/info/rfc5771">https://www.rfc-editor.org/info/rfc5771</a>>.
[<a id="ref-RFC6762">RFC6762</a>] Cheshire, S. and M. Krochmal, "Multicast DNS", <a href="./rfc6762">RFC 6762</a>,
DOI 10.17487/RFC6762, February 2013,
<<a href="https://www.rfc-editor.org/info/rfc6762">https://www.rfc-editor.org/info/rfc6762</a>>.
[<a id="ref-RFC6973">RFC6973</a>] Cooper, A., Tschofenig, H., Aboba, B., Peterson, J.,
Morris, J., Hansen, M., and R. Smith, "Privacy
Considerations for Internet Protocols", <a href="./rfc6973">RFC 6973</a>,
DOI 10.17487/RFC6973, July 2013,
<<a href="https://www.rfc-editor.org/info/rfc6973">https://www.rfc-editor.org/info/rfc6973</a>>.
[<a id="ref-RFC7721">RFC7721</a>] Cooper, A., Gont, F., and D. Thaler, "Security and Privacy
Considerations for IPv6 Address Generation Mechanisms",
<a href="./rfc7721">RFC 7721</a>, DOI 10.17487/RFC7721, March 2016,
<<a href="https://www.rfc-editor.org/info/rfc7721">https://www.rfc-editor.org/info/rfc7721</a>>.
[<a id="ref-RFC7772">RFC7772</a>] Yourtchenko, A. and L. Colitti, "Reducing Energy
Consumption of Router Advertisements", <a href="https://www.rfc-editor.org/bcp/bcp202">BCP 202</a>, <a href="./rfc7772">RFC 7772</a>,
DOI 10.17487/RFC7772, February 2016,
<<a href="https://www.rfc-editor.org/info/rfc7772">https://www.rfc-editor.org/info/rfc7772</a>>.
[<a id="ref-RFC7819">RFC7819</a>] Jiang, S., Krishnan, S., and T. Mrugalski, "Privacy
Considerations for DHCP", <a href="./rfc7819">RFC 7819</a>, DOI 10.17487/RFC7819,
April 2016, <<a href="https://www.rfc-editor.org/info/rfc7819">https://www.rfc-editor.org/info/rfc7819</a>>.
[<a id="ref-RFC8117">RFC8117</a>] Huitema, C., Thaler, D., and R. Winter, "Current Hostname
Practice Considered Harmful", <a href="./rfc8117">RFC 8117</a>,
DOI 10.17487/RFC8117, March 2017,
<<a href="https://www.rfc-editor.org/info/rfc8117">https://www.rfc-editor.org/info/rfc8117</a>>.
<span class="grey">Winter, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8386">RFC 8386</a> Broadcast/Multicast Privacy Considerations May 2018</span>
[<a id="ref-TRAC2016">TRAC2016</a>] Faath, M., Weisshaar, F., and R. Winter, "How Broadcast
Data Reveals Your Identity and Social Graph", Wireless
Communications and Mobile Computing Conference
(IWCMC), International Workshop on TRaffic Analysis and
Characterization (TRAC), DOI 10.1109/IWCMC.2016.7577084,
September 2016.
Acknowledgments
We would like to thank Eliot Lear, Joe Touch, and Stephane Bortzmeyer
for their valuable input to this document.
This work was partly supported by the European Commission under grant
agreement FP7-318627 mPlane. Support does not imply endorsement.
Authors' Addresses
Rolf Winter
University of Applied Sciences Augsburg
Augsburg
Germany
Email: rolf.winter@hs-augsburg.de
Michael Faath
Conntac GmbH
Augsburg
Germany
Email: faath@conntac.net
Fabian Weisshaar
University of Applied Sciences Augsburg
Augsburg
Germany
Email: fabian.weisshaar@hs-augsburg.de
Winter, et al. Informational [Page 13]
</pre>
|