Prioritizing security concerns in modern (micro)service-based applications is paramount to protecting sensitive data and maintaining end-user trust. Self-adaptation can strengthen security measures at runtime by autonomously adjusting the configuration and behavior of the managed system with limited, or even without, human intervention. In this paper, we present AQUA, a novel approach to orchestrate microservices jointly considering Quality of Service (QoS) and vulnerabilities. The framework maintains an architectural model of the system at runtime expressed through a Discrete-Time Markov Chain (DTMC). Probabilistic model checking is then used to evaluate and compare alternative DTMCs to identify the adaptation actions that reduce security threats (reducing the attack surface preventively) while increasing the delivered QoS (availability and response time). We evaluate the cost-effectiveness of AQUA using a microservice application benchmark. We show that the framework outperforms existing baseline methods by consistently planning better adaptation decisions that consider QoS and security aspects. However, this comes with higher computational costs, which increase linearly with the problem size.

Integrated QoS- and Vulnerability-Driven Self-adaptation for Microservices Applications

Camilli M.;Luccioletti F.;Mirandola R.;
2025-01-01

Abstract

Prioritizing security concerns in modern (micro)service-based applications is paramount to protecting sensitive data and maintaining end-user trust. Self-adaptation can strengthen security measures at runtime by autonomously adjusting the configuration and behavior of the managed system with limited, or even without, human intervention. In this paper, we present AQUA, a novel approach to orchestrate microservices jointly considering Quality of Service (QoS) and vulnerabilities. The framework maintains an architectural model of the system at runtime expressed through a Discrete-Time Markov Chain (DTMC). Probabilistic model checking is then used to evaluate and compare alternative DTMCs to identify the adaptation actions that reduce security threats (reducing the attack surface preventively) while increasing the delivered QoS (availability and response time). We evaluate the cost-effectiveness of AQUA using a microservice application benchmark. We show that the framework outperforms existing baseline methods by consistently planning better adaptation decisions that consider QoS and security aspects. However, this comes with higher computational costs, which increase linearly with the problem size.
2025
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
9789819608072
9789819608089
Markov models
Microservices
security
self-adaptation
File in questo prodotto:
File Dimensione Formato  
ICSOC2024_Vulnerability.pdf

accesso aperto

: Pre-Print (o Pre-Refereeing)
Dimensione 685.53 kB
Formato Adobe PDF
685.53 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1287747
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact