8.3 LISP Security
10.1.2 End-to-End Secure LISP Map Registration
We divide the secure end-to-end map registration proposal into three stages. In the first stage, the EID-Holder initiates the Service Request towards the ETR of the Service Provider. With this request, the Service Provider can register the new EID for the service in its xTRs. The second stage is when the Service Provider sends a Map-Register request to the MS for Map Registration. And the last stage is when the MS verifies and processes the registration request. Once the registration is validated, the Mapping System may or may not send back an acknowl- edgement to the ETR or to the EID-Holder. The acknowledgement requirement can be tuned according to the trust environment scenario. As mentioned earlier, we focus on untrusted scenarios, so any party can be an attacker. In order to achieve end-to-end security and EID authorization, we propose to use a shared key between the EID-Holder and the Map Server. Later in this section, we also discuss the secure LISP Map Registration solution with the use of Public Key Infrastructure (PKI). The shared key is used as a way to validate the Map Register request at the MS and achieve EID authorization. Although, this technique is simple and not far from what is currently defined in LISP (i.e., a shared key between the ETR and the MS for ETR validation), we show that our proposal captures the whole problem and now allows dynamic registrations while offering end-to-end security.
The overall process to secure the map registration is shown in Fig. 10.6, where each step in solid color determines exchanged messages related with the Map Registration process, whereas the gradient steps relate to messages exchanged with the RPKI. In the first stage and prior to the Service Request, the EID-Holder must be aware of the Service Providerโs ETR Identity (xT RI D) from which it plans to use the service. The EID-Holder can learn about the
xT RI D through different means, e.g., in advance through certified templates advertised by the
2 7 EID-Holder (EIDA) ETR 5 6
SP
Global RPKI Repository Service Request incl. ๐ผMap Register incl. ๐ผ RA Verification
๐ฝ = ๐พ๐๐ด๐ถ๐พโจ๐๐๐โจ๐ฅ๐๐ ๐ผ๐ทโจ๐๐ ACK incl. ๐ฝ Mapping System LRC 1 Shared Key 3 MS 4 LRC Shared Key Service Provider Local RPKI Cache RLOC Authorization End Entity Certificate SP: LRC: RA: EE Cert: ๐ผ = ๐พ๐๐ธ๐ผ๐ท๐ดโจ๐ฅ๐๐ ๐ผ๐ทโจ๐๐ RLOCa RLOCb xTRID ASNX EE.RLOC Cert RA
Figure 10.6: Step-by-step overview of the secure Map Registration process using Shared-Key between the EID-Holder and the MS.
Chapter 10. End-to-End Security for LISP Map Registration Process
providers, online through DHCP, by manual entry, etc. Then, the EID-Holder computesฮฑ (cf. (10.1)) by first concatenating its EID, xT RI D, and a timestamp T S, and then encrypting this
information with the shared keyKSit has with the MS.
ฮฑ = KS(E I DakxT RI DkT S) (10.1)
Theฮฑ is meant to be only visible to the corresponding MS in charge of the EID prefix, and will be used for the EID authorization process. The EID-Holder sendsฮฑ in the Service-Request message to the ETR of the Service Provider, and it also adds in plain text the RLOC of the target Map Server, RLOCM S, and its prefix E I Da(cf. step 1 in Fig. 10.6). Note that a potential attacker
within the Service Providerโor the Service Provider itselfโwill not be able to change any information inฮฑ due to encryption and lack of KS. Moreover, a replay attack is not feasible
as the timestamp may be used as a key to the registration, denying registrations with invalid timestamps. Furthermore, the Service Provider cannot over claim EID prefixes due to the inability to produce a correspondingฮฑ.
Assuming that the Service Provider has already published the respective RAs on the RPKI for the RLOC that it plans to use during the registration, then the ETR can send a signed
Map-Register message to the corresponding MS. The signature in the message includesฮฑ
(received from the EID-Holder), its xT RI D, its RLOCs, and the EID prefix it wants to register,
E I Da(cf. step 2 in Fig. 10.6).
In the third stage (cf. steps 3 and 4 in Fig. 10.6), the MS verifies the following:
โข It verifies the signature of the Map-Register message. If valid then proceed, otherwise discard the request.
โข It verifies theฮฑ and its contents using the respective shared key. If valid then proceed, otherwise discard the request.
โข It verifies if the xT RI Dinside theฮฑ is the same as sent in the Map-Register message. If
valid then proceed, otherwise discard the request.
โข It also verifies if the requesting ETR is authorized to register against the RLOCs present in the Map Register request using the RA and the RPKI. The MS verifies the xT RI Dinside
theฮฑ with the one present in the RA to complete the RLOC verification process.
If the EID authorization and RLOC verification processes are successful, then the MS adds this mapping entry into its records and sends back a signed acknowledgement to the ETR. In order to avoid any Man-in-the-Middle and coordinated attack on the acknowledgement, the MS includes in the signature of the reply message: an ACK, a One Time Password (OTP), E I Da
(for which it conducted the map registration), andฮฒ. As detailed in (10.2), ฮฒ is obtained by 114
10.1. Secure Map Registration Proposal
encrypting: the ACK, the locally generated OTP, xT RI D(against which it registered the EID in
the mapping entry), and the timestamp with the respective shared keyKS(cf. step 5 in Fig.
10.6).
ฮฒ = KS(AC K kOT PkxT RI DkT S) (10.2)
On receiving the ACK message, the ETR verifies the signature of the message, and if successful, it forwards onlyฮฒ to the EID-Holder who initiated the Service Request (cf. step 6 in Fig. 10.6). The EID-Holder verifiesฮฒ using the shared key and validates its contents.
If successful, the EID-Holder sends back an ACK to the ETR encrypting it with the OTP. Finally, the ETR verifies the encrypted ACK from the EID-Holder, and completes the secure triangle that involves the three actors required for providing end-to-end security in the LISP map registration process. Observe that part of the steps described above can be avoided in the other two trust scenarios, since they are less demanding in terms of security. Only first four messages are required for the all trust scenario (see Fig. 10.3) and first five message are needed for the EID-xTR trust scenario (see Fig. 10.4) to secure the map registration process.
In summary, by including: (a) A shared key between the EID-Holder and the MS; and (b) the RAs, our solution can achieve both EID authorization and RLOC verification, thus enabling dynamic and end-to-end secure map registrations.
Fig. 10.7 step-by-step illustrates the new secure map registration process when the EID holder has a verifiable digital certificate i.e., EID Certificate. Similar to the shared key secure map
4 EID-Holder (EIDA) 7 8
SP
Global RPKI Repository Service Request incl. ๐ผMap Register incl. ๐ผ RA Verification
๐ฝ = ๐พ๐๐_๐๐๐ด๐ถ๐พโจ๐ฅ๐๐ ๐ผ๐ทโจ๐๐ ACK incl. ๐ฝ Mapping System LRC 1 5 MS 6 LRC Service Provider Local RPKI Cache RLOC Authorization End Entity Certificate SP: LRC: RA: EE Cert: ๐ผ = ๐พ๐ธ๐ผ๐ท_๐๐๐ธ๐ผ๐ท๐ดโจ๐ฅ๐๐ ๐ผ๐ทโจ๐๐ ETR 2,3
EID Cert Verification
EIDA Cert RLOCa RLOCb xTRID ASNX EE.RLOC Cert RA
Figure 10.7: Step-by-step overview of the secure Map Registration process with PKI enabled EID holder.
Chapter 10. End-to-End Security for LISP Map Registration Process
registration process explained before, PKI enabled secure map registration process can be divided into three stages. In the first stage of this scenario, the EID holder can produceฮฑ by signing with its private key which can be used as the security credential (cf. 10.3). That is the EID holder and the respective MS need not to share a key between themselves.
ฮฑ0= K
E I DโPr(E I DakxT RI DkT S) (10.3)
Moreover, the ETR of the Service Provider can take advantage of the RPKI for verifying the
Service-Request message (cf. step 2 and 3 in Fig. 10.7). The second stage involves sending
the Map-Register message to MS includingฮฑ (cf. step 4 in Fig. 10.7). In the third stage, the MS verifies the Map-Register message,ฮฑ, xT RI D, and the respective RA (cf. step 5 and 6 in
Fig. 10.7). If the EID authorization and RLOC verification processes are successful, then the MS adds this mapping entry into its records and sends back a signed acknowledgement to the ETR. However, in this case, the MS uses its private key for signingฮฒ (cf. 10.4). It is worth mentioning that the MS need not to include OTP inฮฒ as end-to-end signatures including MS, xTR and the EID holder, leave no room for Man-in-the-Middle or coordinated attack.
ฮฒ0= K
M SโPr(AC K kxT RI DkT S) (10.4)
Although using end-to-end digital certificates improves the security by avoiding the shared key handling, it adds a handsome processing burden on all the players in the LISP architecture which could be highly undesirable, especially for the EID holder as a mobile node which has limited resources. Furthermore, using digital signatures and certificates at every stage does provide high level of security but it becomes impractical. Next, we provide the overhead analy- sis of the Shared-key version of the proposal, as it is more practical and provides reasonable security to achieve end-to-end secure LISP map registration.