IoT Gateway Integrity Checking Protocol

  • Mateus de Lucena UFSC
  • Roberto Scheffel UTFPR
  • Antônio Augusto Frohlich UFSC


Internet of Things (IoT) gateways connected to the Internet and to IoT devices and running conventional operating systems and communication protocols, are valuable targets for malicious attackers. Once taken over, a compromised gateway can alter, drop or insert data while it bridges information from the IoT devices to the applications running on the Cloud. In this work we present the Gateway Integrity Checking Protocol (GIP), which uses a gossip protocol to collect data form subsets of IoT devices to answer a challenge sent by an External Security Agent (ESA). The response is used to verify if data is arriving untampered to the Cloud. The communication between the ESA and the nodes is secured by keys not accessible by the gateway. We evaluate the time and energy overhead caused by hash calculation at the devices. The impact of the proposed solution on the energy consumption and lifetime of the network is also evaluated through simulations.

Palavras-chave: Internet of Things, Mobile and Ubiquitous Computing Security


"Itu internet reports: The internet of things" Tech. Rep. nov 2005.

A.-R. Sadeghi C. Wachsmann M. Waidner "Security and privacy challenges in industrial internet of things" Proceedings of the 52nd Annual Design Automation Conference on - DAC ‘15 2015 [online] Available:

Q. Zhu R. Wang Q. Chen Y. Liu W. Qin "IOT gateway: Bridging Wireless sensor networks into internet of things" 2010 IEEE/IFIP International Conference on Embedded and Ubiquitous Computing Dec. 2010 [online] Available:

C.-W. Hung W.-T. Hsu "Power consumption and calculation requirement analysis of AES for WSN IoT" Sensors vol. 18 no. 6 pp. 1675 May 2018 [online] Available:

D. Resner "Performance evaluation of the trustful space-time protocol" Master’s thesis 2018 [online] Available:

A. A. Fröhlich R. M. Scheffel D. Kozhaya P. E. Veríssimo "Byzantine Resilient Protocol for the IoT" IEEE Internet of Things Journal pp. 1-9 2018.

A. A. Fröhlich "SmartData: an IoT-Ready API for Sensor Networks" International Journal of Sensor Networks vol. 28 no. 3 pp. 202-210 2018.

R. Mitchell I.-R. Chen "A survey of intrusion detection techniques for cyber-physical systems" ACM Computing Surveys vol. 46 no. 4 pp. 1-29 Mar. 2014 [online] Available:

T. Nguyen S. Marchal M. Miettinen M. Hoang Dang N. Asokan A.-R. Sadeghi "Diot: A crowdsourced self-learning approach for detecting compromised iot devices" 04 2018.

N. V. Abhishek T. J. Lim B. Sikdar A. Tandon "An intrusion detection system for detecting compromised gateways in clustered IoT networks" 2018 IEEE International Workshop Technical Committee on Communications Quality and Reliability (CQR) May 2018 [online] Available:

R. Cao E. Graves T. F. Wong T. Lv "Detecting substitution attacks against non-colluding relays" 2013 IEEE Global Communications Conference (GLOBECOM) Dec. 2013 [online] Available:

K. Jenkins K. Hopkinson K. Birman "A gossip protocol for subgroup multicast" Proceedings 21st International Conference on Distributed Computing Systems Workshops 2001 [online] Available:

D. Resner A. A. Fröhlich "Speculative Precision Time Protocol: submicrosecond clock synchronization for the IoT" 21st IEEE International Conference on Emerging Technologies and Factory Automation (ETFA 2016) pp. 1-8 Sep. 2016.

IEEE standard for a precision clock synchronization protocol for networked measurement and control systems [online] Available:

R. Reghelin A. A. Fröhlich "A decentralized location system for sensor networks using cooperative calibration and heuristics" Proceedings of the 9th ACM international symposium on Modeling analysis and simulation of wireless and mobile systems - MSWiM ‘06 2006 [online] Available:

R. Scheffel A. A. Fröhlich "FT-TSTP: A Multi-Gateway Fully Reactive Geographical Routing Protocol to Improve WSN Reliability" IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS) pp. 1-6 Dec. 2018.

Sec 1: Elliptic curve cryptography 2010 [online] Available:

Sec 2: Recommended elliptic curve domain parameters 2010 [online] Available:

D. J. Bernstein "The poly1305-aes message-authentication code" Proceedings of Fast Software Encryption pp. 32-49 February 2005.

R. M. Needham M. D. Schroeder "Using encryption for authentication in large networks of computers" Communications of the ACM vol. 21 no. 12 pp. 993-999 Dec. 1978 [online] Available:

D. Dolev A. C. Yao "On the security of public key protocols" 22nd Annual Symposium on Foundations of Computer Science (sfcs 1981) Oct. 1981 [online] Available:

G. Lowe "Breaking and fixing the needham-schroeder public-key protocol using fdr" Proceedings of the Second International Workshop on Tools and Algorithms for Construction and Analysis of Systems ser. TACAs ‘96 pp. 147-166 1996 [online] Available:

OMNeT++ - Objective Modular Network Testbed in C++ 2017 [online] Available:

A. Boulis Castalia A simulator for Wireless Sensor Networks and Body Area Networks 2017 [online] Available:

EPOS embedded parallel operating system [online] Available:

Cc2538 powerful wireless microcontroller system-on-chip for 2.4-ghz ieee 802.15.4 6lowpan and zigbee® applications [online] Available:
DE LUCENA, Mateus; SCHEFFEL, Roberto ; FROHLICH, Antônio Augusto. IoT Gateway Integrity Checking Protocol. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SISTEMAS COMPUTACIONAIS (SBESC), 9. , 2019, Natal. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2019 . p. 169-176. ISSN 2237-5430.