RE: Next steps for draft-gont-6man-predictable-fragment-id

Dmitry Anipko <Dmitry.Anipko@microsoft.com> Sun, 10 March 2013 23:07 UTC

Return-Path: <Dmitry.Anipko@microsoft.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 791AC21F8826 for <ipv6@ietfa.amsl.com>; Sun, 10 Mar 2013 16:07:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e0c0Q7QYFwsu for <ipv6@ietfa.amsl.com>; Sun, 10 Mar 2013 16:07:46 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0236.outbound.protection.outlook.com [207.46.163.236]) by ietfa.amsl.com (Postfix) with ESMTP id E6DFA21F882D for <ipv6@ietf.org>; Sun, 10 Mar 2013 16:07:45 -0700 (PDT)
Received: from BL2FFO11FD009.protection.gbl (10.173.161.202) by BL2FFO11HUB022.protection.gbl (10.173.161.46) with Microsoft SMTP Server (TLS) id 15.0.620.12; Sun, 10 Mar 2013 23:07:43 +0000
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD009.mail.protection.outlook.com (10.173.161.15) with Microsoft SMTP Server (TLS) id 15.0.620.12 via Frontend Transport; Sun, 10 Mar 2013 23:07:43 +0000
Received: from TK5EX14MBXC252.redmond.corp.microsoft.com ([169.254.1.2]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.02.0318.003; Sun, 10 Mar 2013 23:07:42 +0000
From: Dmitry Anipko <Dmitry.Anipko@microsoft.com>
To: Ronald Bonica <rbonica@juniper.net>, Ole Troan <otroan@employees.org>, "ipv6@ietf.org 6man-wg" <ipv6@ietf.org>
Subject: RE: Next steps for draft-gont-6man-predictable-fragment-id
Thread-Topic: Next steps for draft-gont-6man-predictable-fragment-id
Thread-Index: AQHOFe0Yx8Gr0hxxQ0yr3qLJvaaMWpifh78AgAATprA=
Date: Sun, 10 Mar 2013 23:07:42 +0000
Message-ID: <FB329D818C7CAB438F0C7DD772EA102506246FAB@TK5EX14MBXC252.redmond.corp.microsoft.com>
References: <1D5AC9C6-2FC2-455D-930E-A8BA83C37D5B@employees.org> <2CF4CB03E2AA464BA0982EC92A02CE25068CD2C3@BY2PRD0512MB653.namprd05.prod.outlook.com>
In-Reply-To: <2CF4CB03E2AA464BA0982EC92A02CE25068CD2C3@BY2PRD0512MB653.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.21]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(377454001)(199002)(189002)(13464002)(51704002)(54316002)(54356001)(51856001)(47736001)(49866001)(16406001)(55846006)(80022001)(44976002)(47776003)(50466001)(74662001)(46102001)(69226001)(59766001)(50986001)(4396001)(23726001)(31966008)(79102001)(77982001)(66066001)(56816002)(20776003)(63696002)(46406002)(33656001)(65816001)(47976001)(56776001)(74502001)(5343655001)(47446002)(15202345001)(53806001)(76482001); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB022; H:TK5EX14MLTC103.redmond.corp.microsoft.com; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 07817FCC2D
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Mar 2013 23:07:47 -0000

In such an attack, is the attacker on the path between the victim and the server? If yes, there are more efficient ways how they can DoS the victim. If no, how does the attacker know which of the billions hosts on the Internet will be talking to this DNS server in the next second (in order to send packets with fake source address to that particular victim host)?

Separately from that, how often network operators deploy egress filtering, that drops packets from malicious hosts sent with fake source addresses?

-----Original Message-----
From: ipv6-bounces@ietf.org [mailto:ipv6-bounces@ietf.org] On Behalf Of Ronald Bonica
Sent: Sunday, March 10, 2013 2:54 PM
To: Ole Troan; ipv6@ietf.org 6man-wg
Subject: RE: Next steps for draft-gont-6man-predictable-fragment-id

Ole,

There may exist at least one attack scenario that is sufficiently serious to motivate this work. I will describe the scenario and invite DNSSEC and security types to correct me if I have it all wrong.

Name Servers running DNSSEC frequently send very long packets over UDP. Even in the absence of an attack, many of these packets will be fragmented.

Now assume an attack scenario in which the victim is a legitimate client of that Name Server. An attacker seeks to prevent the victim from receiving fragmented packets from the Name Server. In order to achieve that goal, the attacker:

- determines the range of fragment-ids that the Name Server is likely to emit in the next second or so
- sends a stream of packets to the victim, spoofing the Name Server's address and using each member of the fragment-ID range
- repeat periodically

The attacker will prevent a legitimate packet from the Name Server from being reassembled if he delivers a packet with the correct fragment-id to the victim between the time that the victim receives the first and last fragments of the legitimate packet. The attacker may not be able to corrupt every fragmented packet from the Name Server to the victim, but his chances of success improve as:

- the range of fragment-ids that the Name Server is likely to emit decreases
- the time between the arrival of the first and last fragments of the legitimate packets increases

In any event, since DNSSEC contributes significantly to the security posture of the Internet, we should probably address the issue of predictable fragment-IDs.

                                               Ron


> -----Original Message-----
> From: ipv6-bounces@ietf.org [mailto:ipv6-bounces@ietf.org] On Behalf 
> Of Ole Troan
> Sent: Thursday, February 28, 2013 2:52 PM
> To: ipv6@ietf.org 6man-wg
> Subject: Next steps for draft-gont-6man-predictable-fragment-id
> 
> Hi,
> 
> The draft-gont-6man-predictable-fragment-id document has been 
> discussed a few times.
> At the IETF84 (minutes attached below), and in the thread:
> http://www.ietf.org/mail-archive/web/ipv6/current/msg15836.html
> 
> Could we get the working groups opinion on what to do with the 
> document?
> 
> - Is there interest in working on it in 6man?
>   (if yes, you must be willing to contribute, if no, then say why)
> 
> Best regards,
> Ole & Bob
> 
> 
> 
> IETF84 minutes:
> ============
> Fernando Gont presented the draft about Security Implications of 
> Predictable Fragment Identification Values,
> (draft-gont-6man-predictable-fragment-id-02.txt)
> 
> Ole Troan wanted to make this document more generic and discuss the 
> implications of using predictable values in Internet protocols.
> Fernando
> 
> Bob Hinden wanted to see a longer list of OSs. He was also curious as 
> to whether this was problem that needed to be fixed in IETF or was 
> this already common knowledge.
> 
> Erik Kline wanted to know if there was an IAB document that 
> recommended the use of non-predictable values if there was an integer 
> field that did not need specific values.
> 
> Thomas Narten was not sure what to do with this. This fell under the 
> category of "don't do anything stupid". e.g. Why do a document for
> IPv6 for things that were well known in IPv4?
> 
> Lorenzo Colitti thought that this work was not harmful and should be 
> pursued irrespective of any iab work.
> 
> Brian Haberman did not want to have a point solution for every field 
> and he would like to see a more general document applicable across the 
> IETF. Fernando was concerned on whether implementers would read this 
> generic document. Brian believed that this generic document could be 
> referred to in the node requirements document, thus ensuring that IPv6 
> implementers would read it.
> 
> Joel Jaeggli thought that it was a worthwhile activity to look at 
> existing implementations and flag this as a potential issue that was 
> common across multiple implementations. Thomas Narten and Erik Kline 
> agreed with Joel.
> 
> Dave mentioned that RFC4732 (Internet DOS considerations) talked about 
> using unpredictable values for session ids. Fernando talked about 
> other issues discovered after 4732 that still had this issue. Dave 
> believed that this sort of work needs to be done by the saag and if 
> this was included in a statement from saag as something to look for in 
> SecDir reviews, it would have the largest impact.
> 
> Chairs wanted to continue discussion on mailing list and requested 
> Fernando to discuss potential changes with Joel J.
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------


--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------