Creación de grafos de conocimiento a partir de contenedores para facilitar su monitorización

Read full text Summarise with VIRAT
Authors: Andrei Iulian Grozescu
Cited by: 0
References: 2

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

La adopción generalizada de la tecnología de contenedores como Docker, ha transformado el despliegue de software, pero ha generado un desafío significativo en términos de visibilidad y seguridad. Su gestión plantea retos críticos en monitorización, trazabilidad y control de vulnerabilidades. Actualmente, las herramientas de auditoría suelen centrarse en analizar las imágenes de manera estática y aislada, sin considerar el contexto de ejecución ni las relaciones entre los distintos componentes de la infraestructura. Esta desconexión entre el software empaquetado y la infraestructura en ejecución reduce la visibilidad operativa. Resulta complejo para un administrador identificar en tiempo real qué contenedores activos se ven afectados por una nueva vulnerabilidad, qué versiones exactas de una librería están desplegadas en diferentes hosts o qué instrucción específica del proceso de construcción introdujo un riesgo de seguridad. La gestión manual de esta información es ineficiente y propensa a errores. Para abordar esta problemática, el presente Trabajo de Fin de Grado desarrolla una extensión de la herramienta C2T, orientada a la auditoría, trazabilidad y análisis de seguridad de contenedores Docker. La solución propuesta supera el análisis estático original incorporando la monitorización dinámica y enriqueciendo el grafo de conocimiento semántico para proporcionar una visión integral de la infraestructura. El sistema, implementado en Python bajo una arquitectura modular, integra la extracción, normalización y unificación de datos provenientes de los contenedores, generando un grafo que refleja las relaciones entre imágenes, capas, paquetes y contenedores en ejecución. Esta estructura permite realizar consultas avanzadas en SPARQL mediante una interfaz de línea de comandos, identificando vulnerabilidades, evaluando dependencias, auditando la configuración de los contenedores y rastreando el origen de posibles fallos en la secuencia de construcción de las imágenes. La solución se ha validado mediante un escenario experimental heterogéneo que simula un entorno de producción real con diversas bases de datos y servidores web. Las pruebas demuestran que el sistema es capaz de correlacionar con precisión vulnerabilidades teóricas con activos reales y rastrear el origen de los fallos. Adicionalmente, se realizaron pruebas de escalabilidad que confirman que la arquitectura es capaz de gestionar infraestructuras con miles de contenedores y millones de tripletas, demostrando su viabilidad en entornos complejos. ABSTRACT The widespread adoption of container technology such as Docker has transformed software deployment, but it has introduced significant challenges in terms of visibility and security. Managing containers poses critical issues for monitoring, traceability, and vulnerability control. Current auditing tools typically focus on analyzing images statically and in isolation, without considering the execution context or the relationships between different infrastructure components. This disconnect between packaged software and the running infrastructure reduces operational visibility. It is challenging for an administrator to identify in real time which active containers are affected by a new vulnerability, which exact library versions are deployed across hosts, or which specific build instruction introduced a security risk. Manual management of this information is inefficient and error-prone. To address the problem, this Thesis develops an extension of the C2T tool, focused on auditing, traceability, and security analysis of Docker containers. The proposed solution enhances the original static analysis by incorporating dynamic monitoring and enriching the semantic Knowledge Graph to provide a comprehensive view of the infrastructure. The system, implemented in Python using a modular architecture, integrates data extraction, normalization, and unification from containers, generating a graph that reflects the relationships between images, layers, packages, and running containers. This structure enables advanced SPARQL queries via a command-line interface, allowing the identification of vulnerabilities, evaluation of dependencies, auditing of container configurations, and tracing the origin of potential failures within the image build sequence. The solution was validated in a heterogeneous experimental scenario simulating a real production environment with multiple databases and web servers. Tests show that the system can accurately correlate theoretical vulnerabilities with actual assets and trace the origin of failures. Additionally, scalability tests confirmed that the architecture can handle infrastructures with thousands of containers and millions of triples, demonstrating its feasibility in complex environments.

Fields of Study & Subjects

Software System Performance and Reliability Software Engineering Research Security and Verification in Computing

Publication details

Journal / source
Archivo Digital UPM (Universidad Politécnica de Madrid)
Publication date
1 January 2026
Language
ES
Document type
Thesis