Re: [lisp] Progress on threats document

Ross Callon <rcallon@juniper.net> Thu, 26 February 2015 01:19 UTC

Return-Path: <rcallon@juniper.net>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 567871A90DD for <lisp@ietfa.amsl.com>; Wed, 25 Feb 2015 17:19:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.502
X-Spam-Level:
X-Spam-Status: No, score=-0.502 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aaS-w70Aq1-E for <lisp@ietfa.amsl.com>; Wed, 25 Feb 2015 17:19:55 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0788.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::788]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4AA11A007A for <lisp@ietf.org>; Wed, 25 Feb 2015 17:19:54 -0800 (PST)
Received: from BY1PR0501MB1430.namprd05.prod.outlook.com (25.160.107.152) by BY1PR0501MB1429.namprd05.prod.outlook.com (25.160.107.151) with Microsoft SMTP Server (TLS) id 15.1.93.16; Thu, 26 Feb 2015 01:19:32 +0000
Received: from BY1PR0501MB1430.namprd05.prod.outlook.com ([25.160.107.152]) by BY1PR0501MB1430.namprd05.prod.outlook.com ([25.160.107.152]) with mapi id 15.01.0093.004; Thu, 26 Feb 2015 01:19:32 +0000
From: Ross Callon <rcallon@juniper.net>
To: Damien Saucez <damien.saucez@inria.fr>
Thread-Topic: [lisp] Progress on threats document
Thread-Index: AQHQLnbAifHrWK3PZEqRlsLEylMghpzvp1FwgAawFQCAC/6xIA==
Date: Thu, 26 Feb 2015 01:19:31 +0000
Message-ID: <BY1PR0501MB1430AE00A864DE372DEE89A4A5140@BY1PR0501MB1430.namprd05.prod.outlook.com>
References: <AE9D0CCC-0F9F-4CF8-90C5-F566CD9BDF2F@gigix.net> <BY1PR0501MB1430F71B95E693AA2D80B0F8A5200@BY1PR0501MB1430.namprd05.prod.outlook.com> <FF6ACC14-2FAF-4A81-97AC-07D7EF4FEAD6@inria.fr>
In-Reply-To: <FF6ACC14-2FAF-4A81-97AC-07D7EF4FEAD6@inria.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [66.129.241.15]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rcallon@juniper.net;
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1429;
x-microsoft-antispam-prvs: <BY1PR0501MB1429CD3637D019624A69A33398140@BY1PR0501MB1429.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1429;
x-forefront-prvs: 0499DAF22A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(51704005)(51444003)(164054003)(13464003)(199003)(189002)(86362001)(74316001)(64706001)(122556002)(76176999)(50986999)(2656002)(40100003)(87936001)(33656002)(54356999)(101416001)(66066001)(97736003)(110136001)(99286002)(105586002)(106356001)(68736005)(102836002)(106116001)(2950100001)(2900100001)(92566002)(62966003)(77156002)(76576001)(46102003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0501MB1429; H:BY1PR0501MB1430.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2015 01:19:31.3821 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0501MB1429
Archived-At: <http://mailarchive.ietf.org/arch/msg/lisp/WZh8xlvJCvYJnDs-4oClg3owzSc>
Cc: Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be>, LISP mailing list list <lisp@ietf.org>
Subject: Re: [lisp] Progress on threats document
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Feb 2015 01:19:57 -0000

> Hello Ross,
> 
> Thank you for the feedback.
>
> Answers and propositions inline.

I have deleted items on which we have already reached agreement. Otherwise comments in-line. Also, I thought of a few other issues, but for readability I will mention them in a separate email which I will send a few minutes after this one. 

-----Original Message-----
<some items deleted here for which we are in agreement>

>> Section 2.1.4: This section correctly mentions that it is possible for an attacker to operate 
>> in the data plane to mount attacks targeting the control plane (or vice versa). However, the
>> implication of this, in terms of the difference in speeds of the two planes, is not discussed
>> anywhere. I am not sure where this should be discussed, but this is a sufficiently important
>> issue that it should be discussed somewhere. I have wondered whether this should be mentioned
>> here, or in section 2.2.9 (since this could be thought of as a form of amplification attack).
>> Perhaps the most straightforward way to fix this would to be append to the second paragraph of
>> section 2.1.4 a couple of additional sentences that state: "In some cases, particularly in very
>> high performance routers, the data plane may operate faster, and potentially several orders of
>> magnitude faster, relative to the control plane. Launching an attack in the data plane that is
>> targeted at the control plane may therefore greatly amplify the affect of the attack (ie serve
>> a function similar to an amplification attack)." 

>
> What about adding this to the end of section 2.2.9?
>
> In some cases, the data-plane can be several order of magnitude faster than the control-plane
> at processing packets. This difference can be exploited to overload the control-plane via the
> data-plane without overloading the data-plane.

I think that this reads well and makes the point. 

<more deleted>

>> Section 3.9, fourth paragraph. This currently reads:
>> 
>>   A compromised ETR can also de-aggregate its EID prefix in order to
>>   register more EID prefixes than necessary to its Map Servers (see
>>   Section 3.7 for the impact of de-aggregation of prefixes by an
>>   attacker).
>> 
>> I think that it might be worth mentioning: De-aggregation could occur as part of an
>> intentional attack, but could also occur as an unintended side effect of normal
>> operation if over time too many LISP sites advertise relatively de-aggregated or
>> very fine grained mappings. 

> While technically the point you are making is correct, this document is only about security and is therefore preferable to focus on attacks.

Okay. 

>> Section 4, "Note on privacy". Second paragraph. This currently reads: 
>> 
>>   Note, however, that like public deployments of any other control
>>   plane protocol, in an Internet deployment mappings are public and
>>   hence provide information about the infrastructure and reachability
>>   of LISP sites (i.e., the addresses of the edge routers).
>> 
>> The amount of information made available with LISP, particularly in map replies, is
>> finer grained than what is available with current routing protocols. Certainly with
>> current protocols ping could in principle give fine grained information (if I trace
>> route across my ISP, and if they let me do it, then I would find out the IP addresses
>> of routers), but it is largely turned off just for this reason. I think that it would
>> be more accurate to say: 
>> 
>>   Like public deployments of any other control
>>   plane protocols, in an Internet deployment mappings are public and
>>   hence provide information about the infrastructure and reachability
>>   of LISP sites (i.e., the addresses of the edge routers). LISP map 
>>   replies may however provide finer grained and more detailed
>>   information to a wider set of Internet sites than is available with 
>>   currently control protocols.  

> The sentence you are proposing is not completely correct. 
> LISP does not provide fine grained information about the infrastructure. 
> LISP only allows to clearly identify ASBRs that are running LISP functions.
> Furthermore, being smart with BGP already allows you to infer business 
> relationship between ASes, this is a kind of very precise information 
> that can be retrieved with current control protocol. 

Yes, LISP does allow / cause identification of routers on borders (either CE or PE routers, which I think are correctly termed "ASBRs"). It does not, as far as I know, allow identification of other routers (such as provider core P routers, or routers that do not choose to implement/deploy LISP). BGP does already reveal the identification of some border routers. There is commonly abbreviation of some of the BGP information and not all of the border routers will be BGP speaking. My understanding is that there are many CE routers who might or might not run BGP with PE routers, but even if they do their identity does not get sent out in the broad Internet-wide routing updates (eg, because the CE router is advertising an address block that is in the Provider's PA space, so that it gets summarized before being spread widely). How about if we "adjust" the text that I proposed to read as follows (and noting that the first sentence here is from the current threats document): 

   Like public deployments of any other control
   plane protocols, in an Internet deployment mappings are public and
   hence provide information about the infrastructure and reachability
   of LISP sites (i.e., the addresses of the edge routers). Depending upon
   deployment details, LISP map replies might or might not provide finer
   grained and more detailed information than is available with 
   currently deployed routing and control protocols.  

Thanks, Ross