Skip to main content

Resultados relacionados

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

e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

A technical characterization of APTs by leveraging public resources

  • González Manzano, Lorena
  • Fuentes García-Romero de Tejada, José María de
  • Lombardi, Flavio
  • Ramos, Cristina
Advanced persistent threats (APTs) have rocketed over the last years. Unfortunately, their technical characterization is incomplete, it is still unclear if they are advanced usages of regular malware or a different form of malware. This is key to develop an effective cyberdefense. To address this issue, in this paper we analyze the techniques and tactics at stake for both regular and APT-linked malware. To enable reproducibility, our approach leverages only publicly available datasets and analysis tools. Our study involves 11,651 regular malware and 4686 APT-linked ones. Results show that both sets are not only statistically different, but can be automatically classified with F1 > 0.8 in most cases. Indeed, 8 tactics reach F1 > 0.9. Beyond the differences in techniques and tactics, our analysis shows thats actors behind APTs exhibit higher technical competence than those from non-APT malwares., This work has been partially supported by grant DEPROFAKE-CM-UC3M funded by UC3M and the Government of Madrid (CAM); by CAM through Project CYNAMON, Grant No. P2018/TCS-4566-CM, co-funded with ERDF; by Ministry of Science and Innovation of Spain by grant PID2019-111429RB-C21; by TRUST aWARE Project EU HORIZON 2020 Research and Innovation Programme GA No 101021377 trustaware.eu; and by TAILOR Project EU HORIZON 2020 Research and Innovation Programme GA No 952215 tailor-network.eu. Funding for APC: Universidad Carlos III de Madrid (Read & Publish Agreement CRUE-CSIC 2023).
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

Kunai: A static analysis framework for Android apps

  • Blázquez González, Eduardo
  • Estévez Tapiador, Juan Manuel
This paper describes Kunai, a C++ library that offers static analysis functionalities for Android apps. Kunai"s main goal is to provide analysts and researchers with a framework to conduct advanced static analysis of Dalvik code, including parsing, disassembling and code analysis. Written in C++, it focuses on efficiency and an extensible software architecture that enables the integration of new analysis modules easily. Kunai is particularly suitable for the development of analysis pipelines that need to scale up to process large app datasets, This work was supported by the EU Horizon 2020 Research and Innovation Program under Grant Agreement No. 101021377 (TRUST aWARE); the Spanish grant ODIO (PID2019-111429RB-C21), and the Region of Madrid grant CYNAMON-CM (P2018/TCS-4566), co-financed by European Structural Funds ESF and FEDER, Spain .
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

An analysis of fake social media engagement services

  • Nevado Catalán, David
  • Pastrana Portillo, Sergio
  • Vallina-Rodriguez, Narseo
  • Estévez Tapiador, Juan Manuel
Fake engagement services allow users of online social media and other web platforms to illegitimately increase their online reach and boost their perceived popularity. Driven by socio-economic and even political motivations, the demand for fake engagement services has increased in the last years, which has incentivized the rise of a vast underground market and support infrastructure. Prior research in this area has been limited to the study of the infrastructure used to provide these services (e.g., botnets) and to the development of algorithms to detect and remove fake activity in online targeted platforms. Yet, the platforms in which these services are sold (known as panels) and the underground markets offering these services have not received much research attention. To fill this knowledge gap, this paper studies Social Media Management (SMM) panels, i.e., reselling platforms¿often found in underground forums¿in which a large variety of fake engagement services are offered. By daily crawling 86 representative SMM panels for 4 months, we harvest a dataset with 2.8 M forum entries grouped into 61k different services. This dataset allows us to build a detailed catalog of the services for sale, the platforms they target, and to derive new insights on fake social engagement services and its market. We then perform an economic analysis of fake engagement services and their trading activities by automatically analyzing 7k threads in underground forums. Our analysis reveals a broad range of offered services and levels of customization, where buyers can acquire fake engagement services by selecting features such as the quality of the service, the speed of delivery, the country of origin, and even personal attributes of the fake account (e.g., gender). The price analysis also yields interesting empirical results, showing significant disparities between prices of the same product across different markets. These observations suggest that the market is still undeveloped and sellers do not know the real market value of the services that they offer, leading them to underprice or overprice their services., This work was supported by the EU Horizon 2020 Research and Innovation Program under Grant agreement no. 101021377 (TRUST aWARE ); the Spanish grants ODIO (PID2019-111429RB-C21 and PID2019-111429RB-C22), and the Region of Madrid grant CYNAMON-CM (P2018/TCS-4566), co-financed by European Structural Funds ESF and FEDER.
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

Use of transfer learning for affordable in-context fake review generation

  • Ibáñez Lissen, Luis
  • González Manzano, Lorena
  • Fuentes García-Romero de Tejada, José María de
  • Goyanes Martínez, Manuel
This work has been submitted to the IEEE for possible publication Copyright may be transferred without notice, after which this version may no longer be accessible, Fake reviews are a threat to the trust of online shopping platforms. To produce them, attackers may use assorted techniques based on machine learning. Transfer learning may enable them to leverage already trained models, thus reducing the training requirements. However, the feasibility of these techniques for generating in-context targeted fake reviews has not been explored yet. To address this issue, this paper analyses the suitability of transfer learning using existing models (TS and BART) on different domains (restaurants and technological products). Our results show that: (1) Our work reaches better realism and diversity than previous proposals using artificial intelligence techniques; (2) Our reviews produced with TS can be spot by an automatic detector with a precision of 49% at the highest; (3) Human detection is only 6% better than random guessing, at the highest; and (4) only 1 hour of training and Sk real reviews are needed to produce realistic fake reviews., This work was supported by the Madrid Government (Comunidad de Madrid-Spain), in part by the Multiannual Agreement with UC3M (“Fostering Young Doctors Research”, DEPROFAKE-CM-UC3M), in part by the V PRICIT (Research and Technological Innovation Regional Programme); in part by the Excellence Program for University Researchers; in part by the INCIBE grant APAMciber within the framework of the Recovery, Transformation and Resilience Plan funds, in part by the European Union (Next Generation). Jose Maria de Fuentes and Lorena Gonzalez have also received support from UC3M’s Requalification programme, in part by the Spanish Ministerio de Ciencia, Innovacion y Universidades with EU recovery funds (Convocatoria de la Universidad Carlos III de Madrid de Ayudas para la recualificación del sistema universitario español para 2021-2023, de 1 de julio de 2021). This project has received funding from the European Union’s Horizon 2020 research and innovation programme under Grant 101021377 (TRUSTaWARE), and in part by the Funding for APC: Universidad Carlos III de Madrid under Grant CRUE-Madroño 2024.
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

A Comparison of Cyber Intelligence Platforms in the Context of IoT Devices and Smart Homes

  • Rashed, Mohammed Ahmed Fahim
  • Torrejón del Viso, Iván
  • González-Tablas, Ana I.
Internet of Things (IoT) devices are increasingly deployed in homes and enterprises, yet they face a rising rate of cyberattacks. High-quality Cyber Threat Intelligence (CTI) is essential for data-driven, deep learning (DL)-based cybersecurity, as structured intelligence enables faster, automated detection. However, many CTI platforms still use unstructured or non-standard formats, hindering integration with ML systems.This study compares CTI from one commercial platform (AlienVault OTX) and public vulnerability databases (NVD"s CVE and CPE) in the IoT/smart home context. We assess their adherence to the Structured Threat Information Expression (STIX) v2.1 standard and the quality and coverage of their intelligence. Using 6.2K IoT-related CTI objects, we conducted syntactic and semantic analyses. Results showed that OTX achieved full STIX compliance. Based on our coverage metric, OTX demonstrated high intelligence completeness, whereas the NVD sources showed partial contextual coverage. IoT threats exhibited an upward trend, with Network as the dominant attack vector and Gain Access as the most common objective. The limited use of STIX-standardized vocabulary reduced machine readability, constraining data-driven applications. Our findings inform the design and selection of CTI feeds for intelligent intrusion detection and automated defense systems., The TED2021-131681B-I00 (CIOMET) grant from the Spanish Ministry of Science, Innovation, and Universities and the funding received from the EU Horizon 2020 Research and Innovation Program under Grant Agreement No. 101021377 (TRUST aWARE). This work is supported by grant DISCOVERY (PID2023-148716OB-C33) funded by MCIU/AEI/10.13039/501100011033, and by the Comunidad de Madrid (Spain) under the project RAMONES-CM (TEC2024-COM504), co-financed by European Structural Funds (ESF and FEDER). This work is part of the I-Shaper Project (C114/23), a collaboration agreement between Instituto Nacional de Ciberseguridad (INCIBE) and Universidad Carlos III de Madrid. This initiative is being carried out within the framework of the Recovery, Transformation and Resilience Plan funds, funded by the European Union (Next Generation).
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Tesis doctoral (DoctoralThesis)

“And all the pieces matter...” Hybrid Testing Methods for Android App's Privacy Analysis

  • Feal Fajardo, Álvaro
Smartphones have become inherent to the every day life of billions of people worldwide, and they are used to perform activities such as gaming, interacting with our peers or working. While extremely useful, smartphone apps also have drawbacks, as they can affect the security and privacy of users. Android devices hold a lot of personal data from users, including their social circles (e.g., contacts), usage patterns (e.g., app usage and visited websites) and their physical location. Like in most software products, Android apps often include third-party code (Software Development Kits or SDKs) to include functionality in the app without the need to develop it in-house. Android apps and third-party components embedded in them are often interested in accessing such data, as the online ecosystem is dominated by data-driven business models and revenue streams like advertising. The research community has developed many methods and techniques for analyzing the privacy and security risks of mobile apps, mostly relying on two techniques: static code analysis and dynamic runtime analysis. Static analysis analyzes the code and other resources of an app to detect potential app behaviors. While this makes static analysis easier to scale, it has other drawbacks such as missing app behaviors when developers obfuscate the app’s code to avoid scrutiny. Furthermore, since static analysis only shows potential app behavior, this needs to be confirmed as it can also report false positives due to dead or legacy code. Dynamic analysis analyzes the apps at runtime to provide actual evidence of their behavior. However, these techniques are harder to scale as they need to be run on an instrumented device to collect runtime data. Similarly, there is a need to stimulate the app, simulating real inputs to examine as many code-paths as possible. While there are some automatic techniques to generate synthetic inputs, they have been shown to be insufficient. In this thesis, we explore the benefits of combining static and dynamic analysis techniques to complement each other and reduce their limitations. While most previous work has often relied on using these techniques in isolation, we combine their strengths in different and novel ways that allow us to further study different privacy issues on the Android ecosystem. Namely, we demonstrate the potential of combining these complementary methods to study three inter-related issues: • A regulatory analysis of parental control apps. We use a novel methodology that relies on easy-to-scale static analysis techniques to pin-point potential privacy issues and violations of current legislation by Android apps and their embedded SDKs. We rely on the results from our static analysis to inform the way in which we manually exercise the apps, maximizing our ability to obtain real evidence of these misbehaviors. We study 46 publicly available apps and find instances of data collection and sharing without consent and insecure network transmissions containing personal data. We also see that these apps fail to properly disclose these practices in their privacy policy. • A security analysis of the unauthorized access to permission-protected data without user consent. We use a novel technique that combines the strengths of static and dynamic analysis, by first comparing the data sent by applications at runtime with the permissions granted to each app in order to find instances of potential unauthorized access to permission protected data. Once we have discovered the apps that are accessing personal data without permission, we statically analyze their code in order to discover covert- and side-channels used by apps and SDKs to circumvent the permission system. This methodology allows us to discover apps using the MAC address as a surrogate for location data, two SDKs using the external storage as a covert-channel to share unique identifiers and an app using picture metadata to gain unauthorized access to location data. • A novel SDK detection methodology that relies on obtaining signals observed both in the app’s code and static resources and during its runtime behavior. Then, we rely on a tree structure together with a confidence based system to accurately detect SDK presence without the need of any a priory knowledge and with the ability to discern whether a given SDK is part of legacy or dead code. We prove that this novel methodology can discover third-party SDKs with more accuracy than state-of-the-art tools both on a set of purpose-built ground-truth apps and on a dataset of 5k publicly available apps. With these three case studies, we are able to highlight the benefits of combining static and dynamic analysis techniques for the study of the privacy and security guarantees and risks of Android apps and third-party SDKs. The use of these techniques in isolation would not have allowed us to deeply investigate these privacy issues, as we would lack the ability to provide real evidence of potential breaches of legislation, to pin-point the specific way in which apps are leveraging cover and side channels to break Android’s permission system or we would be unable to adapt to an ever-changing ecosystem of Android third-party companies., The works presented in this thesis were partially funded within the framework of the following projects and grants: • European Union’s Horizon 2020 Innovation Action program (Grant Agreement No. 786741, SMOOTH Project and Grant Agreement No. 101021377, TRUST AWARE Project). • Spanish Government ODIO NºPID2019-111429RB-C21/PID2019-111429RBC22. • The Spanish Data Protection Agency (AEPD) • AppCensus Inc., This work has been supported by IMDEA Networks Institute, Programa de Doctorado en Ingeniería Telemática por la Universidad Carlos III de Madrid, Presidente: Srdjan Matic.- Secretario: Guillermo Suárez-Tangil.- Vocal: Ben Stock
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Contribución de congreso (ConferenceOutput)

The QoQo Docker: A Docker Environment for Learning Quantum and Post-Quantum Cryptography in Python

  • Salas Heras, Miguel
  • González-Tablas, Ana I.
This article introduces the QoQo Docker, a handson environment for learning quantum and post-quantum cryptography in Python deployed on a Docker container. The QoQo Docker includes the pyca/cryptography, Qiskit and liboqs libraries. The QoQo Docker also includes the necessary modules to code and run Python programs and Jupyter notebooks using the Visual Studio Code IDE from the host where the QoQo Docker is deployed. The QoQo Docker is designed for easy deployment and as a lab platform that can be used to support an introductory cryptography course that covers classical (modern) cryptography, quantum cryptography and post-quantum cryptography from a practical perspective. The main target audience is university students with a background in computer science, mathematics, and quantum technologies. An example of the integration of the QoQo Docker into a Master’s course focused on quantum and post-quantum cryptography is provided. The results of this integration are satisfactory.
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Artículo científico (JournalArticle)

Mules and Permission Laundering in Android: Dissecting Custom Permissions in the Wild

  • Gamba, Julien
  • Feal, Alvaro
  • Blazquez, Eduardo
  • Bandara, Vinuri
  • Razaghpanah, Abbas
  • Estévez Tapiador, Juan Manuel
  • Vallina Rodríguez, Narseo
Android implements a permission system to regulate apps" access to system resources and sensitive user data. One salient feature of this system is its extensibility: apps can define their own custom permissions to expose features and data to other apps. However, little is known about how widespread the usage of custom permissions is, and what is the impact that these permissions can have on users" privacy and security. In this paper, we empirically study the usage of custom permissions at large scale, using a dataset of 2.2M pre-installed and app-store-downloaded apps. We find the usage of custom permissions to be widespread, and seemingly growing over time. Despite this prevalence, we find that custom permissions are virtually invisible to end users, and their purpose mostly undocumented. This lack of transparency can lead to serious security and privacy problems: we show that custom permissions can facilitate access to permission-protected system resources to apps that lack those permissions without user awareness. To detect this practice, we design and implement two static analysis tools, and highlight multiple concerning cases spotted in the wild. We conclude this study with a discussion of potential solutions to mitigate the privacy and security risks of custom permissions., The opinions, findings, and conclusions or recommendations expressed are those of the authors and do not necessarily reflect those of any of the funders.
e-Archivo. Repositorio Institucional de la Universidad Carlos III de Madrid
Publication Tesis doctoral (DoctoralThesis)

Understanding Interconnected Abuse in Consumer Smart Device Ecosystems

  • Girish, Aniketh
Modern consumer smart ecosystems—comprising of mobile and IoT devices, platforms, apps, third-party SDKs, and cloud services—enable pervasive automation and personalization by continuously exchanging data across software using internet and local network interfaces. While this interconnection enhances usability and functionality, it also introduces systemic privacy risks that are difficult to audit and regulate. These risks often stem from complex interactions across co-located programs, devices, and third-party infrastructure, which existing analysis tools and protection mechanisms such as sandboxing and permission mechanisms fail to capture because they are process-centric; i.e., they are focused on individual apps or devices and treat them as monolithic entities. As a result, they often miss privacy violations that exist beyond traditional program boundaries involving indirect flows, inter-app communication, and covert-channel inferences. This dissertation challenges the current process-centric view of privacy analysis and controls. It argues that this perspective is insufficient for capturing emerging privacy risks in modern smart ecosystems, where interactions across complex components enable unvetted channels and data leakage. By adopting a holistic, ecosystem-level perspective, this work demonstrates that privacy violations often arise from such interconnectedness. To support this argument, the dissertation applies novel multi-vantage empirical methods—including static and dynamic app analysis, network traffic inspection, input fuzzing, and controlled execution environments. By exposing these underexplored threats, this dissertation calls for a paradigm shift in how privacy is audited and controlled in smart ecosystems. It demonstrates that privacy should not be treated as a static property of individual apps or devices, but as a property inherent to dynamic interactions across apps, devices, SDKs, and cloud services. Through three empirical analyses, this dissertation demonstrates how these privacy risks manifest in real-world smart ecosystems, including smart home devices and mobile apps. First, insecure local network communication in smart homes expose sensitive data enabling cross-device tracking and household fingerprinting. Second, mobile apps embed wireless-scanning SDKs that covertly infer location and bridge identifiers to persistently track users and bypass platform restrictions to access geolocation data. Third, health and fitness apps retrieve sensitive user data from aggregator platforms via OAuth-authorized APIs that bypass Android’s permission system; once data is returned to the app, embedded third-party SDKs may gain indirect access, exposing health information without platform visibility or user awareness. These risks are not incidental, but structural—and are deeply rooted in platform design decisions, opaque third-party integrations, insufficient access controls, and enforcement mechanisms. Consequently, this dissertation provides groundbreaking empirical foundations for advancing platform accountability, informing regulatory oversight, and strengthening user-centric privacy protections in today’s interconnected digital environments. In response to the findings presented in this dissertation and our active responsible disclosure practices, major industry actors including Apple, Google, TP-Link, Philips, and over 20 other IoT vendors acknowledged these risks and have implemented privacy protections in their products. Notably, Philips overhauled its identifier scheme to prevent long-term device tracking, and Google introduced a dedicated local network permission in Android 16 to restrict unauthorized device discovery—changes that now benefit billions of Android users worldwide., This work has been supported by: • ODIO - The Open Digital Identity Observatory (Grant Agreement No. PID2019-111429RB-C22) • TRUSTaWARE - Enhancing Digital Security, Privacy and TRUST in softWARE (Grant Agreement No. 101021377) • CONTACT-CM (REACT) - Contact Tracing with 5G and Beyond Networks (Grant Agreement No. REACT-CONTACT-CM-23479) • PARASITE - Métodos y técnicas para caracterizar las amenazas a la cadena de suministro software (Grant Agreement No. PID2022-143304OB-I00)., This work has been supported by IMDEA Networks Institute, Programa de Doctorado en Ingeniería Telemática por la Universidad Carlos III de Madrid, Presidenta: Sandra Siby.- Secretario: Ángel Cuevas Rumín.- Vocal: Mathieu Cunche