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 development. At design-time, security analysis is often performed manually by means of either threat modeling or expert-based design inspections. However, when leveraging the wide range of 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 with 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. 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 inspection. 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 for large models.
|Title of host publication||Proceedings - 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2020|
|Publisher||Association for Computing Machinery, Inc|
|Number of pages||11|
|Publication status||Published - 16 Oct 2020|
|Event||23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2020 - Virtual, Online, Canada|
Duration: 18 Oct 2020 → 23 Oct 2020
|Name||Proceedings - 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2020|
|Conference||23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS 2020|
|Period||18/10/20 → 23/10/20|
Bibliographical notePublisher Copyright:
© 2020 ACM.
Copyright 2020 Elsevier B.V., All rights reserved.
- design flaw detection
- empirical software engineering
- secure design
- security flaw