IMT Atlantique
Bretagne-Pays de la Loire École Mines-Télécom
LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
Renzo E. NAVAS, Laurent TOUTAIN
LATe: A Lightweight cole Mines-Tlcom Authenticated Time - - PowerPoint PPT Presentation
IMT Atlantique Bretagne-Pays de la Loire LATe: A Lightweight cole Mines-Tlcom Authenticated Time Synchronization Protocol for IoT Renzo E. NAVAS, Laurent TOUTAIN Table of contents 1/26 1 Problem Statement and SoA 2 LATe Protocol 3
Bretagne-Pays de la Loire École Mines-Télécom
Renzo E. NAVAS, Laurent TOUTAIN
1/26 1 Problem Statement and SoA 2 LATe Protocol 3 Formal Verification 4 Real World Issues 5 Comparison to other protocols 6 Perspectives and Conclusion
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
2/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
3/26
4/26
Modified from Source: Ben Stansall / AFP - Getty Images file.
5/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
6/26
(NTP) symmetric key authentication scheme and Autokey.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
7/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
8/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
9/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
10/26
Time Client KCS Time Server KCS fresh NC IDC, NC NC, TimeS, MACKCS(NC, TimeS) sync Time protocol LATe synchronization protocol
Figure: LATe Synchronization Protocol Diagram.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
11/26
2
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
12/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
13/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
14/26 Parameter name CBOR Key Value Type Description nonce 4 binary string A random nonce kid 5 binary string Key-ID is an opaque value and identifies the cryptographic key to be used in the response alg (optional) 6 int Identifies the crypto- graphic algorithm to be used in the response server (optional) 7 string Identifies the intended Server for time synchro- nization (Absulute URI) Table: CBOR Map "TIC Information" object definition
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
15/26 { nonce:h'73616E206C6F7265', kid :h'0001', alg :4 /*HMAC w/SHA-256 truncated to 64 bits*/ }
Listing 1: TIC Information on CBOR diagnostic notation.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
16/26 D83B # tag(59) (TIC Info.) A3 # map(3) 04 # unsigned(4) (=nonce) 48 # bytes(8) 73616E206C6F7265 # Nonce Value 05 # unsigned(5) (=kid) 42 # bytes(2) 0001 # Key-ID Value 06 # unsigned(6) (=alg) 04 # unsigned(4)
Listing 2: TIC Information CBOR object (19 Bytes).
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
18/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
19/26 Figure: Scyther Results
Data authentication-integrity: OK. Freshness?
synchronization property.
.
20/26
simplifications (only one gravitational body considered; jupiter, venus off)
falsifiability)
21/26
23/26 Figure: Secure Time Synchronization protocols baseline comparison
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
24/26
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
25/26
draft-navas-ace-secure-time-synchronization/
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
26/26
2/13
Time Client KCS Time Server KCS fresh NC IDC, NC, MACKCS(IDC, NC) TimeS, MACKCS(IDC, NC, TimeS) sync Time protocol LATe synchronization protocol v2
Figure: LATe Synchonization Protocol V2.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
3/13
Client Resource Server (Time Server) | (Time Client) | | | | +------ Res. Req.----->+ | | | | | | | +<-4.01 Unauthorized---+ | | (TIC Info) | +<---LATe MSG1-----+ | | | | | | | +----LATe MSG2---->+ | | | | | +-------POST /time---->+ /time | | (AUTH TOC Response) | | | | | +<----2.04 Changed-----+ | | | + + +
Figure: LATe on IETF ACE Scenario 1
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
4/13
AS C RS (Time Server) | (Time Client) | | | | +--Unauthz.Res. Req.-->+ 1. | | | | | | | +<-4.01 Unauthorized---+ 2. | | (ACE Info + TIC) |
| | + TIC | | | | |
| | + AUTH TOC | | | +---POST /authz-inf--->+ 5. | | (Token + AUTH TOC) | | | | | +<----2.04 Changed-----+ 6. | | | + + +
Figure: LATe on IETF ACE Scenario 2
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
5/13 Parameter name CBOR Key Value Type Description time 3 unsigned int Time representation information nonce 4 binary string A random nonce Table: CBOR Map "TOC Response" object definition
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
6/13
Header: Changed (Code=2.04) Content-Type: "application/late+cose; cose-type=cose-mac; late-type=toc" Payload: { protected : { kid: h'0001', alg: 4 /* HMAC w/ SHA-256 truncated to 64 bits */ }, payload : { time : 1477307841, nonce : h'73616e206c6f7265' }, tag : h'36f5afaf0bab5d43' }
Figure: COSE-MACed ’TOC Response’ in CBOR diagnostic notation
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
7/13
No overhead for metadata, and we assume the following data sizes: Timestamp representation is 4 bytes, Node Identity is 2 bytes, a Nonce is 8 bytes, and a MAC is 8 bytes. In E-SPBS an ECDSA signature is 48 bytes; In Guo et al. we assume an Unspecified Signature being of 16 bytes, and non-cryptographic hash 16 bytes; In Ganeriwal2008 and Sun2006 syn-ack information of 1 byte.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
8/13
1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |LI | VN |Mode | Stratum | Poll | Precision | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Root Delay | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Root Dispersion | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reference Identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Reference Timestamp (64) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Originate Timestamp (64) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Receive Timestamp (64) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Transmit Timestamp (64) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key Identifier (optional) (32) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | | | Message Digest (optional) (128) | | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
9/13
(MUST)
protocol
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
10/13
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
11/13 Figure: Hierarchy of security properties
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
12/13
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT
13/13 [1] Daniel Fox Franke , Dieter Sibold and Kristof Teichel Network Time Security for the Network Time Protocol IETF, draft-ietf-ntp-using-nts-for-ntp-11, March 05, 2018. [2] Cormac Herley ; P. C. van Oorschot SoK: Science, Security and the Elusive Goal of Security as a Scientific Pursuit Security and Privacy (SP), 2017 IEEE Symposium on, 22-26 May 2017 . [3] Cremers, C. J. F. et. al. Injective synchronisation: An extension of the authentication hierarchy Theoretical Computer Science Journal no. 1-2, 2006.
IMT Atlantique
InterOSS 2018 Renzo E. Navas LATe: A Lightweight Authenticated Time Synchronization Protocol for IoT