Pasar al contenido principal

DOTANDO DE CIBERSEGURIDAD SOSTENIBLE A LA INTERNET DE LAS COSAS - CIBERSEGURIDAD

PID2021-125962OB-C31

•
Nombre agencia financiadora Agencia Estatal de Investigación
Acrónimo agencia financiadora AEI
Programa Programa Estatal para Impulsar la Investigación Científico-Técnica y su Transferencia
Subprograma Subprograma Estatal de Generación de Conocimiento
Convocatoria Proyectos de I+D+i (Generación de Conocimiento y Retos Investigación)
Año convocatoria 2021
Plan Estatal 2021-2023 Plan Estatal de Investigación Científica y Técnica y de Innovación
Centro beneficiario FUNDACIO PER A LA UNIVERSITAT OBERTA DE CATALUNYA

Resultados relacionados

Resultados totales (Incluyendo duplicados): 35
Encontrada(s) 1 página(s)

Dipòsit Digital de Documents de la UAB
Publicación Capítulo o parte de un libro (BookPart)

Decision tree based inference of lightning network client implementations

  • Espinasa Vilarrasa, Pol|||0009-0000-3933-4970
  • Sanvicente, Sílvia
  • Pérez-Solà, Cristina|||0000-0001-7534-1326
  • Herrera-Joancomartí, Jordi|||0000-0002-4935-4681
The Lightning Network (LN) is a second layer payment protocol on top of Bitcoin. It creates a peer-to-peer (P2P) network of payment channels that enable instant payments. The LN can be accessed through different implementations or clients, the most popular being Lightning Network Daemon (LND), Core Lightning Network (CLN), and Eclair. The first step in many known attacks to the LN is to infer the software client the node is running. This paper presents two classification models based on decision trees to infer the implementation of LN clients from either the traffic of the gossip protocol or the announced BOLT #9 features, offering a cost-free means of identification. The accuracy presented by both models in our experiments is high, ranging from 87% to 100% depending on the model and the environment where it is deployed. The application of our inference models on the LN shows a prevalence of LND clients.
Dipòsit Digital de Documents de la UAB
Publicación Capítulo o parte de un libro (BookPart)

Building Resilient AI, A Solution to Data and Model Poisoning Prevention

  • Keshavarzkalhori, Ghazaleh|||0009-0002-7758-0018
  • Pérez-Solà, Cristina|||0000-0001-7534-1326
  • Navarro-Arribas, Guillermo|||0000-0003-3535-942X
  • Herrera-Joancomartí, Jordi|||0000-0002-4935-4681
In many machine learning scenarios, training occurs outside the control of the model sponsor or the entity using the model. A growing concern in such settings revolves around model poisoning and data poisoning-how training is conducted and which data contributes to the process. This paper introduces a protective scheme against model and data poisoning attacks. Leveraging cryptographic primitives such as hashes, signature schemes, and zero-knowledge proofs, the scheme ensures the integrity of the training process. Hashing maintains the continuity of data from authenticated sensors, while signatures validate the data. In the end, zero-knowledge proofs verify the correct model computation by the entity carrying out the training process. By adopting this approach, model sponsors can securely delegate training tasks, guaranteeing the authenticity of the results. Implementation and testing demonstrate the scheme's feasibility, effectively countering data and model poisoning threats.
RUA. Repositorio Institucional de la Universidad de Alicante
Publicación Otros (Other)

VisualCryptoLab: un laboratorio virtual para elmodelado visual y did´actico de arquitecturascriptogr´aficas desarrollado integramente con IAG

  • Garcia Font, Victor
  • Rifà Pous, Helena
Uno de los desafíos fundamentales en la enseñanza de la criptografía es el desarrollo de competencias prácticas para el modelado y la aplicación de primitivas seguras, a menudo obstaculizado por la alta carga cognitiva de las abstracciones matemáticas. Este artículo presenta VisualCryptoLab, una herramienta de modelado visual de código abierto diseñada para abordar esta carencia mediante un entorno interactivo basado en el paradigma de flujo de datos. VisualCryptoLab permite la interconexión modular de operaciones criptográficas (e.g., XOR, RSA, AES, SHA), facilitando la visualización de la compatibilidad de tipos de datos y el razonamiento sobre la secuencia lógica de los protocolos. Desde una perspectiva metodológica, destaca que VisualCryptoLab ha sido desarrollada íntegramente mediante Inteligencia Artificial Generativa (IAG), básicamente utilizando el entorno Gemini Canvas, sin intervención de codificación manual humana. Este trabajo es un caso de estudio de un modelo Low-Code como una vía eficiente para que los docentes creen herramientas pedagógicas sofisticadas, eliminando las barreras técnicas tradicionales de la programación.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

From False-Free to Privacy-Oriented Communitarian Microblogging Social Networks

  • Marquès Puig, Joan Manuel
  • Rifà-Pous, Helena
  • Oukemeni, Samia
Online Social Networks(OSNs)havegainedenormouspopularity in recent years. They provide a dynamic platform for sharing content (text messages or multimedia) and for facilitating communication between friends and acquaintances. Microblogging services are a popular form of OSNs. They allow sending small messages in a one-to-many messaging model so that users can communicate with their favorite celebrity, brand, politician, or other regular users without the obligation of a pre-existing social relationship. A chain of privacy-related scandals linked to questionable data handling practices in microblogging services has arisen in the last past few years. Most current microblogging service providers offer centralized services and their business model is based on monitoring, analyzing, and selling users’ activity and patterns. In the end, the personal information shared by the users to benefit from the free-of-charge services is used for the underlying payment in such systems. In this paper, we present Garlanet, a privacy-aware censorship-resistant microblogging social network that does not rely on a centralized service provider as all data is hosted in computers voluntarily contributed by the users of the system. Garlanet provides microblogging functionalities while protecting privacy and preserving the confidentiality and integrity of users and data. It ensures that users’ identities and their social graphs are hidden from the system and adversaries and it provides availability and scalability of the services. We also evaluate the privacy level of Garlanet and we compare it with the privacy level of eight other microblogging systems.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

ZW-IDS: Zero-Watermarking-based network Intrusion Detection System using data provenance

  • Faraj, Omair
  • Megias, David
  • Garcia-Alfaro, Joaquin
In the rapidly evolving digital world, network security is a critical concern. Traditional security measures often fail to detect unknown attacks, making anomaly-based Network Intrusion Detection Systems (NIDS) using Machine Learning (ML) vital. However, these systems face challenges such as computational complexity and misclassification errors. This paper presents ZW-IDS, an innovative approach to enhance anomaly-based NIDS performance. We propose a two-layer classification NIDS integrating zero-watermarking with data provenance and ML. The first layer uses Support Vector Machines (SVM) with ensemble learning model for feature selection. The second layer generates unique zero-watermarks for each data packet using data provenance information. This approach aims to reduce false alarms, improve computational efficiency, and boost NIDS classification performance. We evaluate ZW-IDS using the CICIDS2017 dataset and compare its performance with other multi-method ML and Deep Learning (DL) solutions.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Security, Trust and Privacy challenges in AI-driven 6G Networks

  • Rifà-Pous, Helena
  • Garcia-Font, Victor
  • Núñez-Gómez, Carlos
  • Salas, Julián
The advent of 6G networks promises unprecedented advancements in wireless communication, offering wider bandwidth and lower latency compared to its predecessors. This article explores the evolving infrastructure of 6G networks, emphasizing the transition towards a more disaggregated structure and the integration of artificial intelligence (AI) technologies. Furthermore, it explores the security, trust and privacy challenges and attacks in 6G networks, particularly those related to the use of AI. It presents a classification of network attacks stemming from its AI-centric architecture and explores technologies designed to detect or mitigate these emerging threats. The paper concludes by examining the implications and risks linked to the utilization of AI in ensuring a robust network.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Classification of attribute-based encryption based on access policy contents

  • Mahdavi, Mahdi
  • Ahmadian, Zahra
  • Rifà-Pous, Helena
Securing sensitive data in complex, AI-driven, evolving networks like 6G and IoT requires fine-grained access control mechanisms. Attribute- Based Encryption (ABE) addresses this need by enforcing access policies directly on encrypted data. While traditional ABE schemes rely on Boolean circuits to represent access policies, recent advances have introduced arithmetic circuits, which provide greater expressiveness and flexibility for modelling complex access requirements.This paper proposes a novel categorization of ABE schemes based on the visibility and location of access policy components, access structure and attribute set, within the ciphertext or secret key. Additionally, it introduces the concept of Hidden Result Attribute Based Encryption (HR-ABE) for arithmetic circuits, with two main variants: Hidden Result Key Policy Attribute-Based Encryption (HR-KP-ABE) and Hidden Result Ciphertext Policy Attribute-Based Encryption (HR-CP-ABE). This categorization facilitates the design of application-specific ABE schemes, allowing tailored security solutions across a wide range of use cases,such as cloud storage, healthcare, and dynamic multi-user environments.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Toward the Selection of a Lightweight Authentication Technique for the Security of Smart Homes: Framework Architecture Based on a User Centric Design

  • Koohpayeh araghi, Tanya
  • Megias, David
  • Rosales, Andrea
The Internet of things (IoT) is known today as a substantial technology due to variety of its applications resulting in a huge circulation of users’ private information. Thus, it poses vital security concerns for the users of the IoT products. Consequently, preserving data integrity is a necessity in IoT applications. In this paper, we explore and analyze different existing techniques that countermeasure data integrity and authentication threats. The aim is to select the most lightweight and secure techniques to ensure data transmission in a proposed framework for smart homes and, more specifically, in smart meters data integrity. Our focus in this paper is on designing the different phases and the architecture of the proposed framework to preserve data integrity in the mentioned appliances. Moreover, the proposed framework follows a user centric design according to the people with cultural diversities from two different continents of Asia and Europe (Iran and Spain) in order to alleviate the user resistance against accepting this technology and designing a compatible system according to the users’ cultural varieties. To the best of our knowledge, less effort has been made in the field of secure data transmission in smart homes considering user’s security concerns by a multicultural approach. We believe that this research can be motivating and encouraging for the researchers and developers of IoT smart home appliances.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Privacidad en Smart Grid mediante Smart Contracts y agregación de datos

  • Ferré-Queralt, Joan
  • Anglés-Tafalla, Carles
  • Salas, Julián
  • Navarro-Arribas, Guillermo
  • Viejo, Alexandre
  • Megias, David
  • Castellà-Roca, Jordi
En este trabajo presentamos un sistema para la gesti´on de redes de distribución de energía inteligentes (Smart Grids) donde se preserva la seguridad y privacidad de los usuarios. La propuesta utiliza tecnología blockchain y Smart Contracts como componentes centrales, teniendo en cuenta la privacidad de los usuarios, la disponibilidad y la seguridad del sistema. Al mismo tiempo, ofrece medidas para identificar y tomar acciones punitivas contra usuarios maliciosos. El sistema proporciona, finalmente, informaci´on de consumo y producción de energía para su publicación o uso, donde se preserva el anonimato de los usuarios con el principio de k-anonimidad.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Unmasking the Illusion: The Shortcomings of “Zero-Knowledge” Rollups in Achieving Privacy

  • Torralba Agell, Adrià
  • Keshavarzkalhori, Ghazaleh
  • Pérez-Solà, Cristina
  • Megias, David
  • Herrera-Joancomartí, Jordi
The rise of Layer 2 (L2) solutions, including Payment Channel Networks, sidechains, and rollups, has aimed to tackle the scalability challenges of Layer 1 (L1) blockchains like Bitcoin and Ethereum. Among these, Zero-Knowledge Rollups (ZK-Rollups) have emerged as a compelling solution by utilizing ZK-SNARKs to bundle multiple transactions, thereby enhancing throughput and reducing costs. However, despite their technical sophistication, ZK-Rollups do not inherently provide transaction privacy, a common misconception given the “Zero-Knowledge” nomenclature. This paper explores the privacy limitations of ZKRollups, emphasizing the need for privacy-preserving features that align with the expectations set by their name. We also review the strategies being eveloped by various projects to address these limitations. Furthermore, we propose the community begin adapting other names for the technology, such as “Verifiable Rollup” (verRollup), “Incrementally Verifiable Computation Rollup” (ivcRollup), or “Succinct Rollup” (sucRollup) that better represent the current capabilities of rollups. This work contributes to the ongoing discussion on achieving a balance between efficiency, scalability, and privacy in blockchain technologies.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

A modified schnorr sigma protocol and its application to isogeny-based identification

  • Mahdavi Oliaee, Mahdi
  • Pindado Tost, Zaira
  • Sakhaie, Amineh
  • Rifà-Pous, Helena
Quantum computing threatens classical cryptographic protocols like the Schnorr identification scheme, which relies on the Discrete Logarithm Problem (DLP), vulnerable to quantum attacks. In this paper, we propose a modification to the classical Schnorr protocol by redefining the prover response as r = cu±x mod q instead of r = u+cx mod q. While this adjust- ment preserves the arithmetic simplicity of the original protocol, it introduces subtle but significant changes to the protocol’s security and verifiability. We analyze its soundness, zero-knowledge properties, extractor functionality, and practical viability, and explore its adaptation into a secure digital signature system under standard cryptographic assumptions. To underscore the practical significance of our approach, we implement the modified protocol within an isogeny-based framework, demonstrating its capacity to enhance an existing identification scheme with respect to both security and efficiency. Our findings illustrate that revisiting classical protocols through judicious modifications can yield more robust, quantum-resistant solutions for applications like blockchain.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Privacy-preserving protocol for high-frequency smart meters using reversible watermarking and Paillier encryption

  • Kabir, Farzana
  • Koohpayeh araghi, Tanya
  • Megias, David
Smart meters are the primary source of energy consumption data in the smart grid network, which can record energy usage with fine granularity. The use of smart meters expands the interaction between the energy supplier and the consumer. Security for smart meters and privacy for the users are, therefore, paramount. The study of smart-meter data, particularly security concerns, is a very active research area. A high-frequency smart meter captures and transmits energy usage data in small bursts (per second or minute). Maintaining a high level of security while processing data in such a short period of time is critical for resource-limited devices like smart meters. To address this issue, this work presents a privacy-preserving protocol for high-frequency smart meters (P3HF) using difference expansion-based reversible watermarking and Paillier homomorphic encryption. The proposed protocol significantly increases the security of high-frequency smart meters by introducing a unique encryption server and using joint watermarking and encryption to protect real-time data transmission. The acquired results, which include experiments conducted on a real hardware platform using Arduino UNO Rev.3, show that the proposed scheme ensures security and user data privacy while consuming a low amount of energy and time for execution. Additionally, a comparative analysis demonstrates that the proposed protocol performs better than earlier research works concerning requirements for data and privacy, resilience to possible attacks, and capacity to overcome their limitations.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Integrating blockchain with IoT: Evaluating the feasibility of lightweight Bitcoin wallets on resource-constrained devices

  • Rahmanikivi, Mohsen
  • Pérez-Solà, Cristina
  • Garcia-Font, Victor
The integration of blockchain technology with IoT architectures holds immense potential for advancing application design and enhancing security properties. However, the resource constraints typically present in IoT devices pose a challenge. This paper explores the feasibility of running a lightweight Bitcoin wallet on IoT devices and identifies the minimum requirements for their successful operation. A review of the literature is used to identify existing integration architectures and derive the wallet needs. The study evaluates performance metrics such as execution time, memory usage, network data transmission, and power consumption to determine the feasibility of deploying these architectures.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Deep learning for steganalysis of diverse data types: A review of methods, taxonomy, challenges and future directions

  • kheddar, hamza
  • Hemis, Mustapha
  • Himeur, Yassine
  • Megias, David
  • Amira, Abbes
Steganography and steganalysis are two interrelated aspects of the field of information security. Steganography seeks to conceal communications, whereas steganalysis aims to discover or, if possible, recover the data they contain. These two areas have garnered significant interest, especially among law enforcement agencies. Cybercriminals and even terrorists often employ steganography to avoid detection while in possession of incriminating evidence, even when that evidence is encrypted, since cryptography is prohibited or restricted in many countries. Therefore, a deep understanding of cutting-edge techniques for uncovering concealed information is essential in exposing illegal activities. Over the last few years, a number of strong and reliable steganography and steganalysis techniques have been introduced in the literature. This review paper provides a comprehensive overview of deep learning-based steganalysis techniques used to detect hidden information within digital media. The paper covers all types of cover in steganalysis, including image, audio, and video, and discusses the most commonly used deep learning techniques. In addition, the paper explores the use of more advanced deep learning techniques, such as deep transfer learning (DTL) and deep reinforcement learning (DRL), to enhance the performance of steganalysis systems. The paper provides a systematic review of recent research in the field, including data sets and evaluation metrics used in recent studies. It also presents a detailed analysis of DTL-based steganalysis approaches and their performance on different data sets. The review concludes with a discussion on the current state of deep learning-based steganalysis, challenges, and future research directions.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Internet of Things-Based Multi-Agent System for the Control of Smart Street Lighting

  • Kouah, Sofia
  • Saighi, Asma
  • Ammi, Meryem
  • Naït Si Mohand, Aymen
  • Kouah, Marwa Ines
  • Megias, David
The Internet of Things refers to a network of interconnected devices, objects, and systems, that can interact with one another without human intervention. The adoption of IoT technology has expanded rapidly, significantly impacting various fields, including smart healthcare, intelligent transportation, agriculture, and smart homes. This paper focuses on smart street lighting, which represents the core piece of the smart city and the key public service for citizens’ safety. Nevertheless, it poses substantial challenges related to energy consumption, especially during energy crises. This work aims to provide an advanced solution that enables intelligent control of street lighting, enhances human safety, reduces CO2 emissions and light pollution, and optimizes energy consumption, as well as facilitates maintenance of the lighting network. The solution is twofold: First, it introduces IoT-based smart street lighting referential models; second, it presents a framework for controlling smart street lighting based on the referential models. The proposal uses an IoT-based fuzzy multi-agent systems approach to address the challenges of smart street lighting. The approach leverages the strengths and properties of fuzzy logic and multi-agent systems to address the system requirements. This is illustrated through a testbed case study conducted on a concrete IoT prototype.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

SmartBLock: a smart lock protocol over the Bitcoin blockchain

  • Rahmanikivi, Mohsen
  • Pérez-Solà, Cristina
  • Garcia-Font, Victor
This paper introduces "SmartBLock", a novel protocol that integrates smart lock management with the Bitcoin blockchain. By employing blockchain technology, the SmartBLock protocol eliminates the need for centralized databases (reducing the risk of data breaches) and ensures accountability for all access events. Authentication is accomplished through Bitcoin's cryptographic signature scheme. Additionally, SmartBLock is an open and manufacturer-agnostic protocol, relying on the open and permissionless Bitcoin blockchain rather than proprietary tools or protocols. Given the limited computational capabilities of Internet of Things (IoT) devices, achieving this integration presents a significant challenge. This paper provides a comprehensive review of the state of the art in smart lock protocols, details the design of the SmartBLock protocol, presents a proof-of-concept prototype to validate its feasibility, and offers a meticulous analysis of its security, privacy, and traceability features.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Analyzing and Benchmarking ZK-Rollups

  • Chaliasos, Stefanos
  • Reif, Itamar
  • Torralba Agell, Adrià
  • Ernstberger, Jens
  • Kattis, Assimakis
  • Livshits, Benjamin
As blockchain technology continues to transform the realm of digital transactions, scalability has emerged as a critical issue. This challenge has spurred the creation of innovative solutions, particularly Layer 2 scalability techniques like rollups. Among these, ZK-Rollups are notable for employing ZeroKnowledge Proofs to facilitate prompt on-chain transaction verification, thereby improving scalability and efficiency without sacrificing security. Nevertheless, the intrinsic complexity of ZK-Rollups has hindered an exhaustive evaluation of their efficiency, economic impact, and performance. This paper offers a theoretical and empirical examination aimed at comprehending and evaluating ZK-Rollups, with particular attention to ZK-EVMs. We conduct a qualitative analysis to break down the costs linked to ZK-Rollups and scrutinize the design choices of well-known implementations. Confronting the inherent difficulties in benchmarking such intricate systems, we introduce a systematic methodology for their assessment, applying our method to two prominent ZK-Rollups: Polygon zkEVM and zkSync Era. Our research provides initial findings that illuminate trade-offs and areas for enhancement in ZK-Rollup implementations, delivering valuable insights for future research, development, and deployment of these systems.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Unveiling Privacy Risks: Property Inference Attacks in Federated Learning Environments

  • Serebriakova, Antonina
  • Pineda Burgueño, Gorka
  • Garcia-Font, Victor
  • Pérez-Solà, Cristina
Federated Learning (FL) advances privacypreserving machine learning by decentralizing model training to individual devices, ensuring data remains localized. However, FL is not immune to privacy threats. This paper investigates the specific risk of property inference attacks, where an adversary infers whether a certain property is present in the training data, despite this property not being the focus of the global model. Through experiments with TensorFlow Federated, we replicate and extend previous findings on property inference attacks, validating their reproducibility, credibility and robustness. Our analysis reveals two key insights: property inference attacks are highly effective during the initial training rounds due to significant early updates, and the rarity of the property in the dataset enhances attack effectiveness due to greater weight contrast. Our results demonstrate that even without adversarial modifications, significant privacy risks exist in FL systems, highlighting the need for enhanced security measures to protect sensitive information in FL environments.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Single-image steganalysis in real-world scenarios based on classifier inconsistency detection

  • Lerch-Hostalot, Daniel
  • Megias, David
This paper presents an improved method for estimating the accuracy of a model based on images intended for prediction, enhancing the standard Detection of Classifier Inconsistencies (DCI) method. The conventional DCI method typically requires a large enough set of images from the same source to provide accurate estimations, which limits its practicality. Our enhanced approach overcomes this limitation by generating a set of images from a single original image, thereby enabling the application of the standard DCI method without requiring more than one target image. This method ensures that the generated images maintain the statistical properties of the original, preserving any embedded steganographic messages, through the use of non-destructive image manipulations such as flips, rotations, and shifts. Experimental results demonstrate that our method produces results comparable to those of the traditional DCI method, effectively estimating model accuracy with as few as 32 generated images. The robustness of our approach is also confirmed in challenging scenarios involving cover source mismatch (CSM), making it a viable solution for real-world applications.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

WaterCrypt: Joint Watermarking and Encryption Scheme for Secure Privacy-Preserving Data Aggregation in Smart Metering Systems

  • Kabir, Farzana
  • Megias, David
  • Koohpayeh araghi, Tanya
As the world is embracing the new era of smart technologies and the development of IoT equipments, such as smart grid and metering systems, a significant concern related to the privacy and security of user’s confidential information is forming rapidly. Many of the existing solutions are still suffering from plenty of time and power consumption, and security vulnerabilities. Secure data aggregation in smart metering systems is still a challenging task due to a plethora of attainable cyber and physical attacks. This paper presents the novel WaterCrypt technique based on reversible watermarking and Paillier encryption that significantly reduces the battery consumption of resource constrained smart meters by introducing a unique Encryption Server as well as making use of the homomorphic encryption properties to secure real time data transmission. In addition, the reversible watermarking technique used in the protocol guarantees the integrity and authenticity of data. The experimental results show that the proposed scheme offers a privacy friendly, secure data transmission and aggregation solution in smart metering systems in a cost effective manner.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

An Empirical Analysis of Running a Bitcoin Minimal Wallet on an IoT Device

  • Rahmanikivi, Mohsen
  • Pérez-Solà, Cristina
  • Garcia-Font, Victor
Integrating blockchain with IoT technology is a hot topic in recent years. Some outstanding approaches propose to design new blockchain platforms from scratch to adapt them to the special needs of the resource-constrained devices of the IoT. On the other hand, integrating existing blockchain systems, like Bitcoin or Ethereum, would open the door to extend and use a plethora of already successful applications running on these systems. In this paper, we show the feasibility to interact with the Bitcoin blockchain with an IoT device. To this end, we implement a minimal SPV wallet that we deploy on a microcontroller unit from the STM32F4 family. Then, we empirically study the performance of this minimal wallet analyzing its key functionalities in terms of execution time, memory usage, and network traffic. Beyond demonstrating the feasibility of integrating the most popular blockchain network with the IoT, the results of this experiment show the most demanding operations, which is a necessary first step to construct a wallet optimized for the IoT.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Towards Measuring Fairness for Local Differential Privacy

  • Salas, Julián
  • Torra, Vicenç
  • Megias, David
Local differential privacy (LDP) approaches provide data subjects with the strong privacy guarantees of Differential Privacy under the scenario of untrusted data curators. They are used by companies (e.g., Google’s RAPPOR) to collect potentially sensitive data from clients through randomized response. Randomized response was proposed as a method to allow respondents to surveys to answer questions about sensitive issues such as illegal behavior or private preferences. By randomizing their answers, the respondents are provided by plausible deniability, their answers about a sensitive issue may be “yes” either because it is true or by chance. We study how randomized response mechanisms that provide LDP for a fixed ε, may provide different privacy guarantees to respondents depending on their sensitive attribute value, i.e., they have disparate impact regarding the privacy protection. We propose measures for fair privacy when applying LDP and show that the parameters on the randomized response matrix can be tuned to generate fairer-LDP mechanisms with the same global privacy guarantee ε. We show the effectiveness of our approach through an experimental evaluation in Machine Learning Classification tasks on three commonly used benchmark datasets: Adult Income, COMPAS and German Credit.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

A distributed and cooperative signature-based intrusion detection system framework for multi-channel man-in-the-middle attacks against protected Wi-Fi networks

  • Thankappan, Manesh
  • Rifà-Pous, Helena
  • Garrigues, Carles
A Multi-Channel Man-in-the-Middle (MC-MitM) attack is an advanced form of MitM attack, characterized by its ability to manipulate encrypted wireless communications between the Access Point (AP) and clients within a WiFi network. MC-MitM attacks can target any Wi-Fi client, regardless of the authentication method used with the AP. Notable examples of such attacks include Key Reinstallation Attacks and FragAttacks, which have impacted millions of WiFi systems worldwide, especially those involving Internet of Things devices. Current defense mechanisms are inadequate against these attacks due to interoperability challenges and the need for modifications to devices or protocols within the targeted Wi-Fi networks. This paper introduces a distributed and cooperative signature-based wireless intrusion detection mechanism designed for online passive monitoring to detect malicious traffic patterns during MC-MitM attacks in any environment, from apartments and houses to large areas like hotels, offices or industrial sites. We implemented the proposed framework on Raspberry Pis and evaluated it in real-world settings. Our evaluation demonstrates that this framework can effectively identify MC-MitM attacks with an average accuracy of 98% when deployed across different locations within our experimental testbed.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

ReWaP: Reversible Watermarking and Paillier encryption approach for privacy-preserving smart meter

  • Kabir, Farzana
  • Cabaj, Krzysztof
  • Koohpayeh araghi, Tanya
  • Megias, David
Smart meters generate detailed information about the energy consumption patterns of the consumer, increasing the risks of data breaches, identity theft, and other forms of cyberattacks. Many existing solutions still suffer from computational complexity, time consumption, and security vulnerabilities. To address these issues, this paper presents ReWaP, a Reversible Watermarking and Paillier encryption-based privacy-preserving scheme to ensure data confidentiality, integrity, and authenticity in smart meter systems. This unique approach protects user privacy and maintains the security of the meter reading. A comprehensive security analysis verifies the resilience of the proposed scheme against multiple known attacks. The implementation using a RIOT OS and Nucleo microcontroller board resulted in low computational overhead and minimal impact on communication bandwidth. The experimental results and performance analysis demonstrate that the proposed scheme effectively balances data privacy, system reliability, and operational efficiency, making it an effective solution for modern smart metering infrastructures.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Calyptography: secure secret storage inspired by cryptography and steganography

  • Lerch-Hostalot, Daniel
  • Puiggali, Jordi
  • Megias, David
This paper introduces calyptography, a novel method for secure secret storage that combines principles from steganography and cryptography without altering the carrier media. Unlike traditional cryptographic systems, which rely solely on passphrases or keys, or steganographic systems, which embed data into a cover medium, calyptography links a secret to an unmodified image via a robust perceptual hash. The proposed system derives encryption and decryption keys from both a user passphrase and the perceptual features of a reference image, allowing secure storage while resisting typical image transformations such as compression, filtering, or rescaling. A detailed method based on DCT-based image hashing and randomized patch extraction is presented, alongside error correction techniques that preserve key robustness without reducing entropy. Experimental results show the method’s high robustness against common image manipulations compared to traditional perceptual hashing schemes, making calyptography a promising alternative for secure and user-friendly secret management.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Diseño de una Estrategia Probabilística de Defensa de Objetivo Móvil para Manejar Ataques contra Nodos de Red con Múltiples Recursos

  • Ahmad Kassem, Jamil
  • Rifà-Pous, Helena
  • Garcia-Alfaro, Joaquin
Las estrategias de defensa de ciberseguridad tradicionales se basan en un enfoque lineal que consiste en detectar las amenazas, seleccionar las defensas y mitigar los ataques. Sin embargo, estas estratégias presentan limitaciones frente a amenazas emergentes, desconocidas y avanzadas. Uno de los enfoques para diseñar soluciones más robustas y que no requieran del conocimiento previo del adversario o del ataque específico que se está ejecutando es la Defensa de Objetivo Móvil (Moving Target Defense - MTD). En este estudio, presentamos una solución innovadora de MTD que busca desviar o minimizar los daños causados por los ataques, aprovechando la teoría bayesiana del juego de Stackelberg para establecer estrategias óptimas tanto para el defensor como para el adversario. Demostramos cómo el defensor puede reducir costes al alejar los ataques de los nodos de mayor criticidad. Validamos nuestro enfoque mediante simulaciones cuyos resultados superan a las estrategias anteriores. Este nuevo enfoque sienta las bases para el desarrollo de modelos más avanzados que puedan utilizar una representación más detallada de los recursos del sistema, optimizando aún más la ciberseguridad ante amenazas complejas y en constante evolución.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

MT2M: Strategic Cost-Based Optimization of Cyber Defense in Variable Constraints Systems

  • Ahmad Kassem, Jamil
  • Rifà-Pous, Helena
  • Garcia-Alfaro, Joaquin
When confronted with advanced cyber threats, traditional cybersecurity methods often struggle with system performance and cost-effectiveness. Current approaches using game theory for passive applications, such as Moving Target Defense (MTD), lack flexibility in adapting to varying resource criticalities and rely on rigid cost assumptions that overlook the interdependencies among system components. Additionally, these approaches are complex and grow exponentially more complex with the network. This paper presents the Multiple Target Moving Target Defense (MTD) Model (MT2M), a strategic MTD framework based on Bayesian Stackelberg game theory to optimize cyber defense costs. Optimization is done while considering both resource criticality and node capacity. By transforming a complex, NP-hard cost problem into a linear one, MT2M enables scalable deployment. Numerical simulations demonstrate that the proposed framework achieves comparable security to traditional methods while reducing defense costs by up to 15%. This research establishes a framework that can be later expanded to include a more variable and complex network configuration.
O2, repositorio institucional de la UOC
Publicación Conferencia académica (Lecture)

Next-Generation smart grid security: a comparative analysis of blockchain, zero-trust, and AI-driven cyberdefense strategies

  • Yasir Masood, Muhammad
  • Rifà-Pous, Helena
The integration of Internet of Things (IoT) technologies into smart grids has revolutionized energy management, but has also introduced significant cybersecurity risks. This survey investigates the role of zero-trust frameworks, blockchain, and Artificial Intelligence (AI) in securing smart grids. The study covers a broad spectrum of emerging threats, including False Data Injection (FDI) attacks, AI-driven generative attacks, and vulnerabilities in blockchain-based systems. In addition, it assesses the effectiveness of current detection techniques and highlights the challenges encountered in securing smart grids against evolving cyber threats. The findings suggest that hybrid approaches integrating Zero Trust Architecture (ZTA), blockchain, and AI-based anomaly detection systems have the potential to significantly improve grid security. However, implementing these solutions on a scale requires addressing challenges such as scalability, energy efficiency, and resilience to adversarial attacks. Finally, the survey identifies gaps in existing research. It proposes directions for future work, focusing on the development of advanced security models that integrate hardware and software solutions for enhanced resilience, scalability, and long-term sustainability.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Graph neural networks for anomaly detection: a systematic review of dynamic temporal approaches

  • Ares Robledo, Fernando
  • Rifà-Pous, Helena
  • Clarisó, Robert
Graph Neural Network (GNN) have recently gained significant attention for their ability to model evolving relationships in graph-structured data, offering new opportunities for anomaly detection in cybersecurity. This Systematic Literature Review (SLR) examines the current state of research on these models applied to cybersecurity-related anomaly detection tasks. We systematically analyze 79 studies to identify key trends, challenges, and opportunities in this emerging field. Our review highlights that while GNN offer unique advantages such as capturing spatiotemporal dependencies and modeling complex cyberthreat patterns, several barriers remain, including scalability issues, limited real-world datasets, and the lack of interpretability in most models. Common architectures such as Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), and hybrid Transformer-based models are identified, along with their applications in intrusion detection, botnet detection, and anomaly detection in industrial control systems. Several studies propose that GNN can overcome current limitations by integrating contrastive learning and adaptive models for real-time threat detection. This review emphasizes the need for scalable, explainable, and deployment-ready solutions to fully realize the potential of dynamic graph models in cybersecurity. Future research should focus on developing scalable and adaptive architectures, integrating improved interpretability mechanisms, and enhancing model robustness through cross-domain validation and real-time applications.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Beyond Optimization: rethinking secure resource allocation in B5G networks under adversarial conditions

  • Ali, Sameer
  • Rifà-Pous, Helena
The future mobile networks are transforming into multidimensional, adaptive networks, aka beyond 5G (B5G), where the digital services are delivered over network slices whose network definition is virtual. It is also important that such slices are available to users with a wide variety of needs on a safe and efficient basis. The current solutions are mainly aimed at ensuring that things are faster and reliable; however, in the majority of situations, they fail to give much consideration to the security threat from malicious users. This reflection paper examines the limitations of existing approaches and argues for embedding security mechanisms directly within resource allocation frameworks. It explores the integration of zero-knowledge proofs (ZKPs) for user verification and integer linear programming (ILP) for secure allocation, forming a unified adversary-aware model. This perspective encourages a shift from purely performance-driven strategies toward security-by-design methods capable of addressing dynamic threats in real time.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

An independent secure authentication system against false positive/negative attacks in SVD-Based watermarking: design and implementation

  • Koohpayeh araghi, Tanya
  • Megias, David
The False Positive Problem (FPP) is one of the main concerns in Singular Value Decomposition (SVD) based image watermarking schemes. In the SVD transform, an image is decomposed into three matrices: U and V (singular vectors) and S (singular values). The coefficients within S are excellent candidates for watermark insertion due to their stability against signal processing and geometric attacks. However, this embedding is not applicable for copyright protection since attackers can misuse of FPP. In this paper, we designed and implemented an independent full package as an authentication system to investigate the authenticity of watermark extractors and ensure FPP elimination. This authentication system can be added to all SVD based image watermarking schemes suffering from FPP to eliminate it and to ensure security with minimum degradation in imperceptibility and robustness. The distinction of the proposed system is that it can be offered as a separate and independent package for authentication without tangible consequence on quality of the watermarked images which is especially useful for all watermarking schemes susceptible to FPP to correct false positive and avoid false negative problems.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Aletheia: an open-source toolbox for steganalysis

  • Lerch-Hostalot, Daniel
  • Megias, David
Steganalysis is the practice of detecting the presence of hidden information within digital media, such as images, audio, or video. It involves analyzing the media for signs of steganography, which is a set of techniques used to conceal information within the carrier file. Steganalysis techniques can include statistical analysis, visual inspection, and machine learning algorithms to uncover hidden data. The goal of steganalysis is to determine whether a file contains covert information and potentially identify the steganographic method used. Steganalysis has become increasingly important in the face of rising spying and stegomalware threats, particularly in the context of data exfiltration. In this scenario, malicious actors leverage steganographic techniques to conceal sensitive data within innocent-looking files, evading traditional security measures. By detecting and analyzing such covert communication channels, steganalysis helps to identify and prevent data exfiltration attempts, safeguarding critical information and preventing it from falling into the wrong hands. In recent years, there has been a significant growth in the interest of researchers towards the field of steganalysis. The application of deep learning (Boroumand et al., 2019; Yousfi et al., 2020) in steganalysis has opened up new avenues for research, leading to improved detection rates and enhanced accuracy. As the field continues to evolve, experts are actively exploring novel architectures and training methodologies to further refine the performance of deep learning-based steganalysis.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Impact of Dataset Composition on Machine Learning Performance for Anomaly Detection in Smart Home Cybersecurity

  • Iturbe Araya, Juan Ignacio
  • Rifà-Pous, Helena
Anomaly-based cyberattack detection plays a crucial role in protecting smart home environments by detecting and preventing potential threats and unauthorized access. However, there is a discernible gap in evaluating existing datasets based on real-world smart home features, highlighting their use cases and limitations, and providing recommendations for developing more suitable datasets for dynamic smart homes. This paper includes a comparative analysis of some selected datasets, an assessment of how the datasets' limitations impact the performance of machine learning-based anomaly detection techniques, and a discussion of their implications for anomaly-based cybersecurity research and practice. Furthermore, this research serves as a foundation for future studies in smart home anomaly-based detection, emphasizing the importance of high-quality datasets and adaptive detection techniques in securing smart homes and protecting user privacy.
O2, repositorio institucional de la UOC
Publicación Contribución de congreso (ConferenceOutput)

Leveraging a Smart Grid Framework for Interoperability with a Distributed Ecosystem

  • Ferré-Queralt, Joan
  • Kabir, Farzana
  • Megias, David
  • Viejo, Alexandre
  • Castellà-Roca, Jordi
The transition from traditional, centralized power grids to decentralized smart grids is essential for integrating renewable energy sources and enhancing the efficiency, reliability, and sustainability of electricity production and distribution. This paper presents a comprehensive evaluation framework for a decentralized smart grid demonstrator, addressing key challenges such as interoperability, security, privacy, and scalability. The proposed architecture to perform the evaluation comprises three layers: user interface nodes (prosumers and smart meters), distribution nodes, and a master node, facilitating bidirectional electricity trading and communication. We implement this testing framework using a network of Raspberry Pi devices and a personal computer, simulating real-world smart grid conditions. The experimental evaluation, conducted with a dataset of household electricity consumption and production, confirms the system’s ability to simulate diverse user behaviors, maintain configurability, support various implementations, and ensure modularity and interoperability. Our results demonstrate the system’s effectiveness in providing a robust platform for evaluating different smart grid implementations, focusing on user anonymity, data integrity, system reliability, computational cost, and electricity consumption.
O2, repositorio institucional de la UOC
Publicación Artículo científico (JournalArticle)

Overview of the Twitter conversation around #14F 2021 Catalonia regional election: an analysis of echo chambers and presence of social bots

  • Broto Cervera, Raul
  • Pérez-Solà, Cristina
  • Batlle, Albert
The omnipresence of the digital ecosystem makes it increasingly important in our societies, which implies that the analysis and study of the digital battlefield in political elections is also becoming more necessary to protect our democracies. Previous literature showed the existence of information operations around the world, designed to manipulate the political perception of citizens, and therefore, the electoral results. This paper examines the Twitter conversation around #14F 2021 Catalonia regional elections, which had special significance due to the pandemic situation and the highly polarized scenario around Catalonia and Spain, using tools and techniques from Big Data Analytics and Artificial Intelligence. The results obtained show that the conversation existed inside robust echo chambers within each political party community, which became even more powerful if parties are unified into political affinity blocks. Also, focusing on the analysis related to the social bot presence, a significant quantity of results showed a higher presence of social bots in VOX party community compared to the rest of communities. This study corroborates other existing studies regarding the Catalan and Spanish scenario on the presence of echo chambers and on the existence of social bots with their tendency to basically amplify content; it also uncovers the lack of existence of cross-conversation between the independentist and unionist political block claimed in other studies.