Re: [dtn-security] FW: Re(19): Implementing Security Destinations inDTN2

"Eddy, Wesley M. (GRC-MS00)[MTI SYSTEMS, INC.]" <wesley.m.eddy@nasa.gov> Tue, 22 January 2013 23:24 UTC

Return-Path: <wesley.m.eddy@nasa.gov>
X-Original-To: dtn-security@ietfa.amsl.com
Delivered-To: dtn-security@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8431921F8ACE for <dtn-security@ietfa.amsl.com>; Tue, 22 Jan 2013 15:24:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.598
X-Spam-Level:
X-Spam-Status: No, score=-106.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OcjADto4gRo6 for <dtn-security@ietfa.amsl.com>; Tue, 22 Jan 2013 15:24:41 -0800 (PST)
Received: from ndmsnpf03.ndc.nasa.gov (ndmsnpf03.ndc.nasa.gov [198.117.0.123]) by ietfa.amsl.com (Postfix) with ESMTP id 828A421F86EF for <dtn-security@irtf.org>; Tue, 22 Jan 2013 15:24:40 -0800 (PST)
Received: from ndjsppt03.ndc.nasa.gov (ndjsppt03.ndc.nasa.gov [198.117.1.102]) by ndmsnpf03.ndc.nasa.gov (Postfix) with ESMTP id 13A1E2D8335; Tue, 22 Jan 2013 17:24:38 -0600 (CST)
Received: from ndjshub02.ndc.nasa.gov (ndjshub02-pub.ndc.nasa.gov [198.117.1.161]) by ndjsppt03.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id r0MNObP2002161; Tue, 22 Jan 2013 17:24:37 -0600
Received: from NDJSSCC01.ndc.nasa.gov ([198.117.4.166]) by ndjshub02.ndc.nasa.gov ([198.117.1.161]) with mapi; Tue, 22 Jan 2013 17:24:37 -0600
From: "Eddy, Wesley M. (GRC-MS00)[MTI SYSTEMS, INC.]" <wesley.m.eddy@nasa.gov>
To: "Burleigh, Scott C" <scott.c.burleigh@jpl.nasa.gov>, "dtn-security@irtf.org" <dtn-security@irtf.org>
Date: Tue, 22 Jan 2013 17:19:48 -0600
Thread-Topic: [dtn-security] FW: Re(19): Implementing Security Destinations inDTN2
Thread-Index: AQHNsJPIZoDaDqH290yQ8PpLOF/skJftUzPAgGkpYDCAABA3hA==
Message-ID: <C304DB494AC0C04C87C6A6E2FF5603DB011416DB6897@NDJSSCC01.ndc.nasa.gov>
References: <2665b4bca07d1e0d3d9de88844cc02e9.squirrel@webmail.math.umd.edu> <20120904172458.1767559740@smtp.mail.me.com><A5BEAD028815CB40A32A5669CF737C 3B0D72DE@ap-embx-sp20.RES.AD.JPL><6af37e4869b76826d4d2108e3eef82b3.squirrel @webmail.math.umd.edu><20120923012212.319238544@smtp.mail.me.com><3c1f477d9 f6b104790e33e76236998e6.squirrel@webmail.math.umd.edu><A5BEAD028815CB40A32A 5669CF737C3B0E9F01@ap-embx-sp40.RES.AD.JPL><20120926214742.2066794613@smtp. mail.me.com><A5BEAD028815CB40A32A5669CF737C3B0ED30F@ap-embx-sp40.RES.AD.JPL ><20120927170104.253362480@smtp.mail.me.com><CAB9rx+-sVH4o01gobB7STvaOcUVhq c9VnEJtNN5DWheGD4yeXA@mail.gmail.com><20120927172602.1763958833@smtp.mail.m e.com><20121002225237.520325524@smtp.mail.me.com><A5BEAD028815CB40A32A5669C F737C3B0EFA29@ap-embx-sp40.RES.AD.JPL><7249cc388d868cb16f14efe286351e37.squ irrel@webmail.math.umd.edu><A5BEAD028815CB40A32A5669CF737C3B0EFD00@ap-embx- sp40.RES.AD.JPL><20121004210719.1971171529@smtp.mail.me.com><A5BEAD028815CB 40A32A5669CF737C3B0F00B5@ap-embx-sp40.RES.AD.JPL><20121004220537.1202245607 @smtp.mail.me.com><A5BEAD028815CB40A32A5669CF737C3B0F00E9@ap-embx-sp40.RES. AD.JPL><20121016220658.793339059@smtp.mail.me.com><A5BEAD028815CB40A32A5669 CF737C3B096B89E2@ap-embx-sp40.RES.AD.JPL><20121022185905.200828573@smtp.mai l.me.com><A5BEAD028815CB40A32A5669CF737C3B096B8A97@ap-embx-sp40.RES.AD.JPL> <20121022202820.71123343@smtp.mail.me.com> , <A5BEAD028815CB40A32A5669CF737C3B2356FA44@ap-embx-sp40.RES.AD.JPL>
In-Reply-To: <A5BEAD028815CB40A32A5669CF737C3B2356FA44@ap-embx-sp40.RES.AD.JPL>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_C304DB494AC0C04C87C6A6E2FF5603DB011416DB6897NDJSSCC01nd_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-01-22_10:2013-01-22, 2013-01-22, 1970-01-01 signatures=0
X-Mailman-Approved-At: Tue, 22 Jan 2013 15:49:22 -0800
Subject: Re: [dtn-security] FW: Re(19): Implementing Security Destinations inDTN2
X-BeenThere: dtn-security@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Security." <dtn-security.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-security>
List-Post: <mailto:dtn-security@irtf.org>
List-Help: <mailto:dtn-security-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-security>, <mailto:dtn-security-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jan 2013 23:24:43 -0000

It looks like basically a good idea to me.

I recall sometime in 2006 or 2007ish pointing out that security destinations needed to work more like IPsec tunnel-mode endpoints in order to make the routing work correctly, and I think what you're proposing here accomplishes that in a better way.

Though I think cycles would be better spent on KMP issues that are actually HARD, and *then* circling back to see what could be tweaked in the BSP, I definitely think this proposed change is something that would improve the BSP a bit in the meantime.

I don't think it can be done in a way that's friendly to the existing codebase like Stephen suggests shooting for.

________________________________
From: dtn-security-bounces@irtf.org [dtn-security-bounces@irtf.org] On Behalf Of Burleigh, Scott C (313B) [scott.c.burleigh@jpl.nasa.gov]
Sent: Tuesday, January 22, 2013 5:37 PM
To: dtn-security@irtf.org
Subject: [dtn-security] FW: Re(19): Implementing Security Destinations inDTN2

Hi.  Late last September, several of us spun off a sub-thread talking about how the processing of bundles with multiple security destinations could be handled in DTN implementations.  I won’t try to recreate all of the arguments on all sides, but I think we did converge on agreement that the current BSP mechanism for complex, multi-destination security could be difficult to realize in coherent fashion across the network.  After puzzling over this for a while, I came up with a concept (below) that I think would be simpler, safer, and even more powerful than the current protocol design.  How do we all feel about this?  Would it be worthwhile for DTNRG to invest in a 6257bis RFC along these lines?

Scott
_____________________________________________
From: Burleigh, Scott C (313B)
Sent: Friday, November 16, 2012 5:05 PM
To: 'Peter Lovell'; ahennes1@math.umd.edu
Cc: Amy Alford; Cherita.Corbett@jhuapl.edu; Howard Weiss
Subject: RE: Re(19): [dtn-security] Implementing Security Destinations in DTN2


Hi, Peter.  At the risk (I know) of getting a lot of people severely ticked off at me, I am going to offer a modest proposal for improving the Bundle Security Protocol, inspired by this thread.
I propose to adopt a new design principle for Bundle Security Protocol: the routing element of a bundle protocol agent should never need to inspect a bundle’s BSP extension blocks in order to select the node(s) to forward the bundle to.
That is, BSP should provide security, not dictate routes.
My rationale for proposing this principle is that I believe it would:

 *   Simplify BSP, thereby reducing the incidence of bugs and making Bundle Security significantly less expensive to implement and sustain.
 *   Broaden the scope of BSP deployment by eliminating its dependence on specific, BSP-aware routing implementations, thereby increasing the overall security of DTN.
 *   Reduce the cost of developing and improving routing implementations by removing any requirement that they be BSP-aware, and broaden the scope of deployment of non-BSP-aware routing implementations by enabling them to be used in environments requiring arbitrarily powerful security.  Thereby, improve DTN operational performance.

Here's how I would apply this principle:

 1.  Eliminate security sources and security destinations from all BSP blocks.  The security source of a BSP block would always be the bundle’s source.  The security destination of a BSP block would always be the bundle’s destination.
 2.  Add a new Administrative Record type for Bundle-in-Bundle encapsulation.
 3.  When additional security must be applied to a bundle on some segment of its end-to-end path, encapsulate the bundle in a Bundle-in-Bundle Encapsulation Administrative Record that is the payload of a new bundle whose source is the security source of the path segment and whose destination is the security destination of the path segment.  Apply the additional bundle transmission security measures to the encapsulating bundle: encrypt its payload (the Administrative Record, containing the encapsulated bundle), encrypt extension blocks as copied from the encapsulated bundle, etc.  Then forward the encapsulating bundle.
 4.  When route service uncertainty forces a bundle to be routed over multiple parallel additionally secured segments of its end-to-end path, encapsulate it as above but within multiple different encapsulating bundles, one for each of the parallel segments, and forward all of them.
 5.  At the destination of a bundle, apply all relevant bundle reception security measures and then, if the payload is an encapsulation Administrative Record, extract the encapsulated bundle from the Administrative Record and simply forward it.

I believe this would have the following impacts on DTN security:

 *   No EID references in BSP, simplifying canonicalization.
 *   PCBs only encrypt payloads, never PIBs or PCBs (encrypting the encapsulated bundle encrypts all three at once), so no correlators in BSP.  (Except for BABs, no bundle ever has more than one occurrence of any type of BSP block.  And there will never be more than two BABs, one immediately following the primary block and one that is the final block in the bundle, so that correlation is structural.)
 *   No delicate “replacement” process for unraveling PCB nesting at the destination.
 *   No possible confusion about the correct order of application of BSP blocks.
 *   No possible conflict among security destinations of different BSP blocks.
 *   Security paths can never overlap.
 *   Any routing implementation can always accommodate any security regime: routes that must be followed to ensure security are encoded into routing information at the forwarding node, not into the bundle.  (A little like the late binding principle.)
 *   Any routing environment can always be made arbitrarily secure – no need to require specially BSP-aware routing elements.
 *   Ciphersuite design is simplified, so a wider array of useful ciphersuites can be developed without imposing bug-prone complexity.  Minimizes possible security problems.

As an example of how I think this could work, see the attached diagram:

 1.  Node A is sending a bundle to node K.  Nodes A, B, J, and K are within the low-risk “W” security region; nodes C and G are gateways between region W and the more hazardous region X; node D is another node in X; nodes E and F are gateways between region X and even more hazardous region Y; nodes H and I are gateways between X and hazardous region Z.
 2.  At A the bundle is simply forwarded to B.
 3.  At B the routing element realizes that the bundle has to traverse region X in order to get to K, so it forwards the bundle to C.
 4.  The routing element at C encapsulates the bundle in an Admin Record, creates a new bundle destined for G (the egress from region X) whose source is C and whose payload is that Admin Record, encrypts the payload, attaches a PCB, and forwards the bundle to D.
 5.  D realizes that the bundle has to traverse region Y in order to get to G, so it forwards the bundle to E.
 6.  E encapsulates the bundle in an Admin Record, creates a new bundle destined for F (the egress from region Y) whose source is E and whose payload is that Admin Record, encrypts the payload, attaches a PCB, and forwards the bundle to F.
 7.  The bundle protocol agent at F receives the bundle, decrypts it, and passes the payload (an Admin Record) to the application agent.  The administrative element of the application agent at F receives the Admin Record, extracts the encapsulated bundle destined for G, and queues it to be forwarded.  The routing element at F sees this bundle and forwards it to G.
 8.  The bundle protocol agent at G receives the bundle, decrypts it, and passes the payload (an Admin Record) to the application agent.  The administrative element of the application agent at G receives the Admin Record, extracts the encapsulated bundle destined for K, and queues it to be forwarded.  The routing element at G sees this bundle, realizes that the bundle has to traverse region Z in order to get to K, and therefore forwards the bundle to H.
 9.  H encapsulates the bundle in an Admin Record, creates a new bundle destined for I (the egress from region Z) whose source is H and whose payload is that Admin Record, encrypts the payload, attaches a PCB, and forwards the bundle to I.
 10. The bundle protocol agent at I receives the bundle, decrypts it, and passes the payload (an Admin Record) to the application agent.  The administrative element of the application agent at I receives the Admin Record, extracts the encapsulated bundle destined for K, and queues it to be forwarded.  The routing element at I sees this bundle and forwards it to J.
 11. At J the bundle is simply forwarded to K.
 12. At K the bundle’s payload is passed to the application.

I think this approach would combine simplicity with quite a lot of operational power, making everything cheaper and safer.
So, having now stirred the hornet’s nest, I will beat a hasty retreat for a week while I am on vacation.  I’ll try to follow up when I get back.
Have a nice Thanksgiving, everybody.
Scott

-----Original Message-----
From: Peter Lovell [mailto:plovell@mac.com]
Sent: Monday, October 22, 2012 1:28 PM
To: Burleigh, Scott C (313B); ahennes1@math.umd.edu<mailto:ahennes1@math.umd.edu>
Cc: Amy Alford; Cherita.Corbett@jhuapl.edu<mailto:Cherita.Corbett@jhuapl.edu>; Howard Weiss; Peter Lovell
Subject: Re(19): [dtn-security] Implementing Security Destinations in DTN2

On Wed, Oct 24, 2012, Burleigh, Scott C (313B) <scott.c.burleigh@jpl.nasa.gov<mailto:scott.c.burleigh@jpl.nasa.gov>> wrote:

> In view of which, I've now become a bigger fan of bundle-in-bundle
>tunneling than I've been in the past.

Hi Scott,

I agree. I'm also a big fan, for a bunch of reasons. However, as I mentioned to Angela, the current [i.e. latest, expired] draft seems a bit "funky" to me. There's no indication in the bundle that it's BiB and you need some special EID to perform the decapsulation. Maybe that's just like an assigned port in TCP but we don't yet have such a mechanism. The multiple-bundle thing is OK, I guess, but I don't see much use for it other than volume gateway-to-gateway traffic and I think that such heavy-duty tunnels could be specially optimized.

I need to go back and review all the discussions about BiB -- we worked it quite a bit but the spec never gained enough consensus to move forward. I think it would be a good idea to revisit it now and get a solid draft that has wider support. Maybe the email discussions will help us get there.

Thanks.....Peter