Delay-Tolerant Networking E. Birrane Internet-Draft K. McKeever Intended status: Standards Track JHU/APL Expires:May 3,September 13, 2017 March 12, 2017October 30, 2016Bundle Protocol Security Specificationdraft-ietf-dtn-bpsec-03draft-ietf-dtn-bpsec-04 Abstract This document defines a security protocol providing end to end data integrity and confidentiality services for the Bundle Protocol. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire onMay 3,September 13, 2017. Copyright Notice Copyright (c)20162017 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Motivation . . . . . . . . . . . . . . . . . . . . . . . 3 1.2. Supported Security Services . . . . . . . . . . . . . . . 3 1.3. Specification Scope . . . . . . . . . . . . . . . . . . . 4 1.4. Related Documents . . . . . . . . . . . . . . . . . . . . 5 1.5. Terminology . . . . . . . . . . . . . . . . . . . . . . . 5 2. Key Properties . . . . . . . . . . . . . . . . . . . . . . .76 2.1. Block-Level Granularity . . . . . . . . . . . . . . . . .76 2.2. Multiple Security Sources . . . . . . . . . . . . . . . . 7 2.3. Mixed Security Policy . . . . . . . . . . . . . . . . . .87 2.4. User-SelectedCiphersuitesCipher Suites . . . . . . . . . . . . . . . 8 2.5. Deterministic Processing . . . . . . . . . . . . . . . .98 3. Security Blocks . . . . . . . . . . . . . . . . . . . . . . . 8 3.1. Block Definitions . . . . . . . . . . . . . . . . . . . . 93.1. Block3.2. Uniqueness . . . . . . . . . . . . . . . . . . . . . . . 9 3.3. Target Multiplicity . . . . . . . . . . . . . . . . . . . 10 3.4. Target Identification . . . . . . . . . . . . . . . . . . 103.2.3.5. Block Representation . . . . . . . . . . . . . . . . . .10 3.3.11 3.6. Abstract Security Block . . . . . . . . . . . . . . . . . 11 3.7. Block Integrity Block . . . . . . . . . . . . . . . . . .13 3.4.14 3.8. Block Confidentiality Block . . . . . . . . . . . . . . .14 3.5.15 3.9. Block Interactions . . . . . . . . . . . . . . . . . . . 163.6.3.10. Parameters and ResultFieldsTypes . . . . . . . . . . . . . . . 173.7.3.11. BSP Block Example . . . . . . . . . . . . . . . . . . . .1820 4. Canonical Forms . . . . . . . . . . . . . . . . . . . . . . .2022 4.1. Technical Notes . . . . . . . . . . . . . . . . . . . . .2022 4.2. Primary Block Canonicalization . . . . . . . . . . . . .2123 4.3. Non-Primary-Block Canonicalization . . . . . . . . . . .2223 5. Security Processing . . . . . . . . . . . . . . . . . . . . .2224 5.1. Bundles Received from Other Nodes . . . . . . . . . . . .2324 5.1.1. Receiving BCB Blocks . . . . . . . . . . . . . . . .2324 5.1.2. Receiving BIB Blocks . . . . . . . . . . . . . . . .2325 5.2. Bundle Fragmentation and Reassembly . . . . . . . . . . .2426 6. Key Management . . . . . . . . . . . . . . . . . . . . . . .2526 7. Security Policy Considerations . . . . . . . . . . . . . . .. . . . . 2526 8. Security Considerations . . . . . . . . . . . . . . . . . . .2627 8.1. Attacker Capabilities and Objectives . . . . . . . . . .2728 8.2. Attacker Behaviors and BPSec Mitigations . . . . . . . .2829 8.2.1. Eavesdropping Attacks . . . . . . . . . . . . . . . .2829 8.2.2. Modification Attacks . . . . . . . . . . . . . . . .2829 8.2.3. Topology Attacks . . . . . . . . . . . . . . . . . .2931 8.2.4. Message Injection . . . . . . . . . . . . . . . . . .3031 9.CiphersuiteCipher Suite Authorship Considerations . . . . . . . . . . .. 3032 10. Defining Other Security Blocks . . . . . . . . . . . . . . .3133 11. Conformance . . . . . . . . . . . . . . . . . . . . . . . . .3234 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . .3234 12.1. Bundle Block Types . . . . . . . . . . . . . . . . . . .32 12.2. Cipher Suite Flags . . . . . . . . . . . . . . . . . . . 32 12.3. Parameters and Results . . . . . . . . . . . . . . . . . 3334 13. References . . . . . . . . . . . . . . . . . . . . . . . . . 34 13.1. Normative References . . . . . . . . . . . . . . . . . . 34 13.2. Informative References . . . . . . . . . . . . . . . . .3435 Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 35 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 35 1. Introduction This document defines security features for the Bundle Protocol[BPBIS](BP) [BPBIS]. This BP Security Specification (BPSec) is intended for use indelay-tolerant networks, in orderDelay Tolerant Networks (DTNs) to provideDelay-Tolerant Networking (DTN)end-to-end security services. 1.1. Motivation The Bundle Protocolis usedspecification [BPBIS] defines DTN as referring to "a networking architecture providing communications inDTNs that overlay multiple networks, some of whichand/or through highly stressed environments" where "BP may bechallenged by limitations suchviewed asintermittent and possibly unpredictable losssitting at the application layer of some number of constituent networks, forming a store-carry-forward overlay network". The term "stressed" environment refers to multiple challenging conditions including intermittent connectivity,long orlarge and/or variabledelay,delays, asymmetric data rates, and high bit error rates.The purpose of the Bundle ProtocolThere isto support interoperability across such stressed networks. The stressed environment of the underlying networks over which the Bundle Protocol operates makes it important for the DTN to be protected from unauthorized use, and this stressed environment poses unique challenges for the mechanisms needed to secure the Bundle Protocol. Furthermore, DTNsa reasonable expectation that BP may be deployed inenvironments wheresuch a way that a portion of the network might become compromised, posing the usual security challenges related to confidentiality and integrity. However, the stressed nature of the BP operating environment imposes unique requirements such that the usual security mechanisms to usual security challenges may not apply. For example, the store-carry-forward nature of the network may require protecting data at rest while also preventing unauthorized consumption of critical resources such as storage space. The heterogeneous nature of the networks comprising the BP overlay, and/or associated timing, might prevent the establishment of an end-to-end session to provide a context for a security service. The partitionability of a DTN might prevent regular contact with a centralized security oracle (such as a certificate authority). An end-to-end security service is needed that operates in all of the environments where the BP operates. 1.2. Supported Security ServicesThis specification supportsBPSec provides end-to-end integrity and confidentiality servicesassociated withfor BP bundles. Integrity services ensure data within a bundle are not changed. Data changes may be caused by processing errors, environmental conditions, or intentional manipulation. An integrity service is one that provides sufficient confidence to a data receiver that data has not changed since its value was last asserted. Confidentiality services ensure thatthe values of someonly authorized receivers can view those data within a bundlecan onlyidentified as needing to bedetermined by authorized receivers ofprivate amongst thedata. When a bundle traversesdata source and data receivers. A confidentiality services is one that provides confidence to aDTN, manydata receiver that private data was not viewed by other nodesinas thenetwork other thanbundle traversed thedestination node MAY see the contents of a bundle. A confidentiality service allows a destination node to generate data values from otherwise encrypted contents of a bundle.DTN. NOTE: Hop-by-hop authentication is NOT a supported security service in this specification, for three reasons. 1. The term "hop-by-hop" is ambiguous in a BP overlay, as nodes that are adjacent in the overlay may not be adjacent in physical connectivity. This condition is difficult or impossible to predict in the overlay and therefore makes the concept of hop-by- hop authentication difficult or impossible to enforce at the overlay. 2. Networks in which BPSec may be deployed may have a mixture of security-aware and not-security-aware nodes. Hop-by-hop authentication cannot be deployed in a network if adjacent nodes in the network have different security capabilities. 3. Hop-by-hop authentication can be viewed as a special case of data integrity. As such,it is possible to develop policy that providesa version of authentication can be achieved by using the integrity mechanisms defined in this specification. 1.3. Specification Scope This documentdescribesdefines theBundle Protocol Security Specification (BPSec), which providessecurity servicesfor blocks within a bundle.provided by the BPSec. This includes the data specification forindividualrepresenting these services as BP extensionblocksblocks, and theprocessing instructionsrules forthose blocks.adding, removing, and processing these blocks at various points in the bundle's traversal of the DTN. BPSecapplies, by definition,applies only to those nodes that implement it, known as "security-aware" nodes. ThereMAYmight be other nodes in the DTN that do not implement BPSec.AllWhile all nodes in a BP overlay caninteroperate with the exception thatexchange bundles, BPSec security operations can only happen at BPSecsecurity-awaresecurity- aware nodes. This specification does not address individual cipher suite implementations. Different networking conditions and operational considerations require varying strengths of security mechanism such that mandating a cipher suite in this specification may result in too much security for some networks and too little security in others. The definition and enumeration of cipher suitesshouldis assumed to be undertaken in other, separate specification documents. This specification does not address the implementation of security policy and does not provide a security policy for the BPSec.SecuritySimilar to cipher suites, security policies aretypicallybased on the nature and capabilities of individual networks and network operational concepts.However, thisThis specification doesrecommendprovide policy considerations when building a security policy. This specification does not address how to combine the BPSec security blocks with other protocols, other BP extension blocks, or other best practices to achieve security in any particular network implementation. 1.4. Related Documents This document is best read and understood within the context of the following other DTN documents: "Delay-Tolerant Networking Architecture" [RFC4838] defines the architecture fordelay-tolerant networks, but does not discussDTNs and identifies certain securityat any length.assumptions made by existing Internet protocols that are not valid in a DTN. TheDTNBundle Protocol [BPBIS] defines the format and processing of theblocks used to implementbundles that both carry theBundle Protocol, excludingdata and thesecurity-specific blocks defined here.security services operating on those data. This document also defines the extension block format used to capture BPSec security blocks. The Bundle Security Protocol [RFC6257] andStreamlindStreamlined Bundle Security Protocol [SBSP]introducedocuments introduced the concepts of BP security blocks for securityservices.services in a DTN. The BPSec isbased offa continuation and refinement of these documents. 1.5. Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. This section definesthose terms whose definition is importantterminology either unique to the BPSec or otherwise necessary for understandingofthe conceptswithindefined in this specification. oSourceForwarder -the bundleany nodefrom whichthat transmits a bundleoriginates. o Destination -in thebundle node to which a bundle is ultimately destined. o Forwarder -DTN. The Node ID of thebundle nodeBundle Protocol Agent (BPA) thatforwardedsent the bundle on its most recent hop. o Intermediate Receiver, Waypoint, or "Next Hop" -the neighboring bundleany nodeto whichthat receives aforwarder forwardsbundle from abundle.Forwarder that is not the Destination. The Node ID of the BPA at any such node. o Path - the ordered sequence of nodes through which a bundle passes on its way fromsourceSource todestination.Destination. The path is not necessarily known in advance by thebundle,bundle or anybundle-aware nodes. TheBPAs in the DTN. o Security Block - a BPSec extension block in a bundle. o Security Operation - the application ofthese terms applieda security service to asample network topology is shownsecurity target, notated as OP(security service, security target). For example, OP(confidentiality, payload). Every security operation inFigure 1. This figure shows four bundle nodes (BN1, BN2, BN3, BN4) residing above some transport layer(s). Three distinct transport and network protocols (T1/N1, T2/N2, and T3/N3) are also shown. +---------v-| +->>>>>>>>>>v-+ +->>>>>>>>>>v-+ +-^---------+ | BN1 v | | ^ BN2 v | | ^ BN3 v | | ^ BN4 | +---------v-+ +-^---------v-+ +-^---------v-+ +-^---------+ | T1 v | + ^ T1/T2 v | + ^ T2/T3 v | | ^ T3 | +---------v-+ +-^---------v-+ +-^---------v + +-^---------+ | N1 v | | ^ N1/N2 v | | ^ N2/N3 v | | ^ N3 | +---------v-+ +-^---------v + +-^---------v-+ +-^---------+ | >>>>>>>>^ >>>>>>>>>>^ >>>>>>>>^ | +-----------+ +------------+ +-------------+ +-----------+ | | | | |<-- An Internet --->| |<--- An Internet --->| | | | | Figure 1: Bundle Nodes Sitting Above the Transport Layer. Consider the case where BN1 originatesa bundle MUST be unique, meaning thatit forwardsa security service can only be applied toBN2. BN2 forwardsa security target once in a bundle. A security operation is implemented by a security block. o Security Service - thebundle to BN3,security features supported by this specification: integrity andBN3 forwards theconfidentiality. o Security Source - a bundle node that adds a security block toBN4. BN1 is the source ofa bundle. o Security Target - the block within a bundleand BN4 isthat receives a security-service as part of a security-operation. o Source - thedestinationnode which originates a bundle. The Node ID of the BPA originating the bundle.BN12. Key Properties The application of security services in a DTN is a complex endeavor that must consider physical properties of thefirst forwarder,network, policies at each node, andBN2 is the first intermediate receiver; BN2 then becomes the forwarder, and BN3 the intermediate receiver; BN3 then becomes the last forwarder, and BN4 the last intermediate receiver, as well as the destination. If node BN2 originates a bundle (for example, a bundle status report or a custodial signal), which is then forwarded on to BN3, and then to BN4, then BN2 is the source of the bundle (as well as being the first forwarder of the bundle)various application security requirements. This section identifies andBN4 is the destination of the bundle (as well as beingdefines thefinal intermediate receiver). The following security-specific terminology is also defined to clarify security operations in this specifiation. o Security Service -key properties guiding design decisions for the securityfeatures supportedservices provided by thisspecification: integrity and confidentiality. ospecification. 2.1. Block-Level Granularity SecuritySource -services within this specification MUST allow different blocks within a bundlenode that adds ato have different securityblockservices applied toa bundle. o Security Target - thethem. As such, each security block within a bundlethat receives a security-service as part ofMUST be associated with asecurity-operation. o Security Block -specific security operation. Blocks within aBPSec extensionbundle represent different types of information. The primary blockincontains identification and routing information. The payload block carries application data. Extension blocks carry abundle. o Security Operation -variety of data that may augment or annotate theapplicationpayload, or otherwise provide information necessary for the proper processing of a bundle along a path. Therefore, applying a single level and type of securityserviceacross an entire bundle fails to recognize that blocks in a bundle may represent different types of information with different securitytarget, notated as OP(security service, security target).needs. For example,OP(confidentiality, payload). Every security operation inabundle MUST be unique, meaning that a security service can only be applied to a security target once in a bundle. A security operation is implemented by a security block. 2. Key Properties The application of security services in a DTN is a complex endeavor that must consider physical properties of the network, policies at each node, and various application security requirements. Rather than enumerate all potential security implementations in all potential DTN topologies, this specification defines a set of key properties of a security system. The security primitives outlined in this document MUST enable the realization of these properties in a DTN deploying the Bundle Protocol. 2.1. Block-Level Granularity Blocks within a bundle represent different types of information. The primary block contains identification and routing information. Thepayload blockcarries application data. Extension blocks carry a variety of data that may augment or annotate the payload, or otherwise provide information necessary for the proper processing of a bundle along a path. Therefore, applying a single level and type of security across an entire bundle fails to recognize that blocks in a bundle may represent different types of information with different security needs. Security services within this specification MUST provide block level granularity where applicable such that different blocks within a bundle may have different security services applied to them. For example, within a bundle, a payloadmight be encrypted to protect itscontents, whereascontents and an extension block containing summary information related to the payload might be integrity signed butotherwiseunencrypted to providecertain nodeswaypoints access topayload- relatedpayload-related data without providing access to the payload.Each security block in a bundle will be associated with a specific security operation.2.2. Multiple Security Sources A bundle MAY have multiple security blocks and these blocks MAY have different security sources. The Bundle Protocol allows extension blocks to be added to a bundle at any time during its existence in the DTN. When a waypointnodeadds a new extension block to a bundle, that extension block may have security services applied to it by that waypoint. Similarly, a waypointnodemay add a security service to an existing extension block, consistent with its security policy. For example, a node representing a boundary between a trusted part of the network and an untrusted part of the network may wish to apply payload encryption for bundles leaving the trusted portion of the network.In each case,When anode other than the bundle originator may addwaypoint adds a security service to thebundle and, as such,bundle, thesource forwaypoint is the securityservice will be different than thesourceof the bundle itself. Security services MUST track their orginating node so as to properly apply policy and key selection associated with processing thefor that service. The security block(s) which represent that serviceatin the bundledestination. Referringmay need toFigure 1, if the bundle that originates at BN1 is given security blocks by BN1, then BN1 is therecord this security sourcefor those blocks as wellasbeing the source of the bundle. Ifthe bundlethat originates at BN1 is then givendestination might need this information for processing. For example, a destination node might interpret policy as it related to securityblock by BN2, then BN2 isblocks as a function of the security source for thatblock even though BN1 remains the bundle source.block. 2.3. Mixed Security PolicyDifferentThe security policy enforced by nodes inathe DTNmay have different security related capabilities.MAY differ. Somenodeswaypoints may not be security aware and will notunderstand anybe able to process securityrelated extensionblocks.Other nodes may have security policies that require evaluation of security services at places other than the bundle destination (such as verifying integrity signatures at certain waypoint nodes). Other nodes may ignore any security processing if they are not the destination of the bundle. TheTherefore, securityservices described in this specification must allow each of these scenarios. Extensionblocksrepresenting security servicesMUST have theirblockprocessing flags set such that the block will be treated appropriately by non-security-awarenodes. Extension blocks providing integrity services within a bundle MUST support options to allow waypoint nodes to evaluate these signatures if such nodeswaypoints Some waypoints will havethe proper configuraton to do so. 2.4. User-Selected Ciphersuites Thesecurity policies that require evaluating security servicesdefined in this specification rely on a varietyeven if they are not the bundle destination or the final intended destination ofcipher suites providingthe service. For example, a waypoint may choose to verify an integritysignatures, ciphertext,service even though the waypoint is not the bundle destination and the integrity service will be needed by other node along the bundle's path. Some waypoints will determine, through policy, that they are the intended recipient of the security service and terminate the security service in the bundle. For example, a gateway node may determine that, even though it is not the destination of the bundle, it should verify and remove a particular integrity service or attempt to decrypt a confidentiality service, before forwarding the bundle along its path. Some waypoints may understand security blocks but refuse to process them unless they are the bundle destination. 2.4. User-Selected Cipher Suites The security services defined in this specification rely on a variety of cipher suites providing integrity signatures, cipher-text, and other information necessary to populate security blocks. Usersmay wish toMAY select different cipher suites to implementdifferentsecurity services. For example, some usersmay wish to usemight prefer a SHA-256 based hash for integrity whereas other users mayrequireprefer a SHA-384 hash instead. The security services defined in this specification MUST provide a mechanism for identifying what cipher suite has been used to populate a security block. 2.5. Deterministic ProcessingIn all cases, the processing order of security services withinWhenever abundlenode determines that it mustavoid ambiguity when evaluatingprocess more than one security block in a received bundle (either because the policy at a waypoint states that it should process security blocks or because the node is the bundledestination.destination) the order in which security blocks are processed MUST be deterministic. All nodes MUST impose this same deterministic processing order for all security blocks. This specificationMUST provideprovides determinism in the application and evaluation of security services, even when doing so results in a loss of flexibility. 3. Security Blocks 3.1. Block DefinitionsThere areThis specification defines two types of securityblocks that may be included in a bundle. These areblock: the Block Integrity Block (BIB) and the Block Confidentiality Block (BCB). The BIB is used to ensure the integrity of its security target(s). The integrity information in the BIB MAY(when possible)be verified by any node in between the BIB security source and the bundle destination. Security-aware waypoints may add or remove BIBsMAY be added to, and removed from,from bundlesas a matter ofin accordance with their security policy. The BCB indicates that the security target(s) has been encrypted, in whole or in part, at the BCB security source in order to protect its content while in transit. The BCB may be decrypted byappropriatesecurity-aware nodes in the network, up to and including the bundle destination, as a matter of security policy.A3.2. Uniqueness Security operations in a bundle MUST be unique - the same securityoperationservice MUST NOT be applied to a security target more than once in a bundle.For example, the twoSince a security operation is represented as a security block, this limits what security blocks may be added to a bundle: if adding a security block to a bundle would cause some other security block to no longer represent a unique security operation then the new block MUST NOT be added. If multiple security blocks representing the same securityoperations:operation were allowed in a bundle at the same time, there would exist ambiguity regarding block processing order and the property of deterministic processing blocks would be lost. Using the notation OP(service,target), several examples illustrate this uniqueness requirement. o Signing the payload twice: The two operations OP(integrity, payload) and OP(integrity, payload) areconsideredredundant andMUST NOT appear togethercannot both be present ina bundle. However,the same bundle at the same time. o Signing different blocks: The twosecurityoperations OP(integrity, payload) and OP(integrity, extension_block_1)MAYare not redundant and both may be present in thebundle. Also,same bundle at the same time. Similarly, the twosecurityoperations OP(integrity, extension_block_1) andOP(integrity, extension_block_2)OP(integrity,extension_block_2) areuniquealso not redundant and may bothappearbe present in thesame bundle. Ifbundle at the samesecurity service is totime. o Different Services on same block: The two operations OP(integrity,payload) and OP(confidentiality, payload) are not inherently redundant and may both beappliedpresent in the bundle at the same time, pursuant to other processing rules in this specification. 3.3. Target Multiplicity Under special circumstances, a single security block can represent multiple securitytargets, and cipher suite parameters for eachoperations as a way of reducing the overall number of securityservice are identical, thenblocks present in a bundle. In these circumstances, reducing the number of security blocks in the bundle reduces the amount of redundant information in the bundle. A set of security operationscanmay be representedasby a single security blockwith multiple security targets. In such a case, allif and only if the following conditions are true. o The security operationsrepresented inapply the same security service. For example, they are all integrity operations or all confidentiality operations. o The cipher suite parameters and key information for the security operations are identical. o The security source for the security operations is the same. Meaning the set of operations are being added/removed by the same node. o No security operations have the same security target, as that would violate the need for security operations to be unique. o None of the security operations conflict with security operations already present in the bundle. When representing multiple security operations in a single security block, the information that is common across all operations is represented once in the security block, and the information which is different (e.g., the security targets) are represented individually. When the security block is processed all security operations represented by the security block MUST be applied/evaluatedtogether. 3.1. Block Identification This specification requiresat thateverytime. 3.4. Target Identification A security target is a blockofin the bundle to which a securityoperationservice applies. This target MUST be uniquelyidentifiable.and unambiguously identifiable when processing a security block. The definition of the extension block header from [BPBIS] providessuchamechanism in the"Block Number"field, which provides a unique identifierfield fora block within a bundle. Withinexactly thisspecification,purpose. Therefore, a security targetwill be identified by its unique Block Number. A security block MAY apply to multiple security targets if and only if all cipher suite parameters, security source, and key information are common for the security operation. In suchin acase, thesecurity block MUSTcontain security results for each covered security target. The usebe represented as the Block Number ofmultiplethe target block. 3.5. Block Representation Each securitytargetsblock uses the Canonical Bundle Block Format as defined ina security block provides an efficiency mechanism so that identical ciphersuite information does not need to be repeated across multiple security blocks. 3.2. Block Representation Each security block uses the Canonical Bundle Block Format as defined in [BPBIS]. That is, each[BPBIS]. That is, each security block is comprised of the following elements: o Block Type Code o Block Number o Block Processing Control Flags o CRC Type and CRC Field (if present) o Block Data Length o Block Type Specific Data Fields Security-specific information for a security block is captured in the "Block Type Specific Data Fields". 3.6. Abstract Security Block The structure of the security-specific portions of a security block is identical for both the BIB and BCB BlockType Specific Data fields are identifcal and illustrated in Figure 2. InTypes. Therefore, thisfigure, field names prefaced withsection defines an'*' are optionalAbstract Security Block (ASB) data structure andtheir inclusion indiscusses theblockdefinition, processing, and other constraints for using this structure. An ASB isindicated bynever directly instantiated within a bundle, it is only a mechanism for discussing theCipher Suite Flags field. +================================================= | Field Name | Field Data Type | +================================================= | # Security Targets | Unsigned Integer | +---------------------+--------------------------+ | Security Targets | Array (Unsigned Integer) | +---------------------+--------------------------+ | Cipher Suite ID | Unsigned Integer | +---------------------+--------------------------+ | Cipher Suite Flags | Unsigned Integer | +---------------------+--------------------------+ | Security Source | URI - OPTIONAL | +---------------------+--------------------------+ | Cipher Parameters | Byte Array - OPTIONAL | +---------------------+--------------------------+ | Security Result | Byte Array | +---------------------+--------------------------+ Figure 2:common aspects of BIB and BCBBlock Structure Where the block fields are identified as follows. o # Security Targets -security blocks. Thenumberfields ofsecurity targets for this security block. This value MUSTthe ASB SHALL beat least 1. oas follows, listed in the order in which they MUST appear. SecurityTargets -Targets: Thisarray containsfield identifiers theunique identifierblock or blocks that are the target of theblocks targettedsecurity operation(s) represented by this securityoperation.block. Each security targetMUST represent a block present inis identified as the Block Number of thebundle. A securitytargetMUST NOTblock. This field SHALL berepeated in this array. orepresented by a CBOR array of data items. Each target within this CBOR array SHALL be represented by a CBOR unsigned integer. This array MUST have at least 1 item. Ciphersuite ID - IdentifiesSuite Id: This field identifies the cipher suite used to implement the security service represented by this block and applied to each security target.oThis field SHALL be represented by a CBOR unsigned integer. Ciphersuite flags - IdentifiesSuite Flags: This field identifiers which optionalsecurity blockfields are present in the security block.The structure of the Cipher Suite FlagsThis fieldis shown in Figure 3. The presence of an optionalSHALL be represented as a CBOR unsigned integer containing a bit fieldis indicated by setting the valueof 5 bits indicating thecorresponding flag to one. A valuepresence or absence ofzero indicates the corresponding optional field is not present. The BPSEC Cipher Suite Flags are definedother security block fields, as follows. Bit 1 (the most-significant bit, 0x10): reserved. Bit 2 (0x08): reserved. Bit 3 (0x04): reserved. Bit 4 (0x02): Security Source Present Flag. BitBit Bit Bit 7 654 3 2 1 0 +-----------------------------------+-----+-----+ | reserved | src |parm | +-----------------------------------+-----+-----+ MSB LSB Figure 3:(the least-significant bit, 0x01): Cipher SuiteFlags Where: * bits 7-2 are reserved for future use. * src - bitParameters Present Flag. In this field, a value of 1 indicateswhetherthat theSecurity Source is presentassociated security block field MUST be included in the security block.* parm - bitA value of 0 indicateswhether or notthat theCipher Suite Parametersassociated security block fieldis presentMUST NOT be in the security block.o (OPTIONAL)Security Source(URI) -(Optional Field): This field identifies thenodeEndpoint that inserted the securityserviceblock in the bundle. If the security source field is not present then the source MAY be inferred from other information, such as the bundlesource,source or the previous hop,or some other nodeas defined by security policy.o (OPTIONAL)This field SHALL be represented by a CBOR array in accordance with [BPBIS] rules for representing Endpoint Identifiers (EIDs). Cipher Suite Parameters(Byte Array) - Compound(Optional Field): This fieldof the following two items. * Length (Unsigned Integer) - specifies the length of the next field, whichcapturesthe parameters data. * Data (Byte Array) - A byte array encodingone or more cipher suiteparameters, with eachparameters that should be provided to security-aware nodes when processing the security service described by this security block. This field SHALL be represented by a CBOR array. Each entry in this array is a single cipher suite parameter. A single cipher suite parameter SHALL also be represented as aType- Length-Value (TLV) triplet, definedCBOR array comprising a 2-tuple of the type and value of the parameter, as follows.+ Type (Byte) - The* Parameter Type. This field identifiers which cipher suite parametertype. + Length (Unsigned Integer) - The length ofis being specified. This field SHALL be represented as a CBOR unsigned integer. Potential parameter types are described in Section 3.10. Other specifications MAY define additional parameter types for use in this field. * Parameter Value. This field captures the value associated with this parameter.+ Value (Byte Array) - TheThis field SHALL be represented by the applicable CBOR representation of the parametervalue. Seetype. These specifications are given in Section3.63.10 fora list ofparameter types defined in this specification. Other specifications that define other parameter types MUST include the appropriate CBOR encoding of the parameter value. Therefore, this field SHALL besupported by BPSEC implementations. BPSEC cipher suite specifications MAY define their own parametersrepresented as a CBOR array of CBOR arrays. Security Results: This field captures the results of applying a security service to the security targets in this security block. This field SHALL be represented as a CBOR array. Each entry in thisbyte array. o Security Result (Byte Array) - A security result is the outputarray represents a "target list" ofan appropriate cipher suite specific calculation (e.g.,security results for asignature, Message Authentication Code (MAC), or cipher-text block key).specific security target. There MUSTexistbe onesecurity result"target list" for eachsecurityentry in the Security Targets field and target lists in thesecurity block. A security result is a multi-field component, describedSecurity Results field MUST be in the same order asfollows. * Total Length (Unsigned Integer) - specifiesthelength,Security Targets field (e.g., the first "target list" MUST hold results for the first entry inbytes, oftheremaining security result information. * Results (Byte Array) - This field captures eachSecurity Targets field, and so on). A "target list" is also represented as a CBOR array oftheindividual securityresults, catenated together, oneresults foreach security target covered by thethat target. An individual securityblock. Eachresult iscaptured byalso represented as a CBOR array comprising thefour-tuple of (Target, Type, Len, Value). The meaning2-tuple ofeach is given below. + Target (Optional) (Unsigned Integer) - If the security block has multiple security targets,thetargetresult type and result value, defined as follows. * Result Type. This fieldiscaptures theBlock Numbertype ofthesecuritytarget to which thisresult. Some security resultfield applies. Iftypes capture thesecurity block only hasprimary output of asinglecipher suite. Other securitytarget, thisresults contain additional annotative information from the cipher suite processing. This fieldis omitted. + Type (Unsigned Integer) - The type of securitySHALL be represented as a CBOR unsigned integer. Potential result types are described in Section 3.10. Other specifications MAY define additional result types for use in this field.+ Length (Unsigned Integer) - The length* Result Value. This field captures the value associated with this result for this target. This field SHALL be represented by the applicable CBOR representation of the resultfield. + Value (Byte Array) - The resultstype. These specifications are given in Section 3.10 for result types defined in this specification. Other specifications that define other result types MUST include the appropriate CBOR encoding of thecipher suite specific calculation. 3.3.result value. 3.7. Block Integrity Block A BIB isan ASBa bundle extension block with the followingcharacteristics:characteristics. o The Block Type Code valueMUST be 0x02.is as specified in Section 12.1. o The BlockProcessing Control flags value can be set to whatever values are required by local policy. Cipher suite designers should carefully considerType Specific Data Fields follow theeffectstructure ofsetting flags that either discard the block or delete the bundle intheevent that this block cannot be processed.ASB. o A security targetfor a BIBlisted in the Security Targets field MUST NOT reference a security block defined in this specification (e.g., a BIB or a BCB). o Thecipher suite IDCipher Suite Id MUST be documented as an end-to-end authentication-cipher suite or as an end-to-end error-detection- cipher suite. o An EID-reference to the security source MAY be present. If this field is not present, then the security source of the block SHOULD be inferred according to security policy and MAY default to the bundle source. The security source may also be specified as part of key information described in Section3.6. The security result captures the result of applying the cipher suite calculation (e.g., the MAC or signature) to the relevant parts of the security target, as specified in the cipher suite definition. This field MUST be present.3.10. o The cipher suite MAY process less than the entire security target. If the cipher suite processes less than the complete, original security target, the cipher suite parameters MUST specify which bytes of the security target are protected. Notes: o It is RECOMMENDED that cipher suite designers carefully consider the effect of setting flags that either discard the block or delete the bundle in the event that this block cannot be processed. o Since OP(integrity, target) is allowed only once in a bundle per target, it is RECOMMENDED that users wishing to support multiple integrity signatures for the same target define a multi-signature cipher suite. o For some cipher suites, (e.g., those using asymmetric keying to produce signatures or those using symmetric keying with a group key), the security information MAY be checked at any hop on the way to the destination that has access to the required keying information, in accordance with Section3.5.3.9. o The use of a generally available key is RECOMMENDED if custodial transfer is employed and all nodes SHOULD verify the bundle before accepting custody.3.4.3.8. Block Confidentiality Block A BCB isan ASBa bundle extension block with the followingcharacteristics:characteristics. The Block Type Code valueMUST be 0x03.is as specified in Section 12.1. The Block Processing Control flags value can be set to whatever values are required by local policy, except that this block MUST have the "replicate in every fragment" flag set if the target of the BCB is the Payload Block. Having that BCB in each fragment indicates to a receiving node that the payload portion of each fragment represents cipher-text.Cipher suite designers should carefully considerThe Block Type Specific Data Fields follow theeffectstructure ofsetting flags that either discardtheblock or delete the bundle in the event that this block cannot be processed.ASB. A security targetfor a BCBlisted in the Security Targets field MAY reference the payload block, a non-security extension block, or a BIB block. Asecurity target in aBCB MUST NOTbeinclude anotherBCB.BCB as a security target. A BCB MUST NOT target the primary block. Thecipher suite IDCipher Suite Id MUST be documented as a confidentiality cipher suite. Any additional bytes generatedas a result of encryption and/or authentication processing offrom applying the cipher suite to a security targetSHOULD(such as additional authenticated text) MAY be placed in an"integrity check value" field (see Section 3.6) or other suchappropriatearea in thesecurity resultof the BCB. An EID-reference to the security source MAY be(e.g., an Integrity Check Value) in accordance with cipher suite and security policy. An EID-reference to the security source MAY be present. If this field is not present, then the security source of the block SHOULD be inferred according to security policy and MAY default to the bundle source. The security source may also be specified as part of key information described in Section3.6. The security result MUST be present in the BCB. This compound field normally contains fields such as an encrypted bundle encryption key and/or authentication tag.3.10. The BCB modifies the contents of its securitytarget.target(s). When a BCB is applied, the security target body data are encrypted "in-place". Following encryption, the security targetbody dataBlock Type Specific Data Fields containscipher- text,cipher-text, not plain-text. Othersecurity targetblock fields(such as type, processing control flags, and length)remainunmodified.unmodified, with the exception of the Block Data Length field, which may be changed if the BCB is allowed to change the length of the block (see below). Fragmentation, reassembly, and custody transfer are adversely affected by a change in size of the payload block due to ambiguity about what byte range of the block is actually in any particular fragment. Therefore, when the security target of a BCB is the bundle payload, the BCB MUST NOT alter the size of the payload block body data.Cipher suites SHOULD place any block expansion, such as authentication tags (integrity check values) and any padding generated by a block-mode cipher, into an integrity check value item in the security result field (see Section 3.6) of the BCB.This"in- place""in-place" encryption allows fragmentation, reassembly, and custody transfer to operate without knowledge of whether or not encryption has occurred. If a BCB cannot alter the size of the security target (e.g., the security target is the payload block or block length modifications are disallowed by policy) then differences in the size of the cipher- text and plain-text MUST be handled in the following way. If the cipher-text is shorter in length than the plain-text, padding must be used in accordance with the cipher suite policy. If the cipher-text is larger than the plain-text, overflow bytes MUST be placed in overflow parameters in the Security Result field. Notes: o It is RECOMMENDED that cipher suite designers carefully consider the effect of setting flags that either discard the block or delete the bundle in the event that this block cannot be processed. o The cipher suite MAY process less than the entire original security target body data. If the cipher suite processes less than the complete, original security target body data, the BCB for that security target MUST specify, as part of the cipher suite parameters, which bytes of the body data are protected. o TheBCB's "discard" flag mayBCB block processing control flags MAY be set independently fromits security target's "discard" flag. Whether or nottheBCB's "discard" flag is set is an implementation/policy decision forprocessing control flags of theencrypting node. (The "discard" flag is more properly called the "Discard if block cannotsecurity target(s). The setting of such flags SHOULD beprocessed" flag.)an implementation/policy decision for the encrypting node. o A BCB MAY include information as part of additional authenticated data to address parts of the targetblock, such as EID references,block that are not converted to cipher-text.3.5.3.9. Block Interactions The security block types defined in this specification are designed to be as independent as possible. However, there are some cases where security blocks may share a security target creating processing dependencies. If confidentiality is being applied to a target that already has integrity applied to it, then an undesirable condition occurs where a security awareintermediate nodewaypoint would be unable to check the integrity result of a block because the block contents have been encrypted after the integrity signature was generated. To address this concern, the following processing rules MUST be followed. o If confidentiality is to be applied to a target, it MUST also be applied to any integrity operation already defined for that target. This means that if a BCB is added to encrypt a block, another BCB MUST also be added to encrypt a BIB also targeting that block. o An integrity operation MUST NOT be applied to a security target if a BCB in the bundle shares the same security target. This prevents ambiguity in the order of evaluation when receiving a BIB and a BCB for a given security target. o An integrity value MUST NOT be evaluated if the BIB providing the integrity value is the security target of an existing BCB block in the bundle. In such a case, the BIB data contains cipher-text as it has been encrypted. o An integrity value MUST NOT be evaluated if the security target of the BIB is also the security target of a BCB in the bundle. In such a case, the security target data contains cipher-text as it has been encrypted. o As mentioned in Section3.3,3.7, a BIB MUST NOT have a BCB as its security target. BCBs may embed integrity results as part ofcipher suite parameters.security results. These restrictions on block interactions impose a necessary ordering when applying security operations within a bundle. Specifically, for a given security target, BIBs MUST be added before BCBs. This ordering MUST be preserved in cases where the current BPA is adding all of the security blocks for the bundle or whether the BPA is a waypoint adding new security blocks to a bundle that already contains security blocks.3.6.3.10. Parameters and ResultFields Various cipher suites include several items in the cipherTypes Cipher suite parametersand/orand securityresult fields. Which items MAY appear is definedresults may capture multiple types of information in a security block. This section identifies a set of parameters and results that are available in any BPSec implementation for use bythe particularany ciphersuite description.suite. Individual cipher suites MAY define additional parameters and results. A cipher suite MAYsupport severalinclude multiple instances of the same typewithinof parameter or result in asinglesecurity block.Each item isParameters and results are representedas a type-length-value. Type isusing CBOR, and any identification of asingle byte indicating the item. Length isnew parameter or result type MUST include how thecountvalue ofdata bytes to follow, and is an Unsigned Integer. Value isthedata content oftype will be represented using theitem. Item types, name, and descriptionsCBOR specification. Types themselves are always represented as a CBOR unsigned integer. Cipher suite parameter types, as defined by this specification, are as follows. Ciphersuite parameters and result fields. +-------+----------------+-----------------------------+------------+Suite Parameter Types. +------+----------------+--------------------------+----------------+ | Type | Name | Description |FieldCBOR |+-------+----------------+-----------------------------+------------+|0|Reserved| | Representation |+-------+----------------+-----------------------------+------------++------+----------------+--------------------------+----------------+ |10 | Initialization | A random value,typically|CipherByte String | | | Vector(IV)| typically eight tosixteen bytes. | Suite| | | | |Parameters | +-------+----------------+-----------------------------+------------+ | 2 | Reserved |sixteen bytes. | |+-------+----------------+-----------------------------+------------++------+----------------+--------------------------+----------------+ |31 | Key | Material encoded or |CipherByte String | | | Information | protected by the key |Suite| | | | management system andused|Parameters| | | | used to transport anephemeral| | | | | ephemeral key protectedby a long-| | | | |termby a long-term key. | |+-------+----------------+-----------------------------+------------++------+----------------+--------------------------+----------------+ |42 | Content Range | Pair of UnsignedIntegers|CipherCBOR Array | | | | Integers (offset,length)specifying|Suitecomprising a | | | | specifying the range ofpayload bytes|Parameters2-tuple of | | | | payload bytes to which | CBOR unsigned | | | | an operation applies. | integers. | | | |applies.The offset MUST be the | | | | |theoffset within the | | | | | original bundle, even if | | | | | the current bundle is a | | | | | fragment. | |+-------+----------------+-----------------------------+------------+ | 5 | Integrity+------+----------------+--------------------------+----------------+ |Result of BIB digest or3 |SecuritySalt | An IV-like value used by | Byte Array |Signatures|other signing operation.|Results|+-------+----------------+-----------------------------+------------+certain confidentiality | | | | | suites. | | +------+----------------+--------------------------+----------------+ | 4-31 | Reserved | Reserve for future BPSec | | |6| | protocol expansion | | +------+----------------+--------------------------+----------------+ | >= | Unassigned | Unassigned by this | |+-------+----------------+-----------------------------+------------+|732 |Salt|An IV-like value usedspecification. Can be | | | | | assigned by cipher suite |Cipher| | | |certain confidentialityspecifications. |Suite| +------+----------------+--------------------------+----------------+ Table 1 Security result parameter types, as defined by this specification, are as follows. Security Result Types. +------+----------------+--------------------------+----------------+ | Type | Name | Description | CBOR |suites.|Parameters|+-------+----------------+-----------------------------+------------+|8| Representation | +------+----------------+--------------------------+----------------+ | 0 | Integrity | Result of BIB digest or | Byte String | | | Signatures | other signing operation. | | +------+----------------+--------------------------+----------------+ | 1 | BCB Integrity | Output from certain |SecurityByte String | | | Check Value | confidentiality cipher |Results| | | (ICV) / | suite operations to beused| | | | Authentication | used at the destinationto| | | | Tag | to verify that theprotected| | | | | protected data has not | | | | | been modified. This | | | | |Thisvalue MAY contain | | | | | padding if required bythe| | | | | the cipher suite. | |+-------+----------------+-----------------------------+------------++------+----------------+--------------------------+----------------+ |9-2552-31 | Reserved | Reserve for future BPSec | | | | | protocol expansion | | +------+----------------+--------------------------+----------------+ | >= | Unassigned | Unassigned by this | | | 32 | | specification. Can be | | | | |+-------+----------------+-----------------------------+------------+assigned by cipher suite | | | | | specifications. | | +------+----------------+--------------------------+----------------+ Table1 3.7.2 3.11. BSP Block Example An example of BPSec blocks applied to a bundle is illustrated in Figure4.1. In this figure the first column represents blocks within a bundle and the second column representsa unique identifier for each block, suitable for use asthesecurity target of a BPSec security block. SinceBlock Number for themechanism and format of a security target is not specified in this document,block, using the terminology B1...Bnis used to identify blocks in the bundlefor thepurposespurpose of illustration. Block in Bundle ID +===================================+====+ | Primary Block | B1 | +-----------------------------------+----+ | BIB | B2 | | OP(integrity, target=B1) | | +-----------------------------------+----+ | BCB | B3 | | OP(confidentiality, target=B4) | | +-----------------------------------+----+ | Extension Block | B4 | +-----------------------------------+----+ | BIB | B5 | | OP(integrity, target=B6) | | +-----------------------------------+----+ | Extension Block | B6 | +-----------------------------------+----+ | BCB | B7 | |OP(confidentiality,target=B8,B9)OP(confidentiality,targets=B8,B9) | | +-----------------------------------+----+ | BIB (encrypted by B7) | B8 | | OP(integrity, target=B9) | | +-----------------------------------+----| | Payload Block | B9 | +-----------------------------------+----+ Figure4:1: Sample Use ofBSPBPSec Blocks In this example a bundle has four non-security-related blocks: the primary block (B1),threetwo extension blocks (B4,B6), and a payload block (B9). The following security applications are applied to this bundle. o An integrity signature applied to the canonicalized primary block. This is accomplished by a single BIB (B2). o Confidentiality for the first extension block (B4). This is accomplished by a BCB block (B3). o Integrity for the second extension block (B6). This is accomplished by a BIB block (B5). NOTE: If the extension block B6 contains a representation of the serialized bundle (such as a hash over all blocks in the bundle at the time of its last transmission) then the BIB block is also providing an authenticationservice from the prior BPSEC-BPA to this BPSEC-BPA.service. o An integrity signature on the payload (B10). This is accomplished by a BIB block (B8). o Confidentiality for the payload block and it's integrity signature. This is accomplished by a BCB block, B7, encrypting B8 and B9.4. Canonical Forms By definition, an integrityIn this case, the security source, key parameters, and servicedetermines whether any aspect ofare identical, so a single security block MAY be used for this purpose, rather than requiring two BCBs one to encrypt B8 and one to encrypt B9. 4. Canonical Forms By definition, an integrity service determines whether any aspect of a block was changed from the moment the security service was applied at the security source until the point ofcurrentevaluation. To successfully verify the integrity of a block, the data passed to the verifying cipher suite MUST be the same bits, in the same order, as those passed to the signature-generating cipher suite at the security source.However, [BPBIS] does not specify a single on-the-wire encoding of bundles. In cases where a security source generates a different encoding than that used at a receiving node, care MUST be taken to ensure that the inputs to cipher suites at the receiving node is a bitwise match to inputs provided at the security source.This section provides guidance on how to create a canonical form for each type of block in a bundle. This form MUST be used when generating inputs to cipher suites for use by BPSec blocks.This specification does not define any security operation over the entire bundle and, therefore, provides no canonical form for a serialized bundle.4.1. Technical Notes The following technical considerations hold for all canonicalizations in this section. o Any numeric fields defined as variable-length MUST be expanded to their"unpacked" form. For example,largest unpacked form before being used by a cipher suite. If a field does not specify a maximum size, a32-bitmaximum size of 32 bits for integervalue MUSTand 64 bits for floating point values SHALL beunpacked to a four-byte representation. o Each block encoding MUST follow the CBOR encodings provided in [BPBISCBOR].assumed. o Canonical forms are not transmitted, they are used to generate input to a cipher suite forsecuitysecurity processing at asecurity-awaresecurity- aware node. o Reserved flags MUST NOT be included in any canonicalization as it is not known if those flags willchanegchange in transit. o These canonicalization algorithms assume thatendpointEndpoint IDsthemselves are immutabledo not change from the time at which a security source adds a security block to a bundle andthey are unsuitable for use in environments wherethe time at which a node processes thatassumption might be violated.security block. o Cipher suites MAY define their own canonicalization algorithms and require the use of those algorithms over the ones provided in this specification. In the event of conflicting canonicalization algorithms, cipher suite algorithms take precedence over this specification. 4.2. Primary Block Canonicalization The canonicalization of the primary blockcanonical formisthe sameasthe CBOR encoding of the block,specified in [BPBIS] withcertain modifications to account for allowed block changes as the bundle traverses the DTN. The fields that compromisetheprimary block, and any special considerations for their representation in a canonical form, are as follows. o The Version field is included, without modification.following exceptions. o The following Bundle Processing Control Flagsfield is used, with modification. Certain bundle processing flagsMAY change as a bundle transits the DTN without indicating an integrityerror. These flags, which are identified below,error and, therefore, MUST NOT berepresentedincluded in thecanonicalized formcanonicalization of thebundle processing flags and, instead, be represented by the bit 0. * Reserved flags.primary block. * Bundle is aFragment flag. o The CRC Type, Destination EID, Source Node ID, Report-To EID, Creation Timestamp, and Lifetime fields are included, without modification. o The fragment ID field MAY change iffragment. (Bit 15, 0x0001) * Custody transfer requested for this bundle. (Bit 12, 0x0008) * Reserved (Bits 0-2, 0xE000) Regardless of thebundle is fragmentedvalue of these flags intransit and, as such, this fieldthe primary block, they MUSTNOTbeincluded in the canonicalization.set to 0 when canonicalized for security processing. o The CRC field MAY change at each hop - for example, if a bundle becomes fragmented, each fragment will have a different CRC value from the original signed primary block. As such, this field MUST NOT be included in the canonicalization. 4.3. Non-Primary-Block Canonicalization All non-primary blocks (NPBs)in [BPBIS]share the same block structure andshould beare canonicalized as specified in [BPBIS] with thesame way. Canonicalization for NPBs is dependent on whetherfollowing exceptions. o If thesecurity operationservice beingperformed is integrity or confidentiality. Integrity operations consider every field in the block, whereas confidentiality operations only consider the block-type-specific data. Since confidentiality isappliedto hide information (replacing plaintext with ciphertext) it provides no benefit to include in theis a confidentialitycalculation information that MUST remain readable, such as block fields other thanservice, then theblock-type-specific data. The fields that comprise a NPB,Block Type Code, Block Number, Block Processing Control Flags, CRC Type andany special considerations for their representationCRC Field (if present), and Block Data Length fields MUST NOT be included ina canonical form,the canonicalization. Confidentiality services areas follows. o Theused to convert the Block TypeCode field is included, without modification, for integrity operations and omitted for confidentiality operations. o The Block Number field is included, without modification, for integrity operations and omitted for confidentiality operations.Specific Data Fields from plain-text to cipher-text. o The BlockProcessing Control Flags fieldType Specific Data Field is included, without modification, for both integrityoperationsandomitted forconfidentialityoperations,services, with the exceptionof reserved flags which are treated as 0 in both cases. o The CRC type and CRC fields are included, without modification, for integrity operations and omitted for confidentiality operations. o The Block Type Specific Data field is included, without modification, for both integrity and confidentiality operations, with the exception thatthat in some cases only a portion of the payload data is to be processed. In such a case, only those bytes are included in the canonical form and additional cipher suite parameters are required to specify which part of the field is included. 5. Security Processing This section describes the security aspects of bundle processing. 5.1. Bundles Received from Other Nodes Security blocks MUST be processed in a specific order when received by a security-aware node. The processing order is as follows. o All BCB blocks in the bundle MUST be evaluated prior to evaluating any BIBs in the bundle. When BIBs and BCBs share a security target, BCBs MUST be evaluated first and BIBs second. 5.1.1. Receiving BCB Blocks If a received bundle contains a BCB, the receiving node MUST determine whether it has the responsibility of decrypting the BCB security target and removing the BCB prior to delivering data to an application at the node or forwarding the bundle. If the receiving node is the destination of the bundle, the node MUST decrypt any BCBs remaining in the bundle. If the receiving node is not the destination of the bundle, the node MAY decrypt the BCB if directed to do so as a matter of security policy. If the security policy of a security-aware node specifies that a bundle should have applied confidentiality to a specific security target and no such BCB is present in the bundle, then the node MUST process this security target in accordance with the security policy. This MAY involve removing the security target from the bundle. If the removed security target is the payload block, the bundle MAY be discarded. If the relevant parts of an encrypted payload block cannot be decrypted (i.e., the decryption key cannot be deduced or decryption fails), then the bundle MUST be discarded and processed no further. If an encrypted security target other than the payload block cannot be decrypted then the associated security target and all security blocks associated with that target MUST be discarded and processed no further. In both cases, requested status reports (see [BPBIS]) MAY be generated to reflect bundle or block deletion. When a BCB is decrypted, the recovered plain-text MUST replace the cipher-text in the security targetbody dataBlock Type Specific Data Fields. If the Block Data Length field was modified at the time of encryption it MUST be updated to reflect the decrypted block length. If a BCB contains multiple security targets, all security targets MUST be processedifwhen the BCB isprocessed by the Node. The effect of this is toprocessed. Errors and other processing steps SHALL bethe samemade as if each security target had been represented by an individual BCB with a single security target. 5.1.2. Receiving BIB Blocks If a received bundle contains a BIB, the receiving node MUST determine whether it has the final responsibility of verifying the BIB security target andwhether to remove the BIBremoving it prior to delivering data to an application at the node or forwarding the bundle. If a BIB check fails, the security target has failed to authenticate and the security target SHALL be processed according to the security policy. A bundle status report indicating the failure MAY be generated. Otherwise, if the BIB verifies, the security target is ready to be processed for delivery. A BIB MUST NOT be processed if the security target of the BIB is also the security target of a BCB in the bundle. Given the order of operations mandated by this specification, when both a BIB and a BCB share a security target, it means that the security target MUST have been encrypted after it was integrity signed and, therefore, the BIB cannot be verified until the security target has been decrypted by processing the BCB. If the security policy of a security-aware node specifies that a bundle should have applied integrity to a specific security target and no such BIB is present in the bundle, then the node MUST process this security target in accordance with the security policy. This MAY involve removing the security target from the bundle. If the removed security target is the payload or primary block, the bundle MAY be discarded. This action may occur at any node that has the ability to verify an integrity signature, not just the bundle destination. Ifthe bundle hasaBIB and thereceiving nodeis the destination fordoes not have thebundle,final responsibility of verifying thenode MUSTBIB it MAY still attempt to verify thesecurity target in accordance withBIB to prevent thecipher suite specification.needless forwarding of corrupt data. Ifa BIBthe check fails, the node SHALL process the security targethas failed to authenticate and the security target SHALL be processed according to the security policy. A bundle status report indicating the failure MAY be generated. Otherwise, if the BIB verifies, the security target is ready to be processed for delivery. If the bundle has a BIB and the receiving node is not the bundle destination, the receiving node MAY attempt to verify the value in the security result field. If the check fails, the node SHALL process the security target in accordancein accordance to local security policy. It is RECOMMENDED that if a payload integrity check fails at a waypoint that it is processed in the same way as if the check fails at the destination. If the check passes, the node MUST NOT remove the BIB prior to forwarding. If a BIB contains multiple security targets, all security targets MUST be processed if the BIB is processed by the Node.The effect of this is toErrors and other processing steps SHALL bethe samemade as if each security target had been represented by an individual BIB with a single security target. 5.2. Bundle Fragmentation and Reassembly If it is necessary for a node to fragment a bundle payload, and security services have been applied to that bundle, the fragmentation rules described in [BPBIS] MUST be followed. As defined there andrepeatedsummarized here for completeness, only the payload block may be fragmented; security blocks, like all extension blocks, can never be fragmented. Due to the complexity ofbundlepayload block fragmentation, including the possibility of fragmentingbundlepayload block fragments, integrity and confidentiality operations are not to be applied to a bundle representing afragment (i.e.,fragment. Specifically, a BCB or BIB MUST NOT be added to a bundlewhose "bundleif the "Bundle is a Fragment" flag is set in the Bundle Processing Control Flagsfield). Specifically, a BCB or BIB MUST NOT be added to a bundle fragment, even iffield. Security processing in thesecurity targetpresence ofthe securitypayload blockis not the payload. When integrity and confidentiality mustfragmentation MAY beapplied to a fragment, we RECOMMEND thathandled by other mechanisms outside of the BPSec protocol or by applying BPSec blocks in coordination with an encapsulationbe used instead.mechanism. 6. Key ManagementKey managementThere exist a myriad of ways to establish, communicate, and otherwise manage key information indelay-tolerant networksa DTN. Certain DTN deployments might follow established protocols for key management whereas other DTN deployments might require new and novel approaches. BPSec assumes that key management isrecognizedhandled as adifficult topicseparate part of network design andis one thatthis specificationdoes not attempt to solve.neither defines nor requires a specific key management strategy. 7. Security Policy Considerations When implementing BPSec, several policy decisions must be considered. This section describes key policies that affect the generation, forwarding, and receipt of bundles that are secured using this specification. No single set of policy decisions is envisioned to work for all secure DTN deployments. o If a bundle is received that contains more than one security operation, in violation of BPSec, then the BPA must determine how to handle this bundle. The bundle may be discarded, the block affected by the security operation may be discarded, or one security operation may be favored over another. o BPAs in the network MUST understand what security operations they should apply to bundles. This decision may be based on the source of the bundle, the destination of the bundle, or some other information related to the bundle. o Ifan intermediate receivera waypoint has been configured to add a security operation to a bundle, and the received bundle already has the security operation applied, then the receiver MUST understand what to do. The receiver may discard the bundle, discard the security target and associated BPSec blocks, replace the security operation, or some other action. o It is recommended that security operations only be applied to thepayload block, the primary block, and any block-types specifically identified in the security policy.blocks that absolutely need them. If a BPA were to apply security operations such as integrity or confidentiality to every block in the bundle, regardless ofthe block type,need, there could be downstream errors processing blocks whose contents must be inspected or changed at every hopinalong thenetworkpath. o Adding a BIB to a security target that has already been encrypted by a BCB is not allowed.Therefore, we recommend three methods to add an integrity signatureIf this condition is likely toan encrypted security target.be encountered, there are (at least) three possible policies that could handle this situation. 1. At the time of encryption, an integrity signature may be generated and added to the BCB for the security target as additional information in the security result field. 2. The encrypted block may be replicated as a new block and integrity signed. 3. An encapsulation scheme may be applied to encapsulate the security target (or the entire bundle) such that the encapsulating structure is, itself, no longer the security target of a BCB and may therefore be the security target of a BIB. 8. Security Considerations Given the nature ofdelay-tolerant networkingDTN applications, it is expected that bundles may traverse a variety of environments and devices which each pose unique security risks and requirements on the implementation of security withinBPSEC.BPSec. For these reasons, it is important to introduce key threat models and describe the roles and responsibilities of theBPSECBPSec protocol in protecting the confidentiality and integrity of the data against thosethreats throughout the DTN.threats. This section provides additional discussion on security threats thatBPSECBPSec will face anddescribe in additional detaildescribes howBPSECBPSec security mechanisms operate to mitigate these threats. It should be noted that BPSEC addresses only the security of data traveling over the DTN, not the underlying DTN itself. Additionally,BPSECBPSec addresses neither the fitness of externally-defined cryptographic methods nor the security of their implementation. It is the responsibility of theBPSECBPSec implementer that appropriate algorithms and methods are chosen. Furthermore, theBPSECBPSec protocol does not address threats which share computing resources with the DTN and/orBPSECBPSec software implementations. These threats may be malicious software or compromised libraries which intend to intercept data or recover cryptographic material. Here, it is the responsibility of theBPSECBPSec implementer to ensure that any cryptographic material, including shared secret or private keys, is protected against access within both memory and storage devices. The threat model described here is assumed to have a set of capabilities identical to those described by the Internet Threat Model in [RFC3552], but theBPSECBPSec threat model is scoped to illustrate threats specific toBPSECBPSec operating within DTN environments and therefore focuses on man-in-the-middle (MITM) attackers. 8.1. Attacker Capabilities and ObjectivesBPSECBPSec was designed to protect against MITM threats which may have access to a bundle during transit from its source, Alice, to its destination, Bob. A MITM node, Mallory, is a non-cooperative node operating on the DTN between Alice and Bob that has the ability to receive bundles, examine bundles, modify bundles, forward bundles, and generate bundles at will in order to compromise the confidentiality or integrity of data within the DTN. For the purposes of this section, any MITM node is assumed to effectively be security-aware even if it does not implement the BPSec protocol. There are three classes of MITM nodes which are differentiated based on their access to cryptographic material: o Unprivileged Node: Mallory has not been provisioned within the secure environment and only has access to cryptographic material which has been publicly-shared. o Legitimate Node: Mallory is within the secure environment and therefore has access to cryptographic material which has been provisioned to Mallory (i.e., K_M) as well as material which has been publicly-shared. o Privileged Node: Mallory is a privileged node within the secure environment and therefore has access to cryptographic material which has been provisioned to Mallory, Alice and/or Bob (i.e. K_M, K_A, and/or K_B) as well as material which has been publicly- shared. If Mallory is operating as a privileged node, this is tantamount to compromise; BPSec does not provide mechanisms to detect or remove Mallory from the DTN or BPSec secure environment. It is up to the BPSec implementer or the underlying cryptographic mechanisms to provide appropriate capabilities if they are needed. It should also be noted that if the implementation of BPSec uses a single set of shared cryptographic material for all nodes, a legitimate node is equivalent to a privileged node because K_M == K_A == K_B. A special case of the legitimate node is when Mallory is either Alice or Bob (i.e., K_M == K_A or K_M == K_B). In this case, Mallory is able to impersonate traffic as either Alice or Bob, which means that traffic to and from that node can be decrypted and encrypted, respectively. Additionally, messages may be signed as originating from one of the endpoints. 8.2. Attacker Behaviors and BPSec Mitigations 8.2.1. Eavesdropping Attacks Once Mallory has received a bundle, she is able to examine the contents of that bundle and attempt to recover any protected data or cryptographic keying material from the blocks contained within. The protection mechanism that BPSec provides against this action is the BCB, which encrypts the contents of its security target, providing confidentiality of the data. Of course, it should be assumed that Mallory is able to attempt offline recovery of encrypted data, so the cryptographic mechanisms selected to protect the data should provide a suitable level of protection. When evaluating the risk of eavesdropping attacks, it is important to consider the lifetime of bundles on a DTN. Depending on the network, bundles may persist for days or even years. If a bundle does persist on the network for years and the cipher suite used for a BCB provides inadequate protection, Mallory may be able to recover the protected data before that bundle reaches its intended destination. 8.2.2. Modification Attacks As a node participating in the DTN between Alice and Bob, Mallory will also be able to modify the received bundle, including non-BPSec data such as the primary block, payload blocks, or block processing control flags as defined in [BPBIS]. Mallory will be able to undertake activities which include modification of data within the blocks, replacement of blocks, addition of blocks, or removal of blocks. Within BPSec, both the BIB and BCB provide integrity protection mechanisms to detect or prevent data manipulation attempts by Mallory. The BIB provides that protection to another block which is its security target. The cryptographicmechansimsmechanisms used to generate the BIB should be strong against collision attacks and Mallory should not have access to the cryptographic material used by the originating node to generate the BIB (e.g., K_A). If both of these conditions are true, Mallory will be unable to modify the security target or the BIB and lead Bob to validate the security target as originating from Alice. Since BPSec security operations are implemented by placing blocks in a bundle, there is no in-band mechanism for detecting or correcting certain cases where Mallory removes blocks from a bundle. If Mallory removes a BCB block, but keeps the security target, the security target remains encrypted and there is a possibility that there may no longer be sufficient information to decrypt the block at its destination. If Mallory removes both a BCB (or BIB) and its security target there is no evidence left in the bundle of the security operation. Similarly, if Mallory removes the BIB but not the security target there is no evidence left in the bundle of the security operation. In each of these cases, the implementation of BPSec MUST be combined with policy configuration at endpoints in the network which describe the expected and required security operations that must be applied on transmission and are expected to be present on receipt. This or other similar out-of-band information is required to correct for removal of security information in the bundle. A limitation of the BIB may exist within the implementation of BIB validation at the destination node. If Mallory is a legitimate node within the DTN, the BIB generated by Alice with K_A can be replaced with a new BIB generated with K_M and forwarded to Bob. If Bob is only validating that the BIB was generated by a legitimate user, Bob will acknowledge the message as originating from Mallory instead of Alice. In order to provide verifiable integrity checks, both a BIB and BCB should be used. Alice creates a BIB with the protected data block as the security target and then creates a BCB with both the BIB and protected data block as its security targets. In this configuration, since Mallory is only a legitimate node and does not have access to Alice's key K_A, Mallory is unable to decrypt the BCB and replace the BIB. 8.2.3. Topology Attacks If Mallory is in a MITM position within the DTN, she is able to influence how any bundles that come to her may pass through the network. Upon receiving and processing a bundle that must be routed elsewhere in the network, Mallory has three options as to how to proceed: not forward the bundle, forward the bundle as intended, or forward the bundle to one or more specific nodes within the network. Attacks that involve re-routing the packets throughout the network are essentially a special case of the modification attacks described in this section where the attacker is modifying fields within the primary block of the bundle. Given that BPSec cannot encrypt the contents of the primary block, alternate methods must be used to prevent this situation. These methods MAY include requiring BIBs for primary blocks, using encapsulation, or otherwise strategically manipulating primary block data. The specifics of any such mitigation technique are specific to the implementation of the deploying network and outside of the scope of this document. Furthermore, routing rules and policies may be useful in enforcing particular traffic flows to prevent topology attacks. While these rules and policies may utilize some features provided by BPSec, their definition is beyond the scope of this specification. 8.2.4. Message Injection Mallory is also able to generate new bundles and transmit them into the DTN at will. These bundles may either be copies or slight modifications of previously-observed bundles (i.e., a replay attack) or entirely new bundles generated based on the Bundle Protocol, BPSec, or other bundle-related protocols. With these attacks Mallory's objectives may vary, but may be targeting either the bundle protocol or application-layer protocols conveyed by the bundle protocol. BPSec relies on cipher suite capabilities to prevent replay or forged message attacks. A BCB used with appropriate cryptographic mechanisms (e.g., a counter-based cipher mode) may provide replay protection under certain circumstances. Alternatively, application data itself may be augmented to include mechanisms to assert data uniqueness and then protected with a BIB, a BCB, or both along with other block data. In such a case, the receiving node would be able to validate the uniqueness of the data. 9.CiphersuiteCipher Suite Authorship Considerations Cipher suite developers or implementers should consider the diverse performance and conditions of networks on which the Bundle Protocol (and therefore BPSec) will operate. Specifically, the delay and capacity of delay-tolerant networks can vary substantially. Cipher suite developers should consider these conditions to better describe the conditions when those suites will operate or exhibit vulnerability, and selection of these suites for implementation should be made with consideration to the reality. There are key differences that may limit the opportunity to leverage existing cipher suites and technologies that have been developed for use in traditional, more reliable networks: o Data Lifetime: Depending on the application environment, bundles may persist on the network for extended periods of time, perhaps even years. Cryptographic algorithms should be selected to ensure protection of data against attacks for a length of time reasonable for the application. o One-Way Traffic: Depending on the application environment, it is possible that only a one-way connection may exist between two endpoints, or if a two-way connection does exist, the round-trip time may be extremely large. This may limit the utility of session key generation mechanisms, such as Diffie-Hellman, as a two-way handshake may not be feasible or reliable. o Opportunistic Access: Depending on the application environment, a given endpoint may not be guaranteed to be accessible within a certain amount of time. This may make asymmetric cryptographic architectures which rely on a key distribution center or other trust center impractical under certain conditions. When developing new cipher suites for use with BPSec, the following information SHOULD be considered for inclusion in these specifications. o New Parameters. Cipher suites MAY define new parameter types that may appear in security blocks and used to configure the cipher suite. o New Results. Cipher suites MAY define new security result types that may appear in security blocks and capture the outputs of the cipher suite. o New Canonicalizations. Cipher suites MAY define new canonicalization algorithms as necessary. 10. Defining Other Security Blocks Other security blocks (OSBs) may be defined and used in addition to the security blocks identified in this specification. Both the usage of BIB, BCB, and any future OSBs MAY co-exist within a bundle and MAY be considered in conformance with BPSec if each of the following requirements are met by any future identified security blocks. o Other security blocks (OSBs) MUST NOT reuse any enumerations identified in this specification, to include the block type codes for BIB and BCB. o An OSB definition MUST state whether it can be the target of a BIB or a BCB. The definition MUST also state whether the OSB can target a BIB or a BCB. o An OSB definition MUST provide adeterinisticdeterministic processing order in the event that a bundle is received containing BIBs, BCBs, and OSBs. This processing order MUST NOT alter the BIB and BCB processing orders identified in this specification. o An OSB definition MUST provide a canonicalization algorithm if the default non-primary-block canonicalization algorithm cannot be used to generate a deterministic input for a cipher suite. This requirement MAY be waived if the OSB is defined so as to never be the security target of a BIB or a BCB. o An OSB definition MAY NOT require any behavior of a BPSEC-BPA that is in conflict with the behavior identified in this specification. In particular, the security processing requirements imposed by this specification MUST be consistent across all BPSEC-BPAs in a network. o The behavior of an OSB when dealing with fragmentation MUST be specified and MUST NOT lead to ambiguous processing states. In particular, an OSB definition should address how to receive and process an OSB in a bundle fragment that may or may not also contain its security target. An OSB definition should also address whether an OSB may be added to a bundle marked as a fragment. Additionally, policy considerations for the management, monitoring, andconfiguration associated with blocks SHOULD be included in any OSB definition. NOTE: The burden of showing compliance with processing rules is placed upon the standards defining new security blocks and the identification of such blocks shall not, alone, require maintenance of this specification. 11. Conformance All implementations are strongly RECOMMENDED to provide some method of hop-by-hop verification by generating a hash to some canonical form of the bundle and placing an integrity signature on that form using a BIB. 12. IANA Considerations This protocol has fields that have been registered by IANA. 12.1. Bundle Block Types This specification allocates three block types from the existing "Bundle Block Types" registry defined in [RFC6255] . Additional Entries for the Bundle Block-Type Codes Registry: +-------+-----------------------------+---------------+ | Value | Description | Reference | +-------+-----------------------------+---------------+ | 2 | Block Integrity Block | This document | | 3 | Block Confidentiality Block | This document | +-------+-----------------------------+---------------+ Table 2 12.2. Cipher Suite Flags This protocol has a cipher suite flags field and certain flags are defined. An IANA registry has been set up as follows. The registration policy for this registry is: Specification Required The Value range is: Variable Length Cipher Suite Flag Registry: +--------------------------+-------------------------+--------------+ | Bit Position (right to | Description | Reference | | left) | | | +--------------------------+-------------------------+--------------+ | 0 | Block contains result | This | | | | document | | 1 | Block Contains | This | | | parameters | document | | 2 | Source EID ref present | This | | | | document | | >3 | Reserved | This | | | | document | +--------------------------+-------------------------+--------------+ Table 3 12.3. Parameters and Results This protocol has fields for cipher suite parameters and results.configuration associated with blocks SHOULD be included in any OSB definition. NOTE: Thefieldburden of showing compliance with processing rules isa type-length-value tripleplaced upon the standards defining new security blocks anda registry is required forthe"type" sub-field. The values for "type" applyidentification of such blocks shall not, alone, require maintenance of this specification. 11. Conformance All implementations are strongly RECOMMENDED tobothprovide some method of hop-by-hop verification by generating a hash to some canonical form of thecipher suite parametersbundle andthe cipher suite results fields. Certain values are defined. Anplacing an integrity signature on that form using a BIB. 12. IANAregistry has been set up as follows. The registration policy for this registry is: Specification Required The Value range is: 8-bit unsigned integer.Considerations Registries of Cipher SuiteParametersIDs, Cipher Suite Flags, Cipher Suite Parameter Types, andResults TypeSecurity Result Types will be required. 12.1. Bundle Block Types This specification allocates two block types from the existing "Bundle Block Types" registry defined in [RFC6255] . Additional Entries for the Bundle Block-Type Codes Registry:+---------+-------------------------------------------+-------------++-------+-----------------------------+---------------+ | Value | Description | Reference |+---------+-------------------------------------------+-------------+ | 0 | reserved | Section 3.6 | | 1 | initialization vector (IV) | Section 3.6 | | 2 | reserved | Section 3.6 | | 3 | key information | Section 3.6 | | 4 | content-range (pair of Unsigned Integers) | Section 3.6 | | 5 | integrity signature | Section 3.6 | | 6 | unassigned | Section 3.6 | | 7 | salt | Section 3.6 | | 8 | BCB integrity check value (ICV) | Section 3.6 | | 9-191 | reserved | Section 3.6 |+-------+-----------------------------+---------------+ |192-250TBD |private useBlock Integrity Block |Section 3.6This document | |251-255TBD |reservedBlock Confidentiality Block |Section 3.6This document |+---------+-------------------------------------------+-------------++-------+-----------------------------+---------------+ Table43 13. References 13.1. Normative References [BPBIS] Burleigh, S., Fall, K., and E. Birrane, "Bundle Protocol",draft-ietf-dtn-bpbis-04draft-ietf-dtn-bpbis-06 (work in progress), July 2016. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC Text on Security Considerations", BCP 72, RFC 3552, DOI 10.17487/RFC3552, July 2003, <http://www.rfc-editor.org/info/rfc3552>. [RFC6255] Blanchet, M., "Delay-Tolerant Networking Bundle Protocol IANA Registries", RFC 6255, May 2011. 13.2. Informative References[BPBISCBOR] Burleigh, S., "Bundle Protocol CBOR Representation Specification", draft-burleigh-dtn-rs-cbor-01 (work in progress), April 2016.[RFC4838] Cerf, V., Burleigh, S., Hooke, A., Torgerson, L., Durst, R., Scott, K., Fall, K., and H. Weiss, "Delay-Tolerant Networking Architecture", RFC 4838, April 2007. [RFC6257] Symington, S., Farrell, S., Weiss, H., and P. Lovell, "Bundle Security Protocol Specification", RFC 6257, May 2011. [SBSP] Birrane, E., "Streamlined Bundle Security Protocol", draft-birrane-dtn-sbsp-01 (work in progress), October 2015. Appendix A. Acknowledgements The following participants contributed technical material, use cases, and useful thoughts on the overall approach to this security specification: Scott Burleigh of the Jet Propulsion Laboratory, Amy Alford and Angela Hennessy of the Laboratory for Telecommunications Sciences, and Angela Dalton and Cherita Corbett of the Johns Hopkins University Applied Physics Laboratory. Authors' Addresses Edward J. Birrane, III The Johns Hopkins University Applied Physics Laboratory 11100 Johns Hopkins Rd. Laurel, MD 20723 US Phone: +1 443 778 7423 Email: Edward.Birrane@jhuapl.edu Kenneth McKeever The Johns Hopkins University Applied Physics Laboratory 11100 Johns Hopkins Rd. Laurel, MD 20723 US Phone: +1 443 778 2237 Email: Ken.McKeever@jhuapl.edu