Katja Tuma†, Laurens Sion∗, Riccardo Scandariato†, Koen Yskout∗
†University of Gothenburg and Chalmers University of Technology, Sweden
∗imec-DistriNet, KU Leuven, Belgium
katja.tuma@cse.gu.se,laurens.sion@cs.kuleuven.be,riccardo.scandariato@cse.gu.se,koen.yskout@cs.kuleuven.be
Security by design is a key principle for realizing secure software systems and it is advised to hunt for security flaws from the very early stages of the software development. At design-time, security analysis is often performed manually by means of either threat modeling or expert-based inspections. However, when leveraging the wide range of well-established knowledge bases on security design flaws (e.g., CWE, CAWE), these manual assessments become too time consuming, error-prone, and infeasible in the context of contemporary development practices which employ frequent iterations. This paper focuses on design inspection and explores the potential for automating the application of inspection rules to speed up the security analysis process. The contributions of this paper are: (i) the creation of a publicly available data set consisting of 26 design models annotated with security flaws, (ii) an automated approach for following inspection guidelines using model query patterns, and (iii) an empirical comparison of the results from this automated approach with those from manual detection. Even though our results show that a complete automation of the security design flaw detection is hard to achieve, we find that some flaws (e.g., insecure data exposure) are more amenable to automation. Compared to manual analysis techniques, our results are encouraging and suggest that the automated technique could guide security analysts towards a more complete inspection of the software design, especially when analyzing large models.
Documents given to participants creating the design models.
Includes:
training slides
task description
Design models created by participants.
Includes:
basic DFD elements exported to csv file
the security enriched models (.securitydfd)
figures of the enriched models (.png)
Report of an expert inspection of security enriched DFD models for five security design flaws.
You can also download the entire catalog of security design flaws.
Report of the automated design flaw detection with implemented query patterns.