Skip to main content

Resultados relacionados

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

UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Hypervisor extension for a RISC-V processor

  • Gauchola Vilardell, Jaume
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Carril Gil, Xavier|||0009-0008-8392-7579
  • Doblas Font, Max|||0000-0002-8909-3033
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Pajuelo González, Manuel Alejandro|||0000-0002-5510-6860
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Salamero Sanz, Javier
  • Verdú Mulà, Javier|||0000-0003-4485-2419
This paper describes our experience implementing a Hypervisor extension for a 64-bit RISC-V processor. We describe the design process and the main required parts with a brief explanation of each one., This work is partially supported by the DRAC (IU16-011591), the HORIZON Vitamin-V (101093062) and the Computación de Altas Prestaciones VIII (PID2019-107255GB) projects., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

A 3D terrain generator: Enhancing robotics simulations with GANs

  • Arellano García, Silvia
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Kucner, Tomasz Piotr
  • Canal Corretger, Ramon|||0000-0003-4542-204X
Simulation is essential in robotics to evaluate models and techniques in a controlled setting before conducting experiments on tangible agents. However, developing simulation environments can be a challenging and time-consuming task. To address this issue, a proposed solution involves building a functional pipeline that generates 3D realistic terrains using Generative Adversarial Networks (GANs). By using GANs to create terrain, the pipeline can quickly and efficiently generate detailed surfaces, saving researchers time and effort in developing simulation environments for their experiments. The proposed model utilizes a Deep Convolutional Generative Adversarial Network (DCGAN) to generate heightmaps, which are trained on a custom database consisting of real heightmaps. Furthermore, an Enhanced Super-Resolution Generative Adversarial Network (ESRGAN) is used to improve the resolution of the resulting heightmaps, enhancing their visual quality and realism. To generate a texture according to the topography of the heightmap, chroma keying is used with previously selected textures. The heightmap and texture are then rendered and integrated, resulting in a realistic 3D terrain. Together, these techniques enable the model to generate high-quality, realistic 3D terrains for use in robotic simulators, allowing for more accurate and effective evaluations of robotics models and techniques., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO, by the Generalitat de Catalunya under grant 2021-SGR-00326. Finally, the research leading to these results also has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed, Objectius de Desenvolupament Sostenible::9 - Indústria, Innovació i Infraestructura
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

Security and RAS in the computing continuum

  • Alonso García, Martí
  • Andreu Gerique, David
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Di Carlo, Stefano
  • Chatzopoulos, Odysseas
  • Chenet, Cristiano
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Gironès, Andreu
  • Gizopoulos, Dimitris
  • Papadimitriou, George
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Savino, Alessandro
Security and RAS are two non-functional requirements under focus for current systems developed for the computing continuum. Due to the increased number of interconnected computer systems across the continuum, security becomes especially pervasive at all levels, from the smallest edge device to the high-performance cloud at the other end. Similarly, RAS (Reliability, Availability, and Serviceability) ensures the robustness of a system towards hardware defects. Namely, making them reliable, with high availability and design for easy service. In this paper and as a result of the Vitamin-V EU project, the authors detail the comprehensive approach to malware and hardware attack detection; as well as, the RAS features envisioned for future systems across the computing continuum., Funded by the European Union under the Horizon Europe Programme. Project name: Vitamin-V. Project number: 101093062. Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the HaDEA. Neither the European Union nor the granting authority can be held responsible for them. This paper is also funded by HFRI with title REDESIGN and Project Number 16973 and project SERICS (PE00000014) under the MUR National Recovery and Resilience Plan funded by the European Union- NextGenerationEU.
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

Detection of hardware based attacks using performance counters

  • Andreu Gerique, David
  • Alonso García, Martí
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
Hardware attacks, such as Spectre or Meltdown, try to exploit vulnerabilities on the processor architecture, usually to gain access to privileged memory locations, producing leaks of critical information. Most of this attacks exploit out-of-order execution and also highly stress the computer’s cache, and both of these behaviours can be tracked using hardware performance counters (HPC). In order to try to use HPCs in our advantage we: 1. Collected several samples of different attacks and HPCs 2. Collected an equivalent amount of samples from benign programs 3. Trained a Support Vector Machine to classify the execution as benign or malignant, Funded by the European Union. Project number: 101093062.
UPCommons. Portal del coneixement obert de la UPC
Publication Capítulo o parte de un libro (BookPart)

Challenges and opportunities for RISC-V architectures towards genomics-based workloads

  • Gómez Sánchez, Gonzalo
  • Call Barreiro, Erin|||0000-0002-2770-1662
  • Teruel García, Xavier
  • Alonso Parrilla, Lorena
  • Morán Castany, Ignasi
  • Pérez Elena, Miguel Ángel
  • Torrents Arenales, David
  • Berral García, Josep Lluís|||0000-0003-3037-3580
The use of large-scale supercomputing architectures is a hard requirement for scientific computing Big-Data applications. An example is genomics analytics, where millions of data transformations and tests per patient need to be done to find relevant clinical indicators. Therefore, to ensure open and broad access to high-performance technologies, governments, and academia are pushing toward the introduction of novel computing architectures in large-scale scientific environments. This is the case of RISC-V, an open-source and royalty-free instruction-set architecture. To evaluate such technologies, here we present the Variant-Interaction Analytics use case benchmarking suite and datasets. Through this use case, we search for possible genetic interactions using computational and statistical methods, providing a representative case for heavy ETL (Extract, Transform, Load) data processing. Current implementations are implemented in x86-based supercomputers (e.g. MareNostrum-IV at the Barcelona Supercomputing Center (BSC)), and future steps propose RISC-V as part of the next MareNostrum generations. Here we describe the Variant Interaction Use Case, highlighting the characteristics leveraging high-performance computing, indicating the caveats and challenges towards the next RISC-V developments and designs to come from a first comparison between x86 and RISC-V architectures on real Variant Interaction executions over real hardware implementations., This work has been partially financed by the European Commission (EU-HORIZON NEARDATA GA.101092644, VITAMIN-V GA.101093062), the MEEP Project which received funding from the European High-Performance Computing Joint Undertaking (JU) under grant agreement No 946002. The JU receives support from the European Union’s Horizon 2020 research and innovation program and Spain, Croatia and Turkey. Also by the Spanish Ministry of Science (MICINN) under scholarship BES-2017-081635, the Research State Agency (AEI) and European Regional Development Funds (ERDF/FEDER) under DALEST grant agreement PID2021-126248OBI00, MCIN/AEI/10.13039/ 501100011033/FEDER and PID GA PID2019-107255GB-C21, and the Generalitat de Catalunya (AGAUR) under grant agreements 2021-SGR-00478, 2021-SGR-01626 and ”FSE Invertint en el teu futur”., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Validation, Verification, and Testing (VVT) of future RISC-V powered cloud infrastructures: the Vitamin-V Horizon Europe Project perspective

  • Alonso García, Martí
  • Andreu Gerique, David
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Di Carlo, Stefano
  • Chenet, Cristiano
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Gironès, Andreu
  • Gizopoulos, Dimitris
  • Karakostas, Vasileios
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Papadimitriou, George
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Savino, Alessandro
Vitamin-V is a project funded under the Horizon Europe program for the period 2023-2025. The project aims to create a complete open-source software stack for RISC-V that can be used for cloud services. This software stack is intended to have the same level of performance as the x86 architecture, which is currently dominant in the cloud computing industry. In addition, the project aims to create a powerful virtual execution environment that can be used for software development, validation, verification, and testing. The virtual environment will consider the relevant RISC-V ISA extensions required for cloud deployment. Commercial cloud systems use hardware features currently unavailable in RISC-V virtual environments, including virtualization, cryptography, and vectorization. To address this, Vitamin-V will support these features in three virtual environments: QEMU, gem5, and cloud-FPGA prototype platforms. The project will focus on providing support for EPI-based RISC-V designs for both the main CPUs and cloud-important accelerators, such as memory compression. The project will add the compiler (LLVM-based) and toolchain support for the ISA extensions. Moreover, Vitamin-V will develop novel approaches for validating, verifying, and testing software trustworthiness. This paper focuses on the plans and visions that the Vitamin-V project has to support validation, verification, and testing for cloud applications, particularly emphasizing the hardware support that will be provided., Funded by the European Union. Project number: 101093062., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

Low-cost training of image-to-image diffusion models with incremental learning and task/domain adaptation

  • Antona Pizà, Héctor
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Tous Liesa, Rubén|||0000-0002-1409-5843
Diffusion models specialized in image-to-image translation tasks, like inpainting and colorization, have outperformed the state of the art, yet their computational requirements are exceptionally demanding. This study analyzes different strategies to train image-to-image diffusion models in a low-resource setting. The studied strategies include incremental learning and task/domain transfer learning. First, a base model for human face inpainting is trained from scratch with an incremental learning strategy. The resulting model achieves an FID score almost equivalent to that of its batch learning equivalent while significantly reducing the training time. Second, the base model is fine-tuned to perform a different task, image colorization, and, in a different domain, landscape images. The resulting colorization models showcase exceptional performances with a minimal number of training epochs. We examine the impact of different configurations and provide insights into the ability of image-to-image diffusion models for transfer learning across tasks and domains., This work is partially supported by the Spanish Ministry of Science and Innovation under contracts PID2019-107255GB and PID2021-124463OB-IOO, by the Generalitat de Catalunya under grants 2017-SGR-962, 2021-SGR-00326, 2021-SGR-00478 and DRAC (IU16-011591). The research leading to these results has received funding from the European Union’s Horizon 2020 research and innovation program under the HORIZON-AG PHOENI2X (101070586) and HORIZON-EU VITAMIN-V (101093062) projects., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Vitamin-V: Virtual environment and tool-boxing for trustworthy development of RISC-V based cloud services

  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Chenet, Cristiano
  • Arelakis, Angelos
  • Arnau Montañes, Jose-Maria
  • Berral García, Josep Lluís|||0000-0003-3037-3580
  • Call Barreiro, Erin|||0000-0002-2770-1662
  • Di Carlo, Stefano
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
VITAMIN-V is a 2023–2025 Horizon Europe project that aims to develop a complete RISC-V open-source software stack for cloud services with comparable performance to the cloud-dominant x86 counterpart and a powerful virtual execution environment for software development, validation, verification, and testing that considers the relevant RISC-VISA extensions for cloud deployment. VITAMIN-V will specifically support the RISC-V extensions for virtualization, cryptography, and vec-torization in three virtual environments: QEMU, gem5, and cloud FPGA prototype platforms. The project will focus on European Processor Initiative (EPI) based RISC-V designs and accelerators. VITAMIN-V will also support the ISA extensions by adding the compiler and toolchain support. Furthermore, it will develop novel software validation, verification, and testing approaches to ensure software trustworthiness. To enable the execution of complete cloud stacks, VITAMIN-V will port all necessary machine-dependent modules in relevant open-source cloud software distributions, focusing on three cloud setups. Finally, VITAMIN-V will demonstrate and benchmark these three cloud setups using relevant AI, big-data, and serverless applications. VITAMIN-V aims to match the software performance of its x86 equivalent while contributing to RISC-V open-source virtual environments, software validation, and cloud software suites., Funded by the European Union. Project number: 101093062, Peer Reviewed, Article signat per 24 autors/es: Ramon Canal 1, Cristiano Chenet 2, Angelos Arelakis 10, José-Maria Arnau 8, Josep Ll. Berral 1,6, Erin Call 6, Stefano Di Carlo 2, Juan José Costa 1, Dimitris Gizopoulos 3, Vasileios Karakostas 3, Francesco Lubrano 5, Konstantinos Nikas 7, Yiannis Nikolakopoulos 10, Beatriz Otero 1, George Papadimitriou 3, Ioannis Papaefstathiou 4, Dionisios Pnevmatikatos 7, Daniel Raho 9, Alvise Rigo 9, Eva Rodríguez 1, Alessandro Savino 2, Alberto Scionti 5, Nikolaos Tampouratzis 4, Alex Torregrosa 8 / 1- Universitat Politècnica de Catalunya, Spain; 2- Politecnico di Torino, Italy; 3- University of Athens, Greece; 4- Exapsys, Greece; 5- LINKS Foundation, Italy; 6- Barcelona Supercomputing Center, Spain; 7- Institute of Communication & Computer Systems, Greece; 8- Semidynamics, Spain; 9- Virtual Open Systems, France; 10- ZeroPoint Technologies AB, Sweden
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

Automatic Linux malware detection using binary inspection and runtime opcode tracing

  • Alonso García, Martí
  • Gironès, Andreu
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Di Carlo, Stefano
  • Canal Corretger, Ramon|||0000-0003-4542-204X
The fast-paced evolution of cyberattacks to digital infrastructures requires new protection mechanisms to counterattack them. Malware attacks, a type of cyberattacks ranging from viruses and worms to ransomware and spyware, have been traditionally detected using signature-based methods. But with new versions of malware, this approach is not good enough, and new machine learning tools look promising. In this paper we present two methods to detect Linux malware using machine learning models: (1) a dynamic approach, that tracks the application executed instructions (opcodes) while they are being executed; and (2) a static approach, that inspects the binary application files before execution. We evaluate (1) five machine learning models (Support Vector Machine, k-Nearest Neighbor, Naive Bayes, Decision Tree and Random Forest) and (2) a deep neural network using a Long Short-Term Memory architecture with word embedding. We show the methodology, the initial dataset preparation, the infrastructure used to obtain the traces of executed instructions, and the evaluation of the results for the different models used. The obtained results show that the dynamic approach with a Random Forest classifier gets a 90% accuracy or higher, while the static approach obtains a 98% accuracy., We thank the anonymous reviewers for their thoughtful comments and suggestions which have improved the presentation of this work. This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO and by the Generalitat de Catalunya, Spain under grant 2021-SGR-00326. Finally, the research leading to these results has received funding from the European Union’s Horizon Programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

Detecting hardware attacks in RISC-V with on-chip performance counters

  • Pou Freixas, Albert
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Canal Corretger, Ramon|||0000-0003-4542-204X
Poster presentado en HiPEAC 2026 (Cracovia), Malware is evolving faster than traditional defenses. Signature-based tools often miss new polymorphic and metamorphic variants, leaving modern systems exposed. Embedded platforms add further constraints, demanding lightweight and autonomous protection. Processor Hardware Performance Counters (HPCs) reveal microarchitectural footprints of malicious activity. When combined with Machine Learning, they enable real-time, low-overhead malware detection—even on resource-constrained devices. Across five evaluated ML models, a Random Forest trained on five key HPCs achieves over 99.5% accuracy and detects nearly all unseen attacks, demonstrating strong precision and generalization., Funded by the European Union. Project number: 101093062.
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

Detecting RISC-V hardware attacks using instruction opcodes with QEMU

  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
Póster presentado en HiPEAC 2026 (Cracovia), As malware becomes more advanced, there is a growing need for more accurate and robust detection systems. Artificial Intelligence (AI) techniques, particularly those based on machine learning and deep learning, have emerged as powerful tools for identifying and classifying malicious behavior. Can we detect RISC-V Hardware Attacks using a machine learning model analyzing sequences of executed instructions? This work builds a suitable dataset, trains machine learning models and evaluates models in 2 scenarios: known and zero-day attacks, showing that known attacks can be detected with a high accuracy, while zero-day attacks may be detected but depends on the similarity with other trained attacks., Funded by the European Union. Project number: 101093062.
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

A differential privacy protection-based federated deep learning framework to fog-embedded architectures

  • Gutiérrez Escobar, Norma
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Utrera Iglesias, Gladys Miriam|||0000-0002-0637-1297
  • Mus León, Sergi
  • Canal Corretger, Ramon|||0000-0003-4542-204X
Nowadays, companies collect massive quantities of data to enhance their operations, often at the expense of sharing user sensible information. This data is widely used to train Deep Learning (DL) neural networks to model, classify, or recognize complex data. These activities enable companies to offer an array of services to users, such as precise advertising and optimal location services. This study explores potential solutions for preserving privacy while utilizing DL applications. To address the privacy issue, we develop a privacy-preserving framework specifically designed for fog computing environments. Unlike traditional cloud computing architectures, fog embedded architectures only share a small portion of user data with a nearby fog node, ensuring that the majority of sensitive data remains secure. Within these fog nodes, we incorporate two additional algorithms, namely Generalization and Threshold, to enhance the privacy-preserving capabilities of the framework. The first algorithm, Generalization, introduces a validation dataset within the fog nodes which not only increases the accuracy of the fog-embedded framework but also ensures that user data is preserved. The second algorithm, Threshold, is responsible for protecting user data samples and reducing the amount of information sent to the server. By combining these two algorithms, we are able to provide an additional layer of protection for user privacy while still maintaining the accuracy of the model. We conduct an evaluation to test its effectiveness using two separate datasets. In addition, we analyze them through a Feed Forward Neural Network (FFNN) and compare the results with a traditional centralized architecture to validate the effectiveness of the proposed framework. The results of our evaluation demonstrate that the proposed privacy-preserving framework, when combined with the Generalization and Threshold algorithms, can preserve up to 38.44% of user data. Additionally, we were able to extend the framework to multiple fog nodes without compromising the network’s accuracy, as we only observed a 0.1% decrease in accuracy when using the proposed architecture. This study emphasizes the importance of preserving user information while using DL applications and provides a solution that trains the desired network without violating user privacy, hence preserving their anonymity. Overall, the study highlights the potential of Federated Deep Learning to improve the accuracy and privacy of DL applications in fog computing environments., This work is partially supported by the Spanish Ministry of Science and Innovation, Spain under contracts PID2021-124463OB-IOO and PID2019-107255GB-C22; by the Generalitat de Catalunya, Spain under grant 2021SGR00326; and by the DRAC (IU16-011591), the HORIZON Vitamin-V, Spain(101093062), the HORIZON-AG PHOENI2X, Spain (101070586) and the HORIZON HORSE, Spain (101096342) projects., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

Enhancing cybersecurity in railways: Machine learning approaches for attack detection

  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Oriol, Mercedes
Ensuring the security of railway systems is crucial to protecting both passengers and infrastructure from the increasing threat of cyberattacks. As these threats grow in complexity and frequency, the need for resilient attack detection systems becomes more pressing. This study tackles the challenge of attack detection in railway systems using machine learning techniques. By integrating Generative Adversarial Networks (GANs), Convolutional Neural Networks (CNNs), and Transfer Learning (TL), we enhance detection accuracy and develop a robust approach capable of identifying both known and emerging threats. Our methodology utilized the Electra Modbus dataset as the source domain and was transferred to the Electra S7Comm dataset as the target domain. Experimental results highlight the effectiveness of GAN-based data augmentation in mitigating the scarcity of attack samples, enhancing both the robustness and generalizability of our detection models. Additionally, the application of pre-trained models through transfer learning played a crucial role in achieving superior performance. Our proposed solution can be deployed within railway networks to strengthen security measures, enabling proactive responses to cyber threats, safeguarding critical infrastructure, and ensuring uninterrupted operations., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO and by the Generalitat de Catalunya, Spain under grant 2021-SGR-00326. Finally, the research leading to these results has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-AG PHOENI2X (101070586), HORIZON-EU HORSE (101096342) and HORIZON-EU VITAMIN-V (101093062) projects., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

VITAMIN-V: Key results and insights from the Project 2023-2025

  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Di Carlo, Stefano
  • Gizopoulos, Dimitris
  • Scionti, Alberto
  • Lubrano, Francesco
  • Berral García, Josep Lluís|||0000-0003-3037-3580
  • Call Barreiro, Erin|||0000-0002-2770-1662
  • Nikas, Konstantinos
  • Pnevmatikatos, Dionisios
  • Raho, Daniel
  • Rigo, Alvise
  • Papaefstathiou, Yannis
  • Gauchola, Jaume
  • Arelakis, Angelos
Póster presentado en HiPEAC 2026 (Cracovia), VITAMIN-V aims to develop further RISC-V environment/tools for: 1. open-source virtual environments 2. software development and validation suites 3. cloud hardware-software stacks, Funded by the European Union. Project number: 101093062.
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Exploring image transformations with diffusion models: A survey of applications and implementation code

  • Arellano García, Silvia
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Tous Liesa, Rubén|||0000-0002-1409-5843
Diffusion Models have become increasingly popular in recent years and their applications span a wide range of fields. This survey focuses on the use of diffusion models in computer vision, specially in the branch of image transformations. The objective of this survey is to provide an overview of state-of-the-art applications of diffusion models in image transformations, including image inpainting, super-resolution, restoration, translation, and editing. This survey presents a selection of notable papers and repositories including practical applications of diffusion models for image transformations. The applications are presented in a practical and concise manner, facilitating the understanding of concepts behind diffusion models and how they function. Additionally, it includes a curated collection of GitHub repositories featuring popular examples of these subjects., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2019-107255GB and PID2021-124463OB- IOO, by the Generalitat de Catalunya under grants 2021-SGR-00478 and 2021-SGR-00326. Finally, the research leading to these results also has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Estudio, informe, memoria (Report)

Malware detection using opcodes and machine learning

  • Alonso García, Martí
  • Gironès, Andreu
  • Andreu Gerique, David
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Di Carlo, Stefano
Malware detection plays and important role in modern digital systems. Protecting against the fast-paced evolving cyber attacks is critical to safeguard sensitive information and preserve the integrity of digital infrastructure. Traditional signature-based detection methods are not effective when detecting new or altered versions of malware, such as polymorphic or metamorphic malware. Machine learning approaches have been proven to be much more effective at detecting such malware. Runtime behavior can be captured using the most fundamental part of a program, its instructions, also referred as the opcodes. This study presents both static and dynamic analysis using opcodes as the main feature for machine learning models., Funded by the European Union. Project number: 101093062.
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

Malware detection on Linux using runtime opcode tracing

  • Alonso García, Martí
  • Costa Prats, Juan José|||0000-0003-2479-0230
  • Morancho Llena, Enrique|||0000-0003-2403-8145
The fast-paced evolution of cyberattacks to digital infrastructures requires new protection mechanisms to counter-attack them. Malware attacks, a type of cyberattacks ranging from viruses and worms to ransomware and spyware, have been traditionally detected using signature-based methods. But with new versions of malware, this approach is not good enough, and new machine learning tools look promising. In this paper we evaluate five machine learning models (SVM, KNN, Naive Bayes, Decision Tree and Random Forest) to detect Linux malware on applications during its runtime by tracking their executed instructions (opcodes). We show the methodology, the initial dataset preparation, the infrastructure used to obtain the traces of executed instructions, and the evaluation of the results for the different models used. The obtained results show that Random Forest classifier gets the best results, with 90% accuracy or higher., Funded by the European Union. Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the HaDEA. Neither the European Union nor the granting authority can be held responsible for them. Project number: 101093062 This work is also partially supported by the Spanish Ministry of Science and Innovation under contract PID2021- 124463OB-IOO and by the Generalitat de Catalunya under grant 2021SGR00326., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

Deep-learning based detection for cyber-attacks in IoT networks: A distributed attack detection framework

  • Jullian Parra, Olivia
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Gutiérrez Escobar, Norma
  • Antona Pizà, Héctor
  • Canal Corretger, Ramon|||0000-0003-4542-204X
The widespread use of smart devices and the numerous security weaknesses of networks has dramatically increased the number of cyber-attacks in the internet of things (IoT). Detecting and classifying malicious traffic is key to ensure the security of those systems. This paper implements a distributed framework based on deep learning (DL) to prevent many different sources of vulnerability at once, all under the same protection system. Two different DL models are evaluated: feed forward neural network and long short-term memory. The models are evaluated with two different datasets (i.e.NSL-KDD and BoT-IoT) in terms of performance and identification of different kinds of attacks. The results demonstrate that the proposed distributed framework is effective in the detection of several types of cyber-attacks, achieving an accuracy up to 99.95% across the different setups., Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO, by the Generalitat de Catalunya under grants 2017SGR962, 2021SGR00326, and by the DRAC (IU16-011591), the HORIZON Vitamin-V (101093062) and the HORIZON-AG PHOENI2X (101070586) projects., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Contribución de congreso (ConferenceOutput)

High-resolution image generation using artificial intelligence and diffusion modelling

  • Scoles García, Amanda
  • Sionis Ponte, Giulia
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Utrera Iglesias, Gladys Miriam|||0000-0002-0637-1297
Super-Resolution via Repeated Refinement (SR3) is a state-of-the-art super-resolution algorithm based on diffusion model that can enhance the resolution of images. This method is used to pre-trained models on large datasets and can be used for various tasks without requiring training from scratch. Training SR3 from scratch using the ImageNet dataset involves a complex process that requires substantial computational resources and expertise. The idea is applied the trained SR3 model to new images by feeding the low-resolution inputs and obtaining the high-resolution outputs. It's important to note that training SR3 from scratch is a resource-intensive process that requires powerful GPUs and significant computation time. If you do not have access to such resources, an alternative is to use pre-trained models that are already available and fine-tune them on specific datasets or tasks. The paper shows the result of comparing the resolution of the preprocessed images using a significantly smaller number of images to perform the training with those obtained using the pre-trained model. The results obtained show acceptable results without having to perform on large datasets minimizing the computation time to obtain the resolution of images., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-100 and PID2019-107255GB-C22 by the Generalitat de Catalunya under grant 2021-SGR-00326 and 2021-SGR-01007. Finally, the research leading to these results also has received funding from the European Union's Horizon 2020 research and innovation program under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publication Artículo científico (JournalArticle)

A survey of machine and deep learning methods for privacy protection in the Internet of things

  • Rodríguez Luna, Eva|||0000-0001-5904-7039
  • Otero Calviño, Beatriz|||0000-0002-9194-559X
  • Canal Corretger, Ramon|||0000-0003-4542-204X
Recent advances in hardware and information technology have accelerated the proliferation of smart and interconnected devices facilitating the rapid development of the Internet of Things (IoT). IoT applications and services are widely adopted in environments such as smart cities, smart industry, autonomous vehicles, and eHealth. As such, IoT devices are ubiquitously connected, transferring sensitive and personal data without requiring human interaction. Consequently, it is crucial to preserve data privacy. This paper presents a comprehensive survey of recent Machine Learning (ML)- and Deep Learning (DL)-based solutions for privacy in IoT. First, we present an in depth analysis of current privacy threats and attacks. Then, for each ML architecture proposed, we present the implementations, details, and the published results. Finally, we identify the most effective solutions for the different threats and attacks., This work is partially supported by the Generalitat de Catalunya under grant 2017 SGR 962 and the HORIZON-GPHOENIX (101070586) and HORIZON-EUVITAMIN-V (101093062) projects., Peer Reviewed
Recercat. Dipósit de la Recerca de Catalunya
Publication

Detecting hardware attacks in RISC-V with on-chip performance counters

  • Pou Freixas, Albert
  • Otero Calviño, Beatriz
  • Canal Corretger, Ramon
Poster presentado en HiPEAC 2026 (Cracovia), Malware is evolving faster than traditional defenses. Signature-based tools often miss new polymorphic and metamorphic variants, leaving modern systems exposed. Embedded platforms add further constraints, demanding lightweight and autonomous protection. Processor Hardware Performance Counters (HPCs) reveal microarchitectural footprints of malicious activity. When combined with Machine Learning, they enable real-time, low-overhead malware detection—even on resource-constrained devices. Across five evaluated ML models, a Random Forest trained on five key HPCs achieves over 99.5% accuracy and detects nearly all unseen attacks, demonstrating strong precision and generalization., Funded by the European Union. Project number: 101093062., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Vitamin-V: Virtual environment and tool-boxing for trustworthy development of RISC-V based cloud services

  • Canal Corretger, Ramon
  • Chenet, Cristiano
  • Arelakis, Angelos
  • Arnau Montañes, Jose-Maria
  • Berral García, Josep Lluís
  • Call Barreiro, Erin
  • Di Carlo, Stefano
  • Costa Prats, Juan José
  • Otero Calviño, Beatriz
  • Rodríguez Luna, Eva
VITAMIN-V is a 2023–2025 Horizon Europe project that aims to develop a complete RISC-V open-source software stack for cloud services with comparable performance to the cloud-dominant x86 counterpart and a powerful virtual execution environment for software development, validation, verification, and testing that considers the relevant RISC-VISA extensions for cloud deployment. VITAMIN-V will specifically support the RISC-V extensions for virtualization, cryptography, and vec-torization in three virtual environments: QEMU, gem5, and cloud FPGA prototype platforms. The project will focus on European Processor Initiative (EPI) based RISC-V designs and accelerators. VITAMIN-V will also support the ISA extensions by adding the compiler and toolchain support. Furthermore, it will develop novel software validation, verification, and testing approaches to ensure software trustworthiness. To enable the execution of complete cloud stacks, VITAMIN-V will port all necessary machine-dependent modules in relevant open-source cloud software distributions, focusing on three cloud setups. Finally, VITAMIN-V will demonstrate and benchmark these three cloud setups using relevant AI, big-data, and serverless applications. VITAMIN-V aims to match the software performance of its x86 equivalent while contributing to RISC-V open-source virtual environments, software validation, and cloud software suites., Funded by the European Union. Project number: 101093062, Peer Reviewed, Article signat per 24 autors/es: Ramon Canal 1, Cristiano Chenet 2, Angelos Arelakis 10, José-Maria Arnau 8, Josep Ll. Berral 1,6, Erin Call 6, Stefano Di Carlo 2, Juan José Costa 1, Dimitris Gizopoulos 3, Vasileios Karakostas 3, Francesco Lubrano 5, Konstantinos Nikas 7, Yiannis Nikolakopoulos 10, Beatriz Otero 1, George Papadimitriou 3, Ioannis Papaefstathiou 4, Dionisios Pnevmatikatos 7, Daniel Raho 9, Alvise Rigo 9, Eva Rodríguez 1, Alessandro Savino 2, Alberto Scionti 5, Nikolaos Tampouratzis 4, Alex Torregrosa 8 / 1- Universitat Politècnica de Catalunya, Spain; 2- Politecnico di Torino, Italy; 3- University of Athens, Greece; 4- Exapsys, Greece; 5- LINKS Foundation, Italy; 6- Barcelona Supercomputing Center, Spain; 7- Institute of Communication & Computer Systems, Greece; 8- Semidynamics, Spain; 9- Virtual Open Systems, France; 10- ZeroPoint Technologies AB, Sweden, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

Low-cost training of image-to-image diffusion models with incremental learning and task/domain adaptation

  • Antona Pizà, Héctor
  • Otero Calviño, Beatriz
  • Tous Liesa, Rubén
Diffusion models specialized in image-to-image translation tasks, like inpainting and colorization, have outperformed the state of the art, yet their computational requirements are exceptionally demanding. This study analyzes different strategies to train image-to-image diffusion models in a low-resource setting. The studied strategies include incremental learning and task/domain transfer learning. First, a base model for human face inpainting is trained from scratch with an incremental learning strategy. The resulting model achieves an FID score almost equivalent to that of its batch learning equivalent while significantly reducing the training time. Second, the base model is fine-tuned to perform a different task, image colorization, and, in a different domain, landscape images. The resulting colorization models showcase exceptional performances with a minimal number of training epochs. We examine the impact of different configurations and provide insights into the ability of image-to-image diffusion models for transfer learning across tasks and domains., This work is partially supported by the Spanish Ministry of Science and Innovation under contracts PID2019-107255GB and PID2021-124463OB-IOO, by the Generalitat de Catalunya under grants 2017-SGR-962, 2021-SGR-00326, 2021-SGR-00478 and DRAC (IU16-011591). The research leading to these results has received funding from the European Union’s Horizon 2020 research and innovation program under the HORIZON-AG PHOENI2X (101070586) and HORIZON-EU VITAMIN-V (101093062) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication

Malware detection using opcodes and machine learning

  • Alonso García, Martí
  • Gironès, Andreu
  • Andreu Gerique, David
  • Costa Prats, Juan José
  • Morancho Llena, Enrique
  • Canal Corretger, Ramon
  • Otero Calviño, Beatriz
  • Di Carlo, Stefano
Malware detection plays and important role in modern digital systems. Protecting against the fast-paced evolving cyber attacks is critical to safeguard sensitive information and preserve the integrity of digital infrastructure. Traditional signature-based detection methods are not effective when detecting new or altered versions of malware, such as polymorphic or metamorphic malware. Machine learning approaches have been proven to be much more effective at detecting such malware. Runtime behavior can be captured using the most fundamental part of a program, its instructions, also referred as the opcodes. This study presents both static and dynamic analysis using opcodes as the main feature for machine learning models., Funded by the European Union. Project number: 101093062., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication

Detecting RISC-V hardware attacks using instruction opcodes with QEMU

  • Costa Prats, Juan José
  • Morancho Llena, Enrique
  • Canal Corretger, Ramon
  • Otero Calviño, Beatriz
Póster presentado en HiPEAC 2026 (Cracovia), As malware becomes more advanced, there is a growing need for more accurate and robust detection systems. Artificial Intelligence (AI) techniques, particularly those based on machine learning and deep learning, have emerged as powerful tools for identifying and classifying malicious behavior. Can we detect RISC-V Hardware Attacks using a machine learning model analyzing sequences of executed instructions? This work builds a suitable dataset, trains machine learning models and evaluates models in 2 scenarios: known and zero-day attacks, showing that known attacks can be detected with a high accuracy, while zero-day attacks may be detected but depends on the similarity with other trained attacks., Funded by the European Union. Project number: 101093062., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

Automatic Linux malware detection using binary inspection and runtime opcode tracing

  • Alonso García, Martí
  • Gironès, Andreu
  • Costa Prats, Juan José
  • Morancho Llena, Enrique
  • Di Carlo, Stefano
  • Canal Corretger, Ramon
The fast-paced evolution of cyberattacks to digital infrastructures requires new protection mechanisms to counterattack them. Malware attacks, a type of cyberattacks ranging from viruses and worms to ransomware and spyware, have been traditionally detected using signature-based methods. But with new versions of malware, this approach is not good enough, and new machine learning tools look promising. In this paper we present two methods to detect Linux malware using machine learning models: (1) a dynamic approach, that tracks the application executed instructions (opcodes) while they are being executed; and (2) a static approach, that inspects the binary application files before execution. We evaluate (1) five machine learning models (Support Vector Machine, k-Nearest Neighbor, Naive Bayes, Decision Tree and Random Forest) and (2) a deep neural network using a Long Short-Term Memory architecture with word embedding. We show the methodology, the initial dataset preparation, the infrastructure used to obtain the traces of executed instructions, and the evaluation of the results for the different models used. The obtained results show that the dynamic approach with a Random Forest classifier gets a 90% accuracy or higher, while the static approach obtains a 98% accuracy., We thank the anonymous reviewers for their thoughtful comments and suggestions which have improved the presentation of this work. This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO and by the Generalitat de Catalunya, Spain under grant 2021-SGR-00326. Finally, the research leading to these results has received funding from the European Union’s Horizon Programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

Deep-learning based detection for cyber-attacks in IoT networks: A distributed attack detection framework

  • Jullian Parra, Olivia
  • Otero Calviño, Beatriz
  • Rodríguez Luna, Eva
  • Gutiérrez Escobar, Norma
  • Antona Pizà, Héctor
  • Canal Corretger, Ramon
The widespread use of smart devices and the numerous security weaknesses of networks has dramatically increased the number of cyber-attacks in the internet of things (IoT). Detecting and classifying malicious traffic is key to ensure the security of those systems. This paper implements a distributed framework based on deep learning (DL) to prevent many different sources of vulnerability at once, all under the same protection system. Two different DL models are evaluated: feed forward neural network and long short-term memory. The models are evaluated with two different datasets (i.e.NSL-KDD and BoT-IoT) in terms of performance and identification of different kinds of attacks. The results demonstrate that the proposed distributed framework is effective in the detection of several types of cyber-attacks, achieving an accuracy up to 99.95% across the different setups., Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO, by the Generalitat de Catalunya under grants 2017SGR962, 2021SGR00326, and by the DRAC (IU16-011591), the HORIZON Vitamin-V (101093062) and the HORIZON-AG PHOENI2X (101070586) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

High-resolution image generation using artificial intelligence and diffusion modelling

  • Scoles García, Amanda
  • Sionis Ponte, Giulia
  • Otero Calviño, Beatriz
  • Utrera Iglesias, Gladys Miriam
Super-Resolution via Repeated Refinement (SR3) is a state-of-the-art super-resolution algorithm based on diffusion model that can enhance the resolution of images. This method is used to pre-trained models on large datasets and can be used for various tasks without requiring training from scratch. Training SR3 from scratch using the ImageNet dataset involves a complex process that requires substantial computational resources and expertise. The idea is applied the trained SR3 model to new images by feeding the low-resolution inputs and obtaining the high-resolution outputs. It's important to note that training SR3 from scratch is a resource-intensive process that requires powerful GPUs and significant computation time. If you do not have access to such resources, an alternative is to use pre-trained models that are already available and fine-tune them on specific datasets or tasks. The paper shows the result of comparing the resolution of the preprocessed images using a significantly smaller number of images to perform the training with those obtained using the pre-trained model. The results obtained show acceptable results without having to perform on large datasets minimizing the computation time to obtain the resolution of images., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-100 and PID2019-107255GB-C22 by the Generalitat de Catalunya under grant 2021-SGR-00326 and 2021-SGR-01007. Finally, the research leading to these results also has received funding from the European Union's Horizon 2020 research and innovation program under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication

VITAMIN-V: Key results and insights from the Project 2023-2025

  • Canal Corretger, Ramon
  • Otero Calviño, Beatriz
  • Di Carlo, Stefano
  • Gizopoulos, Dimitris
  • Scionti, Alberto
  • Lubrano, Francesco
  • Berral García, Josep Lluís
  • Call Barreiro, Erin
  • Nikas, Konstantinos
  • Pnevmatikatos, Dionisios
  • Raho, Daniel
  • Rigo, Alvise
  • Papaefstathiou, Yannis
  • Gauchola, Jaume
  • Arelakis, Angelos
Póster presentado en HiPEAC 2026 (Cracovia), VITAMIN-V aims to develop further RISC-V environment/tools for: 1. open-source virtual environments 2. software development and validation suites 3. cloud hardware-software stacks, Funded by the European Union. Project number: 101093062., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Validation, Verification, and Testing (VVT) of future RISC-V powered cloud infrastructures: the Vitamin-V Horizon Europe Project perspective

  • Alonso García, Martí
  • Andreu Gerique, David
  • Canal Corretger, Ramon
  • Di Carlo, Stefano
  • Chenet, Cristiano
  • Costa Prats, Juan José
  • Gironès, Andreu
  • Gizopoulos, Dimitris
  • Karakostas, Vasileios
  • Otero Calviño, Beatriz
  • Papadimitriou, George
  • Rodríguez Luna, Eva
  • Savino, Alessandro
Vitamin-V is a project funded under the Horizon Europe program for the period 2023-2025. The project aims to create a complete open-source software stack for RISC-V that can be used for cloud services. This software stack is intended to have the same level of performance as the x86 architecture, which is currently dominant in the cloud computing industry. In addition, the project aims to create a powerful virtual execution environment that can be used for software development, validation, verification, and testing. The virtual environment will consider the relevant RISC-V ISA extensions required for cloud deployment. Commercial cloud systems use hardware features currently unavailable in RISC-V virtual environments, including virtualization, cryptography, and vectorization. To address this, Vitamin-V will support these features in three virtual environments: QEMU, gem5, and cloud-FPGA prototype platforms. The project will focus on providing support for EPI-based RISC-V designs for both the main CPUs and cloud-important accelerators, such as memory compression. The project will add the compiler (LLVM-based) and toolchain support for the ISA extensions. Moreover, Vitamin-V will develop novel approaches for validating, verifying, and testing software trustworthiness. This paper focuses on the plans and visions that the Vitamin-V project has to support validation, verification, and testing for cloud applications, particularly emphasizing the hardware support that will be provided., Funded by the European Union. Project number: 101093062., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Exploring image transformations with diffusion models: A survey of applications and implementation code

  • Arellano García, Silvia
  • Otero Calviño, Beatriz
  • Tous Liesa, Rubén
Diffusion Models have become increasingly popular in recent years and their applications span a wide range of fields. This survey focuses on the use of diffusion models in computer vision, specially in the branch of image transformations. The objective of this survey is to provide an overview of state-of-the-art applications of diffusion models in image transformations, including image inpainting, super-resolution, restoration, translation, and editing. This survey presents a selection of notable papers and repositories including practical applications of diffusion models for image transformations. The applications are presented in a practical and concise manner, facilitating the understanding of concepts behind diffusion models and how they function. Additionally, it includes a curated collection of GitHub repositories featuring popular examples of these subjects., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2019-107255GB and PID2021-124463OB- IOO, by the Generalitat de Catalunya under grants 2021-SGR-00478 and 2021-SGR-00326. Finally, the research leading to these results also has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication

Security and RAS in the computing continuum

  • Alonso García, Martí
  • Andreu Gerique, David
  • Canal Corretger, Ramon
  • Di Carlo, Stefano
  • Chatzopoulos, Odysseas
  • Chenet, Cristiano
  • Costa Prats, Juan José
  • Gironès, Andreu
  • Gizopoulos, Dimitris
  • Papadimitriou, George
  • Morancho Llena, Enrique
  • Otero Calviño, Beatriz
  • Savino, Alessandro
Security and RAS are two non-functional requirements under focus for current systems developed for the computing continuum. Due to the increased number of interconnected computer systems across the continuum, security becomes especially pervasive at all levels, from the smallest edge device to the high-performance cloud at the other end. Similarly, RAS (Reliability, Availability, and Serviceability) ensures the robustness of a system towards hardware defects. Namely, making them reliable, with high availability and design for easy service. In this paper and as a result of the Vitamin-V EU project, the authors detail the comprehensive approach to malware and hardware attack detection; as well as, the RAS features envisioned for future systems across the computing continuum., Funded by the European Union under the Horizon Europe Programme. Project name: Vitamin-V. Project number: 101093062. Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the HaDEA. Neither the European Union nor the granting authority can be held responsible for them. This paper is also funded by HFRI with title REDESIGN and Project Number 16973 and project SERICS (PE00000014) under the MUR National Recovery and Resilience Plan funded by the European Union- NextGenerationEU., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication

Detection of hardware based attacks using performance counters

  • Andreu Gerique, David
  • Alonso García, Martí
  • Costa Prats, Juan José
  • Morancho Llena, Enrique
  • Canal Corretger, Ramon
  • Otero Calviño, Beatriz
Hardware attacks, such as Spectre or Meltdown, try to exploit vulnerabilities on the processor architecture, usually to gain access to privileged memory locations, producing leaks of critical information. Most of this attacks exploit out-of-order execution and also highly stress the computer’s cache, and both of these behaviours can be tracked using hardware performance counters (HPC). In order to try to use HPCs in our advantage we: 1. Collected several samples of different attacks and HPCs 2. Collected an equivalent amount of samples from benign programs 3. Trained a Support Vector Machine to classify the execution as benign or malignant, Funded by the European Union. Project number: 101093062., Preprint
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

A survey of machine and deep learning methods for privacy protection in the Internet of things

  • Rodríguez Luna, Eva
  • Otero Calviño, Beatriz
  • Canal Corretger, Ramon
Recent advances in hardware and information technology have accelerated the proliferation of smart and interconnected devices facilitating the rapid development of the Internet of Things (IoT). IoT applications and services are widely adopted in environments such as smart cities, smart industry, autonomous vehicles, and eHealth. As such, IoT devices are ubiquitously connected, transferring sensitive and personal data without requiring human interaction. Consequently, it is crucial to preserve data privacy. This paper presents a comprehensive survey of recent Machine Learning (ML)- and Deep Learning (DL)-based solutions for privacy in IoT. First, we present an in depth analysis of current privacy threats and attacks. Then, for each ML architecture proposed, we present the implementations, details, and the published results. Finally, we identify the most effective solutions for the different threats and attacks., This work is partially supported by the Generalitat de Catalunya under grant 2017 SGR 962 and the HORIZON-GPHOENIX (101070586) and HORIZON-EUVITAMIN-V (101093062) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

A 3D terrain generator: Enhancing robotics simulations with GANs

  • Arellano García, Silvia
  • Otero Calviño, Beatriz
  • Kucner, Tomasz Piotr
  • Canal Corretger, Ramon
Simulation is essential in robotics to evaluate models and techniques in a controlled setting before conducting experiments on tangible agents. However, developing simulation environments can be a challenging and time-consuming task. To address this issue, a proposed solution involves building a functional pipeline that generates 3D realistic terrains using Generative Adversarial Networks (GANs). By using GANs to create terrain, the pipeline can quickly and efficiently generate detailed surfaces, saving researchers time and effort in developing simulation environments for their experiments. The proposed model utilizes a Deep Convolutional Generative Adversarial Network (DCGAN) to generate heightmaps, which are trained on a custom database consisting of real heightmaps. Furthermore, an Enhanced Super-Resolution Generative Adversarial Network (ESRGAN) is used to improve the resolution of the resulting heightmaps, enhancing their visual quality and realism. To generate a texture according to the topography of the heightmap, chroma keying is used with previously selected textures. The heightmap and texture are then rendered and integrated, resulting in a realistic 3D terrain. Together, these techniques enable the model to generate high-quality, realistic 3D terrains for use in robotic simulators, allowing for more accurate and effective evaluations of robotics models and techniques., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO, by the Generalitat de Catalunya under grant 2021-SGR-00326. Finally, the research leading to these results also has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-EU VITAMIN-V (101093062) project., Peer Reviewed, Objectius de Desenvolupament Sostenible::9 - Indústria, Innovació i Infraestructura, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

Enhancing cybersecurity in railways: Machine learning approaches for attack detection

  • Otero Calviño, Beatriz
  • Rodríguez Luna, Eva
  • Costa Prats, Juan José
  • Oriol, Mercedes
Ensuring the security of railway systems is crucial to protecting both passengers and infrastructure from the increasing threat of cyberattacks. As these threats grow in complexity and frequency, the need for resilient attack detection systems becomes more pressing. This study tackles the challenge of attack detection in railway systems using machine learning techniques. By integrating Generative Adversarial Networks (GANs), Convolutional Neural Networks (CNNs), and Transfer Learning (TL), we enhance detection accuracy and develop a robust approach capable of identifying both known and emerging threats. Our methodology utilized the Electra Modbus dataset as the source domain and was transferred to the Electra S7Comm dataset as the target domain. Experimental results highlight the effectiveness of GAN-based data augmentation in mitigating the scarcity of attack samples, enhancing both the robustness and generalizability of our detection models. Additionally, the application of pre-trained models through transfer learning played a crucial role in achieving superior performance. Our proposed solution can be deployed within railway networks to strengthen security measures, enabling proactive responses to cyber threats, safeguarding critical infrastructure, and ensuring uninterrupted operations., This work is partially supported by the Spanish Ministry of Science and Innovation under contract PID2021-124463OB-IOO and by the Generalitat de Catalunya, Spain under grant 2021-SGR-00326. Finally, the research leading to these results has received funding from the European Union’s Horizon 2020 research and innovation programme under the HORIZON-AG PHOENI2X (101070586), HORIZON-EU HORSE (101096342) and HORIZON-EU VITAMIN-V (101093062) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Hypervisor extension for a RISC-V processor

  • Gauchola Vilardell, Jaume
  • Costa Prats, Juan José
  • Morancho Llena, Enrique
  • Canal Corretger, Ramon
  • Carril Gil, Xavier
  • Doblas Font, Max
  • Otero Calviño, Beatriz
  • Pajuelo González, Manuel Alejandro
  • Rodríguez Luna, Eva
  • Salamero Sanz, Javier
  • Verdú Mulà, Javier
This paper describes our experience implementing a Hypervisor extension for a 64-bit RISC-V processor. We describe the design process and the main required parts with a brief explanation of each one., This work is partially supported by the DRAC (IU16-011591), the HORIZON Vitamin-V (101093062) and the Computación de Altas Prestaciones VIII (PID2019-107255GB) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication Artículo científico (JournalArticle)

A differential privacy protection-based federated deep learning framework to fog-embedded architectures

  • Gutiérrez Escobar, Norma
  • Otero Calviño, Beatriz
  • Rodríguez Luna, Eva
  • Utrera Iglesias, Gladys Miriam
  • Mus León, Sergi
  • Canal Corretger, Ramon
Nowadays, companies collect massive quantities of data to enhance their operations, often at the expense of sharing user sensible information. This data is widely used to train Deep Learning (DL) neural networks to model, classify, or recognize complex data. These activities enable companies to offer an array of services to users, such as precise advertising and optimal location services. This study explores potential solutions for preserving privacy while utilizing DL applications. To address the privacy issue, we develop a privacy-preserving framework specifically designed for fog computing environments. Unlike traditional cloud computing architectures, fog embedded architectures only share a small portion of user data with a nearby fog node, ensuring that the majority of sensitive data remains secure. Within these fog nodes, we incorporate two additional algorithms, namely Generalization and Threshold, to enhance the privacy-preserving capabilities of the framework. The first algorithm, Generalization, introduces a validation dataset within the fog nodes which not only increases the accuracy of the fog-embedded framework but also ensures that user data is preserved. The second algorithm, Threshold, is responsible for protecting user data samples and reducing the amount of information sent to the server. By combining these two algorithms, we are able to provide an additional layer of protection for user privacy while still maintaining the accuracy of the model. We conduct an evaluation to test its effectiveness using two separate datasets. In addition, we analyze them through a Feed Forward Neural Network (FFNN) and compare the results with a traditional centralized architecture to validate the effectiveness of the proposed framework. The results of our evaluation demonstrate that the proposed privacy-preserving framework, when combined with the Generalization and Threshold algorithms, can preserve up to 38.44% of user data. Additionally, we were able to extend the framework to multiple fog nodes without compromising the network’s accuracy, as we only observed a 0.1% decrease in accuracy when using the proposed architecture. This study emphasizes the importance of preserving user information while using DL applications and provides a solution that trains the desired network without violating user privacy, hence preserving their anonymity. Overall, the study highlights the potential of Federated Deep Learning to improve the accuracy and privacy of DL applications in fog computing environments., This work is partially supported by the Spanish Ministry of Science and Innovation, Spain under contracts PID2021-124463OB-IOO and PID2019-107255GB-C22; by the Generalitat de Catalunya, Spain under grant 2021SGR00326; and by the DRAC (IU16-011591), the HORIZON Vitamin-V, Spain(101093062), the HORIZON-AG PHOENI2X, Spain (101070586) and the HORIZON HORSE, Spain (101096342) projects., Peer Reviewed, Postprint (published version)
Recercat. Dipósit de la Recerca de Catalunya
Publication Contribución de congreso (ConferenceOutput)

Malware detection on Linux using runtime opcode tracing

  • Alonso García, Martí
  • Costa Prats, Juan José
  • Morancho Llena, Enrique
The fast-paced evolution of cyberattacks to digital infrastructures requires new protection mechanisms to counter-attack them. Malware attacks, a type of cyberattacks ranging from viruses and worms to ransomware and spyware, have been traditionally detected using signature-based methods. But with new versions of malware, this approach is not good enough, and new machine learning tools look promising. In this paper we evaluate five machine learning models (SVM, KNN, Naive Bayes, Decision Tree and Random Forest) to detect Linux malware on applications during its runtime by tracking their executed instructions (opcodes). We show the methodology, the initial dataset preparation, the infrastructure used to obtain the traces of executed instructions, and the evaluation of the results for the different models used. The obtained results show that Random Forest classifier gets the best results, with 90% accuracy or higher., Funded by the European Union. Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the HaDEA. Neither the European Union nor the granting authority can be held responsible for them. Project number: 101093062 This work is also partially supported by the Spanish Ministry of Science and Innovation under contract PID2021- 124463OB-IOO and by the Generalitat de Catalunya under grant 2021SGR00326., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publication

Challenges and opportunities for RISC-V architectures towards genomics-based workloads

  • Gómez Sánchez, Gonzalo
  • Call Barreiro, Erin
  • Teruel García, Xavier
  • Alonso Parrilla, Lorena
  • Morán Castany, Ignasi
  • Pérez Elena, Miguel Ángel
  • Torrents Arenales, David
  • Berral García, Josep Lluís
The use of large-scale supercomputing architectures is a hard requirement for scientific computing Big-Data applications. An example is genomics analytics, where millions of data transformations and tests per patient need to be done to find relevant clinical indicators. Therefore, to ensure open and broad access to high-performance technologies, governments, and academia are pushing toward the introduction of novel computing architectures in large-scale scientific environments. This is the case of RISC-V, an open-source and royalty-free instruction-set architecture. To evaluate such technologies, here we present the Variant-Interaction Analytics use case benchmarking suite and datasets. Through this use case, we search for possible genetic interactions using computational and statistical methods, providing a representative case for heavy ETL (Extract, Transform, Load) data processing. Current implementations are implemented in x86-based supercomputers (e.g. MareNostrum-IV at the Barcelona Supercomputing Center (BSC)), and future steps propose RISC-V as part of the next MareNostrum generations. Here we describe the Variant Interaction Use Case, highlighting the characteristics leveraging high-performance computing, indicating the caveats and challenges towards the next RISC-V developments and designs to come from a first comparison between x86 and RISC-V architectures on real Variant Interaction executions over real hardware implementations., This work has been partially financed by the European Commission (EU-HORIZON NEARDATA GA.101092644, VITAMIN-V GA.101093062), the MEEP Project which received funding from the European High-Performance Computing Joint Undertaking (JU) under grant agreement No 946002. The JU receives support from the European Union’s Horizon 2020 research and innovation program and Spain, Croatia and Turkey. Also by the Spanish Ministry of Science (MICINN) under scholarship BES-2017-081635, the Research State Agency (AEI) and European Regional Development Funds (ERDF/FEDER) under DALEST grant agreement PID2021-126248OBI00, MCIN/AEI/10.13039/ 501100011033/FEDER and PID GA PID2019-107255GB-C21, and the Generalitat de Catalunya (AGAUR) under grant agreements 2021-SGR-00478, 2021-SGR-01626 and ”FSE Invertint en el teu futur”., Peer Reviewed, Postprint (author's final draft)