Re: [OSPF] Fw: New Version Notification for draft-manjuldtv-ospf-sequence-number-00.txt

"Acee Lindem (acee)" <acee@cisco.com> Thu, 12 May 2016 02:55 UTC

Return-Path: <acee@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B631A12D0B7 for <ospf@ietfa.amsl.com>; Wed, 11 May 2016 19:55:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.517
X-Spam-Level:
X-Spam-Status: No, score=-15.517 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 HDuRyIUvyv0w for <ospf@ietfa.amsl.com>; Wed, 11 May 2016 19:55:36 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8980D12B041 for <ospf@ietf.org>; Wed, 11 May 2016 19:55:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5466; q=dns/txt; s=iport; t=1463021736; x=1464231336; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=JVvcpPFz2kJUxyqQRiJWxhtBd6X5uywWNZzohJaBHiA=; b=LFlhiYjP7o/Ux9MpvWjTYJ1BhBK39mrdB4tj99nKF2PXUrAQfk/wy3ad iin4duDZNmel3jw6SBGIqkQVEa6c69lsbj6/sQcyKD00Jf50vQ+/yUv/L o51o0AMESW4FbQ2kNh9TMm7FM7PvlrgNkkJb4jr7VW9IEV2tCItjlNRw5 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D2AQCn7zNX/4UNJK1egzhVfQa5RgENgXYXDYVwAoE1OBQBAQEBAQEBZSeEQgEBAQMBAQEBawkCBQsCAQgRBAEBAS4nCx0IAgQOBYgnCA66aAEBAQEBAQEBAQEBAQEBAQEBAQEBARWIFoJWhD+DK4IuAQSNX4pIAYV9iCCBaU6EAYMqhTePQAEeAQFCgjaBNW6HMn8BAQE
X-IronPort-AV: E=Sophos;i="5.24,609,1454976000"; d="scan'208";a="272395871"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 May 2016 02:55:35 +0000
Received: from XCH-RTP-012.cisco.com (xch-rtp-012.cisco.com [64.101.220.152]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id u4C2tZJD008983 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 12 May 2016 02:55:35 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-012.cisco.com (64.101.220.152) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 11 May 2016 22:55:34 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1104.009; Wed, 11 May 2016 22:55:34 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Ramakrishna DTV <ramakrishnadtv@nivettisystems.com>
Thread-Topic: [OSPF] Fw: New Version Notification for draft-manjuldtv-ospf-sequence-number-00.txt
Thread-Index: AQHRq5iDI45ZmPCOekqfeZl/Lp+NDp+0k8d6gABLlwA=
Date: Thu, 12 May 2016 02:55:34 +0000
Message-ID: <8BADADAD-9B3F-4CC0-AF80-7B41E909F324@cisco.com>
References: <D358C4E4.607A9%acee@cisco.com> <KL1PR0401MB1544944FE1E375A8FB7A31C0A3730@KL1PR0401MB1544.apcprd04.prod.outlook.com>
In-Reply-To: <KL1PR0401MB1544944FE1E375A8FB7A31C0A3730@KL1PR0401MB1544.apcprd04.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.201]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <98B3CDC9D3005E46894EFCDCD5F741B6@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/ospf/rhBAgOg2XBYSdr0HrGdontWfB5A>
Cc: "ospf@ietf.org" <ospf@ietf.org>, Manjul Khandelwal <manjul@nivettisystems.com>
Subject: Re: [OSPF] Fw: New Version Notification for draft-manjuldtv-ospf-sequence-number-00.txt
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 May 2016 02:55:39 -0000

Hi Ramakrishna, 

I believe there is a flaw in the description of the “Disguised LSA” attack. If the sequence number of the LSA is set to +1 by the attacker, the originator (aka, the victim) will determine that the received LSA is newer and will originate a newer LSA (“fight-back”) as described below. See section 13.1 and 13.4 in RFC 2328. 

Thanks,
Acee 



> On May 11, 2016, at 10:29 PM, Ramakrishna DTV <ramakrishnadtv@nivettisystems.com> wrote:
> 
> Hi Acee,
> 
> We currently provided the following description of this attack in the draft:
> 
> "The paper refers to the attack as "Disguised LSA" and is of
>   persistent nature.  This attack is launched from a compromised router
>   inside a routing domain.  In this attack, the compromised router
>   alters the LSA of an uncompromised router (victim).  Normally, such
>   an attempt does not have persistence because the victim generates a
>   new LSA when it sees such self-originated LSAs (referred to as
>   "fight-back" mechanism in the paper).  But the paper makes disguised
>   LSA persistent because all the fields { LS sequence number, checksum}
>   are predictable.  It alters the existing LSA of victim to suit its
>   needs but sets the sequence number to +1 of the existing LSA and
>   alters the LSA so that checksum matches with checksum that would be
>   generated by the victim when it generates the new LSA.  When this
>   disguised LSA reaches the victim, it does not fight back because it
>   compares only the fields { LS sequence number, checksum, age} to
>   check for duplicates and not the actual content of LSA.
> 
>   This attack enables an insider attacker to fully control the entire
>   content of an LSA.  We think this attack is powerful."
> 
> These details are currently present in Section 4, which is titled "Implementation advice".
> We can probably move it to a different section (e.g., "Introduction") to make it clear.
> 
> If you think even more additional details about the attack are useful to the working group, 
> please let us know. We will add.
> 
> Thank you.
> 
> Regards,
> Ramakrishna DTV.
> 
> 
> ________________________________________
> From: Acee Lindem (acee) <acee@cisco.com>
> Sent: Wednesday, May 11, 2016 8:49 PM
> To: Manjul Khandelwal; ospf@ietf.org
> Cc: Ramakrishna DTV
> Subject: Re: [OSPF] Fw: New Version Notification for draft-manjuldtv-ospf-sequence-number-00.txt
> 
> Hi Manjul,
> 
> Would it be possible to succinctly describe these “certain security
> attacks” in the draft rather than expecting everyone to read the
> referenced paper?
> 
> Thanks,
> Acee
> 
> On 5/11/16, 10:19 AM, "OSPF on behalf of Manjul Khandelwal"
> <ospf-bounces@ietf.org on behalf of manjul@nivettisystems.com> wrote:
> 
>> Hi,
>> 
>> We have recently submitted a draft which deals with OSPF LS sequence
>> number
>> generation mechanism.
>> 
>> Abstract of the draft:
>>  The mechanism for LS sequence number generation as specified in RFC
>>  2328 and RFC 5340 is completely predictable.  This makes it prone to
>>  certain security attacks which exploit the predictable nature of LS
>>  sequence numbers.  This draft updates the RFC 2328 to make LS
>>  sequence number generation an implementation choice rather than a
>>  fixed increment by 1 for successive LSAs.
>> 
>> https://datatracker.ietf.org/doc/draft-manjuldtv-ospf-sequence-number/
>> 
>> We solicit feedback/comments on the draft and request for adoption by the
>> OSPF working group.
>> 
>> Regards,
>> Manjul Khandelwal
>> DTV Ramakrishna Rao
>> ________________________________________
>> From: internet-drafts@ietf.org <internet-drafts@ietf.org>
>> Sent: Monday, May 9, 2016 7:22 PM
>> To: Manjul Khandelwal; Ramakrishna DTV
>> Subject: New Version Notification for
>> draft-manjuldtv-ospf-sequence-number-00.txt
>> 
>> A new version of I-D, draft-manjuldtv-ospf-sequence-number-00.txt
>> has been successfully submitted by Manjul Khandelwal and posted to the
>> IETF repository.
>> 
>> Name:           draft-manjuldtv-ospf-sequence-number
>> Revision:       00
>> Title:          OSPF LSA sequence number generation
>> Document date:  2016-05-09
>> Group:          Individual Submission
>> Pages:          10
>> URL:
>> https://www.ietf.org/internet-drafts/draft-manjuldtv-ospf-sequence-number-
>> 00.txt
>> Status:
>> https://datatracker.ietf.org/doc/draft-manjuldtv-ospf-sequence-number/
>> Htmlized:
>> https://tools.ietf.org/html/draft-manjuldtv-ospf-sequence-number-00
>> 
>> 
>> Abstract:
>>  The mechanism for LS sequence number generation as specified in RFC
>>  2328 and RFC 5340 is completely predictable.  This makes it prone to
>>  certain security attacks which exploit the predictable nature of LS
>>  sequence numbers.  This draft updates the RFC 2328 to make LS
>>  sequence number generation an implementation choice rather than a
>>  fixed increment by 1 for successive LSAs.
>> 
>> 
>> 
>> 
>> Please note that it may take a couple of minutes from the time of
>> submission
>> until the htmlized version and diff are available at tools.ietf.org.
>> 
>> The IETF Secretariat
>> 
>> _______________________________________________
>> OSPF mailing list
>> OSPF@ietf.org
>> https://www.ietf.org/mailman/listinfo/ospf
>