Doctoral thesis
Cite …

Architecture-Based and Uncertainty-Aware Confidentiality Analysis

Sebastian Hahner ORCID iD icon 1
1 Institute of Information Security and Dependability (KASTEL), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000178700
PDF published on Feb 11, 2025
CC BY-SA 4.0
Abstract

In this dissertation, we investigate architecture-based confidentiality analysis under uncertainty. We present a classification of uncertainty regarding confidentiality, a catalog of uncertainty sources, an uncertainty impact analysis that propagates uncertainty to predict its impact on the system's confidentiality, and uncertainty-aware confidentiality analyses that identify violations of confidentiality requirements with respect to uncertainty.

In our interconnected world, an increasing amount of data is exchanged, processed and stored every day. This enables a multitude of modern applications in many domains, from mobility to healthcare, but it also presents significant challenges. A particular challenge is confidentiality, which requires that information is not made available to unauthorized individuals or organizations. The rise of cybercrime and the ubiquity of data breaches underline the relevance of confidentiality, as its loss can significantly impact stakeholder wealth and social acceptance. As demanded by approaches like privacy and security by design, confidentiality should be addressed and analyzed early in the development, e.g., on the abstraction of the software's architecture. Here, numerous architecture-based analysis approaches have been proposed. Based on the assessment of architectural models, these analyses can accurately and early identify violations of confidentiality requirements.

However, today's software systems are neither built nor operated in isolation and are subject to uncertainty within the software system, its design, or its environment. Uncertainty, often referred to as a lack of knowledge or information, is inherently unavoidable in modern, interconnected software systems. When not handled comprehensively, confidentiality violations can occur due to uncertainty that voids previous analysis results, e.g., because influences from the system context have not been adequately considered or users and third parties behave differently than assumed. Addressing this problem requires new approaches to identify and document uncertainty sources, as one cannot analyze what one does not know. Software architects face challenges both in the inspection of software architectures and in assessing confidentiality under uncertainty.

Although architecture evaluation under uncertainty has been comprehensively researched, existing approaches focus on other quality properties like performance, cost, or reliability but do not consider confidentiality. On the opposite, existing design time confidentiality analyses fall short of considering the impact of uncertainty on confidentiality. Recent surveys and road maps also find a lack of uncertainty management, accurate representation of uncertainty sources, and uncertainty-aware end-to-end approaches.

In this dissertation, we address this lack of simultaneous consideration of uncertainty and confidentiality in architecture-based analysis. We present an approach to identifying, classifying, propagating, and analyzing uncertainty and its impact on a system's confidentiality using the architectural abstraction. First, we present a classification of uncertainty regarding confidentiality that provides the terminology to understand and discuss the relation between uncertainty and confidentiality. We complement this classification with a catalog of uncertainty sources that simplifies their identification and addresses the lack of awareness. Second, we introduce an architecture-based uncertainty impact analysis. By propagating uncertainty within the software architecture, software architects can predict potential confidentiality violations with minimal effort. Third, we present uncertainty-aware confidentiality analyses. These analyses consider uncertainty sources as first-class entities in the software architecture and identify confidentiality violations due to uncertainty.

We validate our contributions using six evaluation scenarios and by conducting two user studies. In addition to investigating the quality of our classification, we evaluate the usability of our catalog approach and the accuracy of all of our analyses. Furthermore, we inspect the effort reduction of our uncertainty impact analysis and the scalability of the confidentiality analyses under uncertainty. The results of the user studies indicate that combining the classification with our catalog of uncertainty sources helps to identify and describe uncertainty sources. Afterward, the uncertainty impact analysis can accurately predict the impact with an F1-score of 0.88 while greatly reducing the effort by 86\% compared to manual analysis. Last, uncertainty-aware confidentiality analyses accurately identify confidentiality violations with high precision and recall while significantly reducing the analysis runtime compared to the state of the art.

Our work benefits software architects by helping them more accurately identify confidentiality violations by considering uncertainty within the software and its context. Applying our tool-supported and automated analyses requires both less effort and less expertise. Last, it has already been shown that our findings can be generalized to other research concerns, e.g., regarding uncertainty propagation and interaction in self-adaptive systems.