{"title":"Machine Learning to Combine Static Analysis Alerts with Software Metrics to Detect Security Vulnerabilities: An Empirical Study","authors":"José D’Abruzzo Pereira, João R. Campos, M. Vieira","doi":"10.1109/EDCC53658.2021.00008","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00008","url":null,"abstract":"Software developers can use diverse techniques and tools to reduce the number of vulnerabilities, but the effectiveness of existing solutions in real projects is questionable. For example, Static Analysis Tools (SATs) report potential vulnerabilities by analyzing code patterns, and Software Metrics (SMs) can be used to predict vulnerabilities based on high-level characteristics of the code. In theory, both approaches can be applied from the early stages of the development process, but it is well known that they fail to detect critical vulnerabilities and raise a large number of false alarms. This paper studies the hypothesis of using Machine Learning (ML) to combine alerts from SATs with SMs to predict vulnerabilities in a large software project (under development for many years). In practice, we use four ML algorithms, alerts from two SATs, and a large number of SMs to predict whether a source code file is vulnerable or not (binary classification) and to predict the vulnerability category (multiclass classification). Results show that one can achieve either high precision or high recall, but not both at the same time. To understand the reason, we analyze and compare snippets of source code, demonstrating that vulnerable and non-vulnerable files share similar characteristics, making it hard to distinguish vulnerable from non-vulnerable code based on SAT alerts and SMs.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"107 5S 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126923838","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Live in ConSerts: Model-Driven Runtime Safety Assurance on Microcontrollers, Edge, and Cloud Practical Experience Report","authors":"Andreas Schmidt, Jan Reich, Ioannis Sorokos","doi":"10.1109/EDCC53658.2021.00016","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00016","url":null,"abstract":"Engineering highly-integrated Cyber-Physical Systems (CPS) requires dealing with increased complexity and variability, both within the CPS architecture, but also in the dynamic interactions formed with other CPS during operation. Developing, instrumenting, and deploying effective and efficient monitoring is an essential component of any strategy aiming to assure the dependability of CPS. Such runtime monitors use pre-assured knowledge models, which describe safety-relevant properties of the CPS and its environment. During operation, event monitors determine the current situation and thus enable automated safety reasoning based on the modeled knowledge. Conditional Safety Certificates (ConSerts) are a previously introduced concept for safety-related assume-guarantee reasoning models that enable dynamic adaptation of CPS during operation by exploiting dependability assurance established during development. In this work, we introduce a code generation concept and tool support that enables the automatic synthesis of ConSert-based runtime monitors for CPS in the Rust programming language. We demonstrate and evaluate the feasibility of the concept on a robot-assisted industrial manufacturing use case.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"35 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131205506","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Michael Kläs, R. Adler, Ioannis Sorokos, Lisa Joeckel, Jan Reich
{"title":"Handling Uncertainties of Data-Driven Models in Compliance with Safety Constraints for Autonomous Behaviour","authors":"Michael Kläs, R. Adler, Ioannis Sorokos, Lisa Joeckel, Jan Reich","doi":"10.1109/EDCC53658.2021.00021","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00021","url":null,"abstract":"Assuring safety is a key challenge for market introduction of many kinds of autonomous systems. This is especially true in cases where data-driven models (DDMs) such as deep neural networks are used to perceive or anticipate hazardous situations. Treating failures of such models in the same way as failures in traditional software appears insufficient, due to the less predictable nature of DDM failures. Although existing safety standards do not yet sufficiently address this finding, research widely acknowledges that residual uncertainty remaining in the outcome of DDMs is a fact that needs to be dealt with. In this context, Uncertainty Wrappers constitute a model-agnostic framework to obtain dependable and situation-aware uncertainty estimates. In contrast to many approaches, they are special in providing explainable and statistically-safeguarded uncertainty estimates. Although these properties appear beneficial, the question of integrating them into an effective risk management approach remains open. This paper intends to further stimulate and contribute to this discussion by exemplifying how dependable uncertainty estimates may become part of a dynamic risk management approach at runtime. We explore how this can be achieved in the context of the Responsibility-Sensitive Safety model.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129312080","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
M. Grobelna, Joao-Vitor Zacchi, Philipp Schleiss, S. Burton
{"title":"Dynamic Risk Management for Safely Automating Connected Driving Maneuvers","authors":"M. Grobelna, Joao-Vitor Zacchi, Philipp Schleiss, S. Burton","doi":"10.1109/EDCC53658.2021.00009","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00009","url":null,"abstract":"Autonomous vehicles (AV)s have the potential for significantly improving road safety by reducing the number of accidents caused by inattentive and unreliable human drivers. Allowing the AVs to negotiate maneuvers and to exchange data can further increase traffic safety and efficiency. Simultaneously, these improvements lead to new classes of risk that need to be managed in order to guarantee safety. This is a challenging task since such systems have to face various forms of uncertainty that current safety approaches only handle through static worst-case assumptions, leading to overly restrictive safety requirements and a decreased level of utility. This work provides a novel solution for dynamic quantification of the relationship between uncertainty and risk at run time in order to find the trade-off between system's safety and the functionality achieved after the application of risk mitigating measures. Our approach is evaluated on the example of a highway overtake maneuver under consideration of uncertainty stemming from wireless communication channels. Our results show improved utility while ensuring the freedom of unacceptable risks, thus illustrating the potential of dynamic risk management.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"71 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132773690","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Message from the General Chairs EDCC 2021","authors":"","doi":"10.1109/edcc53658.2021.00005","DOIUrl":"https://doi.org/10.1109/edcc53658.2021.00005","url":null,"abstract":"","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124105713","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"BDMPathfinder: a tool for exploring attack paths in models defined by Boolean logic Driven Markov Processes: Short Paper","authors":"R. Czekster, C. Morisset","doi":"10.1109/EDCC53658.2021.00019","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00019","url":null,"abstract":"Security officers employ adversarial modelling techniques to drive analysis over complex attack surfaces. One technique for modelling safety and security is Attack Trees (AT) that uses logic gates to address the likelihood of malicious actions and outcomes. However, attack progression over time is not considered in AT analysis. To cope with this, the formalism of Boolean logic Driven Markov Processes (BDMP) extends AT where triggered transitions connect the sub-trees pertaining the hierarchy. BDMP is embedded with Markovian processes notions where modellers decorate transitions with likely timestamps to compute path probabilities. The time attackers take to complete any given malicious incursion stretches over a range of possibilities. Those durations are often difficult to cope due to a wealth of intangible characteristics such as adversaries' technical abilities, tool adequacy, quickness to devise vulnerability exploits, or countermeasures or defences in place in targeted infrastructures. The current BDMP analysis pipeline is sequential and generates a single output for one mission time. We propose BDMPathfinder, a tool that iterates over multiple durations to compute the totality of path attacks for BDMP models. We show its properties and trade-offs in a comprehensive case study exercising most common BDMP primitives by plotting the paths and probabilities altogether.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"211 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131675596","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Systematic Modeling Approach for Environmental Perception Limitations in Automated Driving","authors":"Ahmad Adee, Roman Gansch, P. Liggesmeyer","doi":"10.1109/EDCC53658.2021.00022","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00022","url":null,"abstract":"Highly automated driving (HAD) vehicles are complex systems operating in an open context. Complexity of these systems as well as limitations and insufficiencies in sensing and understanding the open context may result in unsafe and uncertain behavior. The safety critical nature of the HAD vehicles demands to model limitations, insufficiencies and triggering conditions to argue safe behavior. Standardization activities such as ISO/PAS 21448 provide guidelines on the safety of the intended functionality (SOTIF) and focus on the performance limitations and triggering conditions. Although, SOTIF provides a non-exhaustive list of scenario factors that may serve as a starting point to identify and analyze performance limitations and triggering conditions, yet no concrete methodology is provided to model these factors. We propose a novel methodology to model triggering conditions and performance limitations in a scene to assess SOTIF. We utilize Bayesian network (BN) in this regard. The experts provide the BN structure and conditional belief tables are learned using the maximum likelihood estimator. We provide performance limitation maps (PLMs) and conditional performance limitation maps (CPLMs), given a scene. As a case study, we provide PLMs and CPLMs of LIDAR in a defined scene using real world data.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121359142","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Stream-based State-Machine Replication","authors":"Laura Lawniczak, T. Distler","doi":"10.1109/EDCC53658.2021.00024","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00024","url":null,"abstract":"Developing state-machine replication protocols for practical use is a complex and labor-intensive process because of the myriad of essential tasks (e.g., deployment, communication, recovery) that need to be taken into account in an implementation. In this paper, we show how this problem can be addressed with stream-based replication, a novel approach that implements a replication protocol as application on top of a data-stream processing framework. With such framework already handling most essential tasks and furthermore providing means for debugging and monitoring, this technique has the key benefit of significantly minimizing overhead for both programmers as well as system operators. Our first stream-based protocol Tara tolerates crashes and comprises full-fledged mechanisms for request handling, checkpointing, and view changes. Still, Tara's prototype implementation, which is based on Twitter's Heron framework, consists of fewer than 1,500 lines of application-level code.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114465929","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Self-stabilizing Multivalued Consensus in Asynchronous Crash-prone Systems","authors":"Oskar Lundström, M. Raynal, E. Schiller","doi":"10.1109/EDCC53658.2021.00023","DOIUrl":"https://doi.org/10.1109/EDCC53658.2021.00023","url":null,"abstract":"The problem of multivalued consensus is fundamental in the area of fault-tolerant distributed computing since it abstracts a very broad set of agreement problems in which processes have to uniformly decide on a specific value $vin V$, where $vert Vvert geq 2$. Existing solutions (that tolerate process failures) reduce the multivalued consensus problem to the one of binary consensus, e.g., Mostéfaoui-Raynal-Tronel and Zhang-Chen. Our study aims at the design of an even more reliable solution. We do so through the lenses of self-stabilization—a very strong notion of fault-tolerance. In addition to node and communication failures, self-stabilizing algorithms can recover after the occurrence of (a finite number of) arbitrary transient-faults; these faults represent any violation of the assumptions according to which the system was designed to operate (as long as the algorithm code stays intact). This work proposes the first (to the best of our knowledge) self-stabilizing algorithm for multivalued consensus for asynchronous message-passing systems prone to process failures and arbitrary transient-faults. Our solution is also the first (to the best of our knowledge) to support wait-freedom. Moreover, using piggybacking techniques, our solution can invoke n binary consensus objects concurrently. Thus, the proposed self-stabilizing wait-free solution can terminate using fewer binary consensus objects than earlier non-self-stabilizing solutions by Mostéfaoui, Raynal, and Tronel, which uses an unbounded number of binary consensus objects, or Zhang and Chen, which is not wait-free.","PeriodicalId":408271,"journal":{"name":"2021 17th European Dependable Computing Conference (EDCC)","volume":"45 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121337318","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}