Re: ICMP PTB spoofing attacks

Fernando Gont <fgont@si6networks.com> Fri, 05 February 2016 20:40 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 ECB881ACEE3 for <ipv6@ietfa.amsl.com>; Fri, 5 Feb 2016 12:40:49 -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 ShORWUa86IvP for <ipv6@ietfa.amsl.com>; Fri, 5 Feb 2016 12:40:47 -0800 (PST)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D0DF1ACEF1 for <ipv6@ietf.org>; Fri, 5 Feb 2016 12:40:47 -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 DA289206AF6; Fri, 5 Feb 2016 21:40:41 +0100 (CET)
Subject: Re: ICMP PTB spoofing attacks
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Fred Baker (fred)" <fred@cisco.com>
References: <2134F8430051B64F815C691A62D983183395EF42@XCH-BLV-105.nw.nos.boeing.com> <56B4E39A.5040608@si6networks.com> <2134F8430051B64F815C691A62D983183395F017@XCH-BLV-105.nw.nos.boeing.com> <56B4EA46.3080102@si6networks.com> <2134F8430051B64F815C691A62D983183395F0CE@XCH-BLV-105.nw.nos.boeing.com> <56B50285.9010204@si6networks.com> <2134F8430051B64F815C691A62D983183395F2DD@XCH-BLV-105.nw.nos.boeing.com>
From: Fernando Gont <fgont@si6networks.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56B50889.8080201@si6networks.com>
Date: Fri, 05 Feb 2016 17:39:37 -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: <2134F8430051B64F815C691A62D983183395F2DD@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/FR5MgGVKSCfh6tikOUgiO8vN9A4>
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 20:40:50 -0000

On 02/05/2016 05:25 PM, Templin, Fred L wrote:
>>>
>>> By "accurate" I mean:
>>>
>>> - the router that sends the ICMP PTB is telling the truth that there is a restricting link
>>> - the MTU value that the router writes in the PTB is in fact the true MTU of the
>>>    restricting link
>>
>> Well, most of these protocols run on "good faith", right? -- If I cannot
>> trust the router to tell the truth, why should I trust it to e.g.
>> forward my packets?
> 
> A router's trustworthiness for forwarding packets and for telling the truth
> in any ICMP PTB message it sends are mutually exclusive - the first question
> is one of availability and the second is one of integrity.

I think that, at the end of the day, its about trust. Can I trust the
device, or not?

I my goal as an attacker is to DoS your communications, I don't care
whether I achieve that by simply throwing your packets away, or by
sending you some packet that will cause yourself to shutdown and not talk.

I should say, however, that in the IPv6 case, the worst case scenario is
a 1280-byte MTU link...


> Plus, it is not necessarily just the on-path routers - any off-path "router"
> could also inject spurious PTBs.

For off-path attackers, you validate ICMP PTBs. If you don't, well...
prepare for trouble.  And, yes, if EHs are in use, you may not be able
to verify them.

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