In this dissertation, we investigate the coupling of architectural security analyses with static source code security analyses to detect architectural vulnerabilities that arise from an implementation that is non-compliant with the architectural specification.
We present properties of coupling approaches suitable for achieving this goal (called coupling design), two coupling approaches that instantiate this design, and an approach to relate static source code analyses to design-level security domain-specific languages.
Most modern software systems process or store sensitive information, and are interconnected with other systems.
Consequently, they must be designed and implemented securely to prevent attackers from exploiting vulnerabilities in the system and to compromise its security.
Compromising the security can have severe consequences for individuals and companies, such as financial loss, impersonation, or loss of trust.
Vulnerabilities in safety-critical systems, such as mobility systems, energy supply or healthcare systems, present particular alarming cases for misuse.
These insights motivated source code security analyses to detect vulnerabilities in the implementation.
Furthermore, architectural security analyses have been developed that analyze the architectural design to detect vulnerabilities before they manifest in the implementation.
However, research has shown that evolutionary changes can result in non-compliance between the architectural design and the implementation.
Non-compliance poses a significant challenge for architectural analyses, because they may miss vulnerabilities that actually exist in the final system.
This leads to the challenge that software engineers may wrongly assume the system to be secure based on the architectural analysis results, while an attacker can exploit vulnerabilities in the deployed system.
In this dissertation, we address the challenge of missed architectural vulnerabilities due to non-compliant implementations by coupling architectural analyses with static source code analyses.
We investigate suitable properties of coupling approaches, relations to bridge the gap between architectural security and implementation-level security, and mechanisms to enable the information exchange between architectural analyses and source code analyses.
Our first contribution, the coupling design, provides reusable knowledge on properties suitable to couple architectural analyses with source code analyses.
The second contribution comprises two coupling approaches addressing two types of static source code analyses and different types of security-related properties.
Both coupling approaches instantiate our coupling design, define information necessary for the coupling, define how to relate this information in the analyses, and define how to enable the information exchange between the analyses.
Our third contribution is SecLan, an approach to determine relations between the vulnerabilities detectable by source code analyses and security properties specified in design-level domain-specific languages based on a conceptual model.
Our contributions are empirically evaluated using evaluation scenarios for the coupling design and coupling approaches, and expert surveys and expert interviews for SecLan.
The results of our evaluation show that the information defined by our coupling approaches are covered by the analyses, and that the relations defined exist in successful couplings.
The evaluation of accuracy shows that the coupling approaches can detect architectural vulnerabilities arising from non-compliant implementations that would have been missed without the coupling.
However, our results also show that one coupling approach has further potential for improvement due to limited accuracy, while the other coupling approach exposes high accuracy.
The results of our evaluation of SecLan show that the conceptual model is correct and complete, and that the relations calculated by SecLan are valid.
Most notably, our results show that also security experts are not always aware of the relations between source code analysis results and security properties specified in security-related system designs, highlighting the necessity for SecLan and our coupling approaches.
Overall, our contributions allow software engineers to detect architectural vulnerabilities arising from non-compliant implementations, and to systematically relate source code analyses to architectural analyses.
| Related KIT institution | Institute of Information Security and Dependability (KASTEL) |
|---|---|
| Language | English |
| KITopen ID | 1000194775 |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | xxiv, 352 p. |
| Faculty | Department of Informatics (INFORMATIK) |
| Institute | Institute of Information Security and Dependability (KASTEL) |
| Exam date | May 11, 2026 |
| Supervisors | Robert Heinrich Hans Vangheluwe |
| External relations | Research data/Software |
| Referenced in | OpenAlex |