[ipv6hackers] Fwd: Stable privacy addresses (upcoming rev)

Fernando Gont fgont at si6networks.com
Wed Mar 28 20:24:30 CEST 2012


Folks,

This might be of interest to you. It is about the presentation of our
IETF I-D
<http://tools.ietf.org/id/draft-gont-6man-stable-privacy-addresses-00.txt>
at the 6man wg meeting of IETF 83 (currently taking place in Paris).

Thanks,
Fernando




-------- Original Message --------
Subject: Stable privacy addresses (upcoming rev)
Date: Wed, 28 Mar 2012 17:53:29 +0200
From: Fernando Gont <fgont at si6networks.com>
Organization: SI6 Networks
To: ipv6 at ietf.org <ipv6 at ietf.org>

Folks,

Probably the only objection that I got for
draft-gont-6man-stable-privacy-addresses is that the prefix shouldn't be
included in F() (the hash function).

I'd like to clarify the motivation for that, and also trigger some
discussion on the topic such that I can produce a revision of this
docuement that addresses any remaining concerns.


* Motivation for including the SLAAC Prefix in F() (the hash function)

The essential rationale for including the prefix in the hash function is
that, if we don't, then we'd be leaking more information than we should.

If we don't include the prefix as part of the data to be hashed, then
the Interface-ID will be exactly the same no matter whether the devices
moves from one network to another, and hence the node could be tracked,
even if it implements RFC 4941.

For example, think about the following scenario:

Attack scenario #1

A host configures the stable addresses without including the Prefix in
the hash function. Let's say the host employs any application that needs
to perform a server-like function (P2P, or whatever). As a result of
that, an attacker attacker participating in that application (e.g., P2P)
would learn the Interface-ID used for the stable address.

Now the same host moves to a completely different network, and uses the
same P2P application, probably even with a different user. The attacker
now interacts with the same node again, and hence can learn the "new"
stable address. Since the interface ID is the same as the one above, he
can infer that it is communicating with the same device as before.

Had the host included the Prefix when computing the Interface-ID (with
the hash function F()), the Interface-ID would have been different, and
this wouldn't have been made possible.

This is just *one* possible attack scenario, which should remind us that
one shouldn't disclose more than it is really needed (and a static
Interface-ID across many different networks does exactly that).


* Use of draft-gont-6man-stable-privacy-addresses without RFC 4941

Temporary addresses are painful to manage. They make painful to
correlate the activities of your own nodes. FOr example, one host gets
infeceted will malware, you logged the IPv6 address, but then you don't
know which node was using that address at that point in time.

This is the reason for which in many deployments temporary addresses
(RFC 4941) are disabled (e.g., look at any presentation by Ron Broersma).

When you disable temporary addresses, all you're left with is whatever
stable addresses your host uses. If you don't include the Prefix in F()
(the hash function) then, while you may be resistant to host scanning
attacks (your addresses is not predictable anymore), you're still
trackable, since your interface ID doesn't change as you move from one
network to another.

So yes, there are cases in which you may want privacy, without
necessarily be willing to deal with the burden of temporary addresses.
And if you're just going to have stable addresses, you do not really
want the Interface ID to be constant across networks.


* Concerns about CPU impact

Other folks have expressed concerns (in corridor meetings) that if the
Prefix is included in the hash function, they may need to recompute the
hash every time they attach to a network (assuming the SLAAC prefix
changes), and that would be expensive. I personally think this shouldn't
be an issue for most implementations (for instance, we do MD5 for every
single new TCP connection! -- see RFC 6528). And, in any case, we do not
really specify which hash function to use. -- If you're concerned about
CPU, you may want to use a (CPU-wise) cheaper function.

That said, I'd have no problem with making the inclusion of the Prefix a
SHOULD (i.e., do it, unless you have very good reasons not to do so
(such as CPU-constraints)), or even a MAY (if inclusion of the Prefix in
the hash function turns out to be the show-stopper here).


If you have any feedback/comments, I'd be glad to hear. I'm planning to
rev the document asap, clarifying and incorporating many of the things
explained throughout this e-mail. So if you send your feedback shortly,
the next rev could reflect your comments.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont at si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492






More information about the Ipv6hackers mailing list