{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,4]],"date-time":"2026-06-04T19:02:16Z","timestamp":1780599736304,"version":"3.54.1"},"reference-count":30,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2019,12,2]],"date-time":"2019-12-02T00:00:00Z","timestamp":1575244800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Future Internet"],"abstract":"<jats:p>With the rapid growth of Internet of Things (IoT) devices around the world, thousands of mobile users share many data with each other daily. IoT communication has been developed in the past few years to ensure direct connection among mobile users. However, wireless vulnerabilities exist that cause security concerns for IoT device-to-device (D2D) communication. This has become a serious debate, especially in smart environments where highly sensitive information is exchanged. In this paper, we study the security requirements in IoT D2D communication. In addition, we propose a novel authentication approach called Secure Key Exchange with QR Code (SeKeQ) to verify user identity by ensuring an automatic key comparison and providing a shared secret key using Diffie-Hellman key agreement with an SHA-256 hash. To evaluate the performance of SeKeQ, we ran a testbed using devices with a WiFi-Direct communication interface. The obtained results depict that our proposal can offer the required security functions including key exchange, data confidentiality, and integrity. In addition, our proposal can reach the same security performances as MANA (Manual Authentication) and UMAC (Universal-Hashing Message Authentication Code) but with 10 times fewer key computations and reduced memory occupancy.<\/jats:p>","DOI":"10.3390\/fi11120251","type":"journal-article","created":{"date-parts":[[2019,12,3]],"date-time":"2019-12-03T04:58:39Z","timestamp":1575349119000},"page":"251","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":17,"title":["Secure WiFi-Direct Using Key Exchange for IoT Device-to-Device Communications in a Smart Environment"],"prefix":"10.3390","volume":"11","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1265-2271","authenticated-orcid":false,"given":"Zakariae","family":"Belghazi","sequence":"first","affiliation":[{"name":"Systems Engineering Lab, ADSI Team, ENSA Kenitra, Ibn Tofail University, K\u00e9nitra 14000, Morocco"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1804-6977","authenticated-orcid":false,"given":"Nabil","family":"Benamar","sequence":"additional","affiliation":[{"name":"School of Technology, Moulay Ismail University of Meknes, Meknes 50050, Morocco"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Adnane","family":"Addaim","sequence":"additional","affiliation":[{"name":"Systems Engineering Lab, ADSI Team, ENSA Kenitra, Ibn Tofail University, K\u00e9nitra 14000, Morocco"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9990-519X","authenticated-orcid":false,"given":"Chaker Abdelaziz","family":"Kerrache","sequence":"additional","affiliation":[{"name":"Department of Mathematics and Computer Science, University of Ghardaia, Ghardaia 47000, Algeria"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2019,12,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Kar, U.N., and Sanyal, D.K. (2017). An overview of device-to-device communication in cellular networks. ICT Express, Elsevier.","DOI":"10.1016\/j.icte.2017.08.002"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"El Alami, M., Benamar, N., Younis, M., and Shahin, A.A. (2019). A Framework for Enabling Internet Access Using Wi-Fi Peer-to-Peer Links. Wireless Personal Communications, Springer.","DOI":"10.1007\/s11277-019-06577-7"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"El Alami, M., Benamar, N., Younis, M., and Shahin, A.A. (2017, January 26\u201330). A framework for hotspot support using Wi-Fi direct based device-to-device links. Proceedings of the 13th International Wireless Communications and Mobile Computing Conference (IWCMC), Valencia, Spain.","DOI":"10.1109\/IWCMC.2017.7986345"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Asadi, A., and Mancuso, V. (2013, January 13\u201315). WiFi-Direct and LTE D2D in action. Proceedings of the IFIP Wireless Days (WD), Valencia, Spain.","DOI":"10.1109\/WD.2013.6686520"},{"key":"ref_5","first-page":"46","article-title":"A comparative study of wireless protocols: Bluetooth, UWB, ZigBee, and Wi-Fi","volume":"5","author":"Lee","year":"2007","journal-title":"Ind. Electron. Soc."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"3785","DOI":"10.1109\/JIOT.2019.2891103","article-title":"Secure Communications and Protected Data for a Internet of Things Smart Toy Platform","volume":"6","author":"Rivera","year":"2019","journal-title":"IEEE Internet Things J."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Pourghebleh, B., Wakil, K., and Navimipour, N.J. (2019). A Comprehensive Study on the Trust Management Techniques in the Internet of Things. IEEE Internet Things J.","DOI":"10.1109\/JIOT.2019.2933518"},{"key":"ref_8","unstructured":"Iskounen, S., Nguyen, T.M.T., and Monnet, S. (2016). WiFi-direct simulation for INET in OMNeT++. arXiv."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"96","DOI":"10.1109\/MWC.2013.6549288","article-title":"Device-to-device communications with Wi-Fi Direct: Overview and experimentation","volume":"20","author":"Serrano","year":"2013","journal-title":"IEEE Wirel. Commun."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Svensson, R. (2016). Exploiting Vulnerabilities. From Hacking to Report Writing, Springer.","DOI":"10.1007\/978-1-4842-2283-6"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Arnaboldi, V., Campana, M.G.G., and Delmastro, F. (2017, January 22\u201325). Context-aware configuration and management of WiFi-Direct groups for real opportunistic networks. Proceedings of the IEEE 14th International Conference on Mobile Ad Hoc and Sensor Systems (MASS), Orlando, FL, USA.","DOI":"10.1109\/MASS.2017.40"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"163","DOI":"10.1007\/s00779-012-0633-z","article-title":"A classification of location privacy attacks and approaches","volume":"18","author":"Wernke","year":"2014","journal-title":"Pers. Ubiquitous Comput."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"9","DOI":"10.1016\/j.jnca.2016.11.002","article-title":"A survey on device-to-device (D2D) communication: Architecture and security issues","volume":"78","author":"Gandotra","year":"2017","journal-title":"J. Netw. Comput. Appl."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1054","DOI":"10.1109\/COMST.2017.2649687","article-title":"Security and privacy in device-to-device (D2D) communication: A review","volume":"19","author":"Haus","year":"2017","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"159","DOI":"10.1016\/j.pmcj.2014.09.010","article-title":"Privacy protection in pervasive systems: State of the art and technical challenges","volume":"17","author":"Bettini","year":"2015","journal-title":"Pervasive Mob. Comput."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1907","DOI":"10.1109\/TVT.2012.2188821","article-title":"A batch-authenticated and key agreement framework for p2p-based online social networks","volume":"61","author":"Yeh","year":"2012","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Yang, H., and Oleshchuk, V.A. (2014, January 11\u201314). An improvement of the batch-authentication and key agreement framework for P2P-based online social networks. Proceedings of the International Conference on Privacy and Security in Mobile Systems (PRISMS), Aalborg, Denmark.","DOI":"10.1109\/PRISMS.2014.6970596"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Shen, W., Hong, W., Cao, X., Yin, B., Shila, D.M., and Cheng, Y. (2014, January 8\u201312). Secure key establishment for device-to-device communications. Proceedings of the IEEE Global Communications Conference, Austin, TX, USA.","DOI":"10.1109\/GLOCOM.2014.7036830"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"2659","DOI":"10.1109\/TVT.2015.2416002","article-title":"SeDS: Secure data sharing strategy for D2D communication in LTE-Advanced networks","volume":"65","author":"Zhang","year":"2015","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_20","first-page":"179","article-title":"Efficient identity-based authenticated key agreement protocol from pairings","volume":"162","author":"Choie","year":"2005","journal-title":"Appl. Math. Comput."},{"key":"ref_21","first-page":"29","article-title":"Manual authentication for wireless devices","volume":"7","author":"Gehrmann","year":"2004","journal-title":"RSA Cryptobytes"},{"key":"ref_22","first-page":"191","article-title":"Security in personal area networks","volume":"51","author":"Gehrmann","year":"2004","journal-title":"IEE Telecommun. Ser."},{"key":"ref_23","unstructured":"Krawczyk, H., Canetti, R., and Bellare, M. (2019, November 30). HMAC: Keyed-Hashing for Message Authentication. Available online: https:\/\/tools.ietf.org\/html\/rfc2104."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Black, J., Halevi, S., Krawczyk, H., Krovetz, T., and Rogaway, P. (1999). UMAC: Fast and secure message authentication. Annual International Cryptology Conference, Springer.","DOI":"10.1007\/3-540-48405-1_14"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Falas, T., and Kashani, H. (2007, January 19\u201323). Two-dimensional bar-code decoding with camera-equipped mobile phones. Proceedings of the Fifth Annual IEEE International Conference on Pervasive Computing and Communications Workshops (PerComW\u201907), White Plains, NY, USA.","DOI":"10.1109\/PERCOMW.2007.119"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Bala, K., Sharma, S., and Kaur, G. (2015). A study on smartphone based operating system. Int. J. Comput. Appl., 121.","DOI":"10.5120\/21504-4351"},{"key":"ref_27","unstructured":"(2019, September 30). Android Developers Forum. Available online: https:\/\/developer.android.com\/guide\/topics\/connectivity\/wifip2p."},{"key":"ref_28","unstructured":"(2019, September 30). Android Developers Forum. Available online: https:\/\/developer.android.com\/develop\/index.html."},{"key":"ref_29","first-page":"5","article-title":"A Comparison Study on Key Exchange-Authentication protocol","volume":"7","author":"Mokhtarnameh","year":"2010","journal-title":"Int. J. Comput. Appl."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Barka, E., Kerrache, C.A., Benkraouda, H., Shuaib, K., Ahmad, F., and Kurugollu, F. (2019). Towards a trusted unmanned aerial system using blockchain (BUAS) for the protection of critical infrastructure. Trans. Emerg. Telecommun. Technol., e3706.","DOI":"10.1002\/ett.3706"}],"container-title":["Future Internet"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-5903\/11\/12\/251\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T13:39:24Z","timestamp":1760189964000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-5903\/11\/12\/251"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,12,2]]},"references-count":30,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2019,12]]}},"alternative-id":["fi11120251"],"URL":"https:\/\/doi.org\/10.3390\/fi11120251","relation":{},"ISSN":["1999-5903"],"issn-type":[{"value":"1999-5903","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,12,2]]}}}