Re: ICMP PTB spoofing attacks (was: RE: 6MAN: Adoption call on draft-hinden-6man-rfc1981bis-01)

Fernando Gont <fgont@si6networks.com> Fri, 05 February 2016 18:02 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E56B11A1EEC for <ipv6@ietfa.amsl.com>; Fri, 5 Feb 2016 10:02:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 WiTtFgiYSMxs for <ipv6@ietfa.amsl.com>; Fri, 5 Feb 2016 10:02:48 -0800 (PST)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C8F91A1BEE for <ipv6@ietf.org>; Fri, 5 Feb 2016 10:02:48 -0800 (PST)
Received: from [192.168.3.107] (unknown [181.165.125.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 7B1FA206AF4; Fri, 5 Feb 2016 19:02:43 +0100 (CET)
Subject: Re: ICMP PTB spoofing attacks (was: RE: 6MAN: Adoption call on draft-hinden-6man-rfc1981bis-01)
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Fred Baker (fred)" <fred@cisco.com>
References: <2134F8430051B64F815C691A62D983183395EF42@XCH-BLV-105.nw.nos.boeing.com>
From: Fernando Gont <fgont@si6networks.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56B4E39A.5040608@si6networks.com>
Date: Fri, 05 Feb 2016 15:02:02 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <2134F8430051B64F815C691A62D983183395EF42@XCH-BLV-105.nw.nos.boeing.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/zOVI-eWQ5tdz6vswlrf7CuHW6ug>
Cc: Bob Hinden <bob.hinden@gmail.com>, 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 05 Feb 2016 18:02:53 -0000

On 02/05/2016 02:46 PM, Templin, Fred L wrote:
> Hi Fred,
> 
>> As soon as I say "there is no such attack", one will materialize, so I won't assert that.  However, I am not aware of attacks in which
>> someone creates ICMP PTBs and sends them to someone else in order to reduce their windows unnecessarily.
> 
> RFC4821 Section 11 (Security Considerations) recognizes the potential for spoofed
> (i.e., inaccurate) ICMP PTB messages and suggests a mitigation (ignore all ICMP PTBs).
> For paths over which any node in the network can inject an inaccurate ICMP PTB
> message, an attack vector exists.

In theory, you can do some basic validation for ICMP messages. However,
in v6, as a result of possible EHs, you may not find any meaningful data
in the ICMP payload to apply validity checks on.

Anyway, you can implement the countermeasure we implemented in
<https://tools.ietf.org/html/rfc5927#section-7.2> -- I implemented it
for OpenBSD, and it still runs it... and IIRC it was ported to at least
NetBSD later.

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