A Secure Design of Wot Services for Smart Cities Saad El Jaouhari
Total Page:16
File Type:pdf, Size:1020Kb
A secure design of WoT services for smart cities Saad El Jaouhari To cite this version: Saad El Jaouhari. A secure design of WoT services for smart cities. Networking and Internet Architecture [cs.NI]. Ecole nationale supérieure Mines-Télécom Atlantique, 2018. English. NNT : 2018IMTA0120. tel-02093561 HAL Id: tel-02093561 https://tel.archives-ouvertes.fr/tel-02093561 Submitted on 9 Apr 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. THESE DE DOCTORAT DE L’ÉCOLE NATIONALE SUPERIEURE MINES-TELECOM ATLANTIQUE BRETAGNE PAYS DE LA LOIRE - IMT ATLANTIQUE COMUE UNIVERSITE BRETAGNE LOIRE ECOLE DOCTORALE N° 601 Mathématiques et Sciences et Technologies de l'Information et de la Communication Spécialité : Informatique Par « Saad EL JAOUHARI » « A secure design of WoT services for smart cities » Thèse présentée et soutenue à Cesson Sévigné, le « 13 décembre 2018 » Unité de recherche : IRISA/D2/OCIF Thèse N° : 2018IMTA0120 Rapporteurs avant soutenance : Maryline Laurent Professeure, IMT Telecom Sud Paris Joachim Posegga Professeur, Université de Passau Composition du Jury : Présidente : Valérie Issarny Directrice de Recherche, INRIA Paris Examinateurs : Farid Naït-Abdeslam Professeur, Université Paris Descartes Tayeb Lemlouma Maître de Conférences HDR, Université Rennes 1 Maryline Laurent Professeure, IMT Telecom Sud Paris Joachim Posegga Professeur, Université de Passau Directeur de thèse : Jean-Marie Bonnin Professeur, IMT Atlantique Encadrant de thèse : Ahmed Bouabdallah Maître de conférences, IMT Atlantique Invité Emmanuel Cordonnier Directeur e-Health, BCom I would like to dedicate this thesis to my family who supported me all along this thesis. Acknowledgements First, I would like to express my gratitude and thanks to my thesis director, Professor Jean-Marie Bonnin and my supervisor, Dr. Ahmed Bouabdallah for their guidances all along this thesis. They did not save any effort to put their skills, experiences, and expertise in order to have the best results. The quality of the contributions and the thesis would have not been possi- ble without the valuable discussions we had. I wish also to thank my colleagues from the OCIF team in particular, and all the researchers in the SRCD department, for all the debates, discussions, remarks and guidances especially during the OCIF seminars. And a spe- cial thanks to my office colleagues: Francois, Xavier, Renzo, Samy, Qipeng, ..., for all the good time spent together and the rich discussions that we had. Furthermore, I would like to express my sincere gratitudes to the jury mem- bers. Their insightful questions and encouraging remarks on my work made my thesis defense a lifelong memory as well as a learning process. It is my utmost honor to have all these experts reviewing my work. I would like to sincere thanks and love my precious parents Malika and Ahmed, my brother Youssef, my sister Manal, my wife Zineb, and my best friends Youssef, Anas, Mouad, Walis and Alaeddine for their support in the good and the bad, no matter what decisions I have made. Last but not the least, I would like to thank all those who helped me during this thesis and that I had the privilege to encounter. I hereby declare that except where specific reference is made to the work of others, the contents of this dissertation are original and have not been submitted in whole or in part for consideration for any other degree or qualification in this, or any other university. This dissertation is my own work and contains nothing which is the out- come of work done in collaboration with others, except as specified in the text and Acknowledgements. Abstract The richness and the versatility of WebRTC, a new peer-to-peer, real-time and browser- based communication technology, allowed the imagination of new and innovative ser- vices. In this thesis, we analyzed the capabilities required to allow a participant in a WebRTC session to access the smart Things belonging to his own environment as well as those of any other participant in the same session. The access to such environment, which we call “Smart Space (SS)”, can be either passive, for example by monitoring the contextual information provided by the sensors, or active by requesting the execution of commands by the actuators, or a mixture of both. This approach deserves attention because it allows to solve in an original way various issues such as allowing experts to remotely exercise and provide their expertises. From a technical point of view the issue is not trivial because it requires a smooth and mastered articulation between two different technologies: WebRTC and the Internet of Things (IoT) / Web of Things (WoT). Hence, the first part of the problem studied in this thesis, consists in analyzing the possibilities of extending WebRTC capabilities with the WoT. So as to provide a secure and privacy-respectful access to the vari- ous smart objects located in the immediate environment of a participant to any other end-user involved in the same ongoing WebRTC session. Moreover, positioning our approach in the context of communication services operating in smart cities requires the ability to support a multiplicity of SSs, each with its own network and security policy. Hence, in order to allow a participant to access one of his own SSs or one of another participant (through a delegation of access process), it becomes necessary to dynamically identify, select, deploy, and enforce the SS’s specific routing and security rules, so as to have an effective, fast and secure access. Therefore, the second part of the problem studied in this Ph.D. consists in defining an efficient management of the routing and security issues regarding the possibility of having multiple SSs distributed over the entire network. Thus, the main contributions of the thesis are the following: The first one concerns the design, from scratch, of an architecture allowing a junction between WebRTC and the WoT. This architecture is then illustrated through a set of innovative use cases. The latter relies essentially on a gateway connecting the two technologies. Since WebRTC is natively secure, its analysis allowed us to propose a set of mechanisms to secure the link between the gateway and the WebRTC client together with the access control to the SS. The implementation of an experimental prototype validates the feasibility of our approach. This prototype is used to concretely explore the initial use cases in the health field as well as other applications associated with the smart home. The need for the health related use cases was confirmed later through 5 interviews with doctors. Finally, a privacy analysis of our system was proposed. An ad- ditional step was taken in order to provide a business model for one of the telemedicine use cases. The second contribution proposes a new smart home architecture encompassing several services, among them the healthcare and the energy management. The first service is based on the previously presented contribution, and its main idea is to allow interac- tions between the user inside the smart home and a remote medical staff which can be a doctor for instance. Hence, bringing telemedicine services to the smart home such as the tele-consultation and the remote monitoring. The second one is proposed in order to monitor and manage the energy consumption using smart meters. The over- all work targets the introduction of a real smart home, based in Aalborg University labs. Finally, the third contribution introduces an SDN controller in order to manage the various SSs that can be involved in a WebRTC session. The main idea consists in allowing an end-user to own more than one SS while keeping their management simple and effective. The principle of our approach consists in centralizing the decisions con- cerning the management of the various SSs. Due to the fact that routing concerns are intimately intertwined with those of security, the SDN clearly appears as a promising tool to solve these issues. Therefore, an original architecture allowing an end user to dynamically manage the access to his different SSs is developed. A prototype illus- trating our approach is implemented together with a set of experiments to evaluate the performance and security of the system. This approach is finally illustrated in the e-Health domain by demonstrating the possibility of managing an health infrastructure such as a Hospital. 6 R´esum´e WebRTC est une technologie r´ecente de communication qui permet d’´etablir des ´echanges multim´edia conversationnels directement entre navigateurs. Sa richesse et sa versatilit´e laissent pr´esager des opportunit´es in´edites en termes de services de communication in- novants. Nous nous int´eressons dans cette th`ese `ades locuteurs dans un ”Smart Space” (SS) d´efini comme un environnement centr´e-utilisateur instrument´epar un ensemble de capteurs et d’actionneurs connect´es. Nous analysons les capacit´es n´ecessaires pour per- mettre `aun participant d’une session WebRTC d’impliquer dans cette mˆeme session, les flux induits par les objets connect´es appartenant au SS d’un utilisateur quelconque de la session. L’acc`es `aun tel environnement, peut ˆetre soit passif via l’observation d’informations contextuelles fournies par les capteurs, soit actif par l’ex´ecution d’une commande d’un actionneur, soit une combinaison des deux. Cette approche rec`ele un gisement de nombreux nouveaux usages. Nous limitons notre analyse `aceux concer- nant l’exercice distant d’une expertise et d’un savoir-faire.