# A set of semantic data flow diagrams and its security analysis based on ontologies and knowledge graphs

arXiv: https://arxiv.org/abs/2303.11198 · HTML: https://mlsanity.com/paper/2303.11198/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 9 of its 63 references that are in the map.
- First posted on arXiv 20 Mar 2023.

## Builds on (most cited first, 9 of 9)

- [Self-attention Presents Low-dimensional Knowledge Graph Embeddings for Link Prediction](https://mlsanity.com/paper/2112.10644/) (2021)
- [KGSecConfig: A Knowledge Graph Based Approach for Secured Container Orchestrator Configuration](https://mlsanity.com/paper/2112.12595/) (2021)
- [XI Commandments of Kubernetes Security: A Systematization of Knowledge Related to Kubernetes Security Practices](https://mlsanity.com/paper/2006.15275/) (2020)
- [APIRO: A Framework for Automated Security Tools API Recommendation](https://mlsanity.com/paper/2201.07959/) (2022)
- [Contextualisation of Data Flow Diagrams for security analysis](https://mlsanity.com/paper/2006.04098/) (2020)
- [Lic-Sec: an enhanced AppArmor Docker security profile generator](https://mlsanity.com/paper/2009.11572/) (2020)
- [Actions over Core-closed Knowledge Bases](https://mlsanity.com/paper/2202.12592/) (2022)
- [Towards a Security Stress-Test for Cloud Configurations](https://mlsanity.com/paper/2205.14498/) (2022)
- [Towards an Ontology-Driven Approach for Process-Aware Risk Propagation](https://mlsanity.com/paper/2212.11763/) (2022)

## Abstract (arXiv)

For a long time threat modeling was treated as a manual, complicated process. However modern agile development methodologies and cloud computing technologies require adding automatic threat modeling approaches. This work considers two challenges: creating a set of machine-readable data flow diagrams that represent real cloud based applications; and usage domain specific knowledge for automatic analysis of the security aspects of such applications. The set of 180 semantic diagrams (ontologies and knowledge graphs) is created based on cloud configurations (Docker Compose); the set includes a manual taxonomy that allows to define the design and functional aspects of the web based and data processing applications; the set can be used for various research in the threat modeling field. This work also evaluates how ontologies and knowledge graphs can be used to automatically recognize patterns (mapped to security threats) in diagrams. A pattern represents features of a diagram in form of a request to a knowledge base, what enables its recognition in a semantic representation of a diagram. In an experiment four groups of the patterns are created (web applications, data processing, network, and docker specific), and the diagrams are examined by the patterns. Automatic results, received for the web applications and data processing patterns, are compared with the manual taxonomy in order to study challenges of automatic threat modeling.
