Attack–Defense Trees

Total Page:16

File Type:pdf, Size:1020Kb

Attack–Defense Trees Attack–Defense Trees Patrick Schweitzer Supervisor: Prof. Dr. Sjouke Mauw (University of Luxembourg) Daily advisor: Dr. Barbara Kordy (University of Luxembourg) © 2013 Patrick Schweitzer The author was employed at the University of Luxembourg and received support from the Fonds National de la Recherche, Luxembourg (PHD-09-167) in the project “Security Analysis through Attack–Defense Trees”. PhD-FSTC-2013-28 The Faculty of Sciences, Technology and Communication DISSERTATION Presented on 8 November 2013 in Luxembourg to obtain the degree of DOCTEUR DE L’UNIVERSITÉ DU LUXEMBOURG EN INFORMATIQUE by Patrick SCHWEITZER Born on 25 January 1980 in Saarbrücken–Dudweiler (Germany) ATTACK–DEFENSE TREES Dissertation defense committee Dr. Barbara Kordy, vice-chairman Université du Luxembourg Dr. Sjouke Mauw, dissertation supervisor Professor, Université du Luxembourg Dr. Christian W. Probst, member Assistant Professor, The Technical University of Denmark Dr. Yves Le Traon, chairman Professor, Université du Luxembourg Dr. Jan Willemson, member Cybernetica, Estonia Summary The advent of the information age has notably amplified the importance of security. Unfortunately security considerations still widely occur as an afterthought. For many companies, security is not a requirement to conduct business and is therefore readily neglected. However the lack of security may obstruct, impede and even ruin an otherwise flourishing enterprise. Only when internal computer networks shut down, web portals are inaccessible, mail servers are attacked, or similar incidents affect the day to day business of an enterprise, security enters into the field of vision of companies. As such, security by design is only slowly becoming accepted practice. Amongst security researchers, there is no dispute that a reasonable approach to- wards uninterrupted business activities includes security measures and controls from the beginning. To support these efforts, many security models have been developed. Graphical security models are a type of security model that help illus- trate and guide the consideration of security throughout the lifecycle of a product, system or company. Their visual properties are especially well-suited to elucidate security requirements and corresponding security measures. During the last four years, we have developed a new graphical security model called attack–defense trees. The new framework, presented in this thesis, generalizes the well-known attack trees model. Attack–defense trees formally extend attack trees and enhance them with defenses. To be able to deploy attack–defense trees as a security support tool, we have equipped them with three different syntaxes: A visually appealing, graph-based syntax that is dedicated to representing security problems, an algebraic, term-based syntax that simplifies correct, formal and quantitative analysis of security scenarios and a textual syntax that is a compromise between succinct, visual representation and easy, computerized input. We have also equipped attack–defense trees with a variety of semantics. This became necessary, since different applications require different interpretations of attack–defense trees. Besides the very specific and problem oriented propositional, De Morgan and multiset semantics, we have introduced equational semantics. The latter semantics is, in fact, an alternative, unified presentation of semantics based on equational theory. We have expressed the propositional and the multiset seman- tics in terms of the equational semantics. This facilitates algorithmic treatment since the two different semantics have a unified formal foundation. To be able to perform quantitative security analysis, we have introduced the notion of an attribute for attack–defense trees. To guarantee that the evaluation of an attribute on two or more semantically equal attack–defense trees results in the same I II Summary value, we have introduced the notion of a compatibility condition between semantics and attributes. We have also provided usability guidelines for attributes. These guidelines help a user to specify security-relevant questions that can unambiguously be answered using attributes. We have performed several case studies that allowed us to test and improve the attack–defense tree methodology. We have provided detailed explanations for our design choices during the case studies as well as extensive applicability guidelines that serve a prospective user of the attack–defense tree methodology as a user manual. We have demonstrated the usefulness of the formal foundations of attack–defense trees by relating attack–defense terms to other scientific research disciplines. Con- cretely, we have shown that attack–defense trees in the propositional semantics are computationally as complex as propositional attack trees. Moreover, we have described how to merge Bayesian networks with attack–defense trees and have il- lustrated that attack–defense trees in the propositional semantics are equivalent to a specific class of games frequently occurring in game theory. Concluding the thesis, we have related the attack–defense tree methodology to other graphical security models in an extensive literature overview over similar methodologies. Acknowledgments Writing a thesis is, like life, a never-ending learning process. Moments of joy are equally part of the experience as failures and setbacks. Besides having to pull myself (and the horse I was sitting on) out of the self-induced chaos by my own hair, I was frequently helped and supported by numerous people all of whom I wish to thank. First, I want to mention my daily advisor, Barbara Kordy. I cherish the unwaivering endurance that she showed throughout the years. Her devotion to teach me the precise and intelligible writing is admirable. Next, I wish to extend my gratitude to Sjouke Mauw. It was a great pleasure to be part of his research group. His enthusiasm for and capability to inspire individuals to perform theoretical research continues to fascinate me. I appreciate the many valiant conversational attempts to enlighten me in aspects of Dutch humor, which unfortunately still remain a mystery to me. I would also like to thank the members of my defense committee, Christian W. Probst, Yves Le Traon and Jan Willemson. I am grateful for the time and effort they spent on improving the quality of my research results. Furthermore, I would like to thank Björn Ottersten for valuable advice given as a member of my thesis supervisory committee. Many members of SaToSS as well as SnT made life in Luxembourg extremely enjoyable. In particular, I would like to acknowledge Xihui Chen, Ton van Deursen, Naipeng Dong, Hugo Jonker, Piotr Kordy, Jean Lancrenon, Matthijs Melissen, Tim Muller, Marc Pouly, Saša Radomirović and Miguel Urquidi for scientific discussions, memorable Xmas parties and extended aquatic sessions. I am honored to have such great friends as André Berthe, Johannes Hess and Se- bastian Reißmann who managed to, time and again, show me different perspectives on life and unerringly urged me to go on. I’d like to extend my special appreciation to Matty McConchie for thoroughly proofreading the entire manuscript. I give heartfelt thanks to my parents, my Bomi, Annette and Renate for their never-ending moral support. Moreover, I wish to thank Tamaris Zwickler for always lending me a shoulder to cry on and for never complaining about the long hours that it took to compose this thesis. I want to express my deepest gratitude to my brother Pascal, who not only fought his way through the first draft of this thesis but also encouraged me to wake up an hour earlier than him every morning. Finally, I wish to acknowledge my Volk III IV Acknowledgments for always smiling not matter what the circumstances. Patrick Schweitzer Luxembourg, November 2013 Contents 1 Introduction 1 1.1 Graphical Security Modeling ............................ 2 1.2 Formal Security Modeling .............................. 3 1.3 The Research Question ................................ 4 1.4 Contribution ....................................... 7 1.5 Thesis Structure ..................................... 7 1.6 Further Research .................................... 10 2 Syntax and Definitions 13 2.1 ADTrees .......................................... 13 2.1.1 Defining ADTrees ............................... 13 2.1.2 An Introductory Example ......................... 14 2.1.3 A Running Example ............................. 17 2.1.4 A Formal Definition of ADTrees .................... 17 2.2 ADTerms .......................................... 19 2.3 Transformations between ADTrees and ADTerms ............. 20 2.4 Textual Syntax ...................................... 21 2.5 Design Choices ...................................... 26 3 Semantics 29 3.1 Propositional Semantics (≡P ) ........................... 30 3.2 Semantics Induced by a De Morgan Lattice .................. 34 3.3 Multiset Semantics (≡M) .............................. 38 3.4 Equational Semantics ................................. 40 3.5 Axiomatization of Semantics for ADTerms .................. 41 3.5.1 The Notion of a Complete Set of Axioms .............. 42 3.5.2 A Complete Set of Axioms for ≡P ................... 44 3.5.3 A Complete Set of Axioms for ≡M .................. 49 4 Quantitative Analysis 55 V VI Contents 4.1 Historical Overview of Attributes ......................... 55 4.1.1 Attributes for Attack Trees ........................ 56 4.1.2 Attributes for Defensive Aspects .................... 56 4.1.3 Value Domains ................................ 56
Recommended publications
  • Securing Enterprise Web Applications at the Source: an Application Security Perspective
    Securing Enterprise Web Applications at the Source: An Application Security Perspective Author: Eugene Lebanidze [email protected] EXECUTIVE SUMMARY Purpose: This paper considers a variety of application level threats facing enterprise web applications and how those can be mitigated in order to promote security. Evidence shows that perhaps as many as sixty percent of attacks on enterprise web applications are facilitated by exploitable vulnerabilities present in the source code. In this paper we take the approach of examining the various threats specific to the application layer along with their corresponding compensating controls. Threats specific to each of the tiers of the n- tiered enterprise web application are discussed with focus on threat modeling. Compensating controls are addressed at the architecture, design, implementation and deployment levels. The discussion focuses around the core security services, namely confidentiality, integrity, authentication, authorization, availability, non-repudiation and accountability. The paper examines how these core security services are supported in the J2EE and .NET frameworks. Recommendations and standards from various organizations are considered in this paper (e.g. OWASP, NIST, etc.) We also recognize that development and deployment of a secure enterprise web-based application is dependent upon the organization’s enterprise security architecture (ESA) framework. Therefore, we map some elements of our discussion for security architecture and technology issues to the five rings of the enterprise security architecture model, particularly in the context of the Zachman Framework enterprise architecture (EA). While most of the web application security threats and mitigations discussed fall in rings four and five, we tie the local risk to the enterprise risk in ring one of the ESA.
    [Show full text]
  • Cyber Threat Modeling: Survey, Assessment, and Representative Framework
    Prepared for: Department of Homeland Security Cyber Threat Modeling: Survey, Assessment, and Representative Framework April 7, 2018 Authors: Deborah J. Bodeau Catherine D. McCollum David B. Fox The Homeland Security Systems Engineering and Development Institute (HSSEDI)™ Operated by The MITRE Corporation Approved for Public Release; Distribution Unlimited. Case Number 18-1174 / DHS reference number 16-J-00184-01 This document is a product of the Homeland Security Systems Engineering and Development Institute (HSSEDI™). Homeland Security Systems Engineering & Development Institute The Homeland Security Act of 2002 (Section 305 of PL 107-296, as codified in 6 U.S.C. 185), herein referred to as the “Act,” authorizes the Secretary of the Department of Homeland Security (DHS), acting through the Under Secretary for Science and Technology, to establish one or more federally funded research and development centers (FFRDCs) to provide independent analysis of homeland security issues. The MITRE Corporation operates the Homeland Security Systems Engineering and Development Institute (HSSEDI) as an FFRDC for DHS under contract HSHQDC-14-D-00006. The HSSEDI FFRDC provides the government with the necessary systems engineering and development expertise to conduct complex acquisition planning and development; concept exploration, experimentation and evaluation; information technology, communications and cyber security processes, standards, methodologies and protocols; systems architecture and integration; quality and performance review, best practices and performance measures and metrics; and, independent test and evaluation activities. The HSSEDI FFRDC also works with and supports other federal, state, local, tribal, public and private sector organizations that make up the homeland security enterprise. The HSSEDI FFRDC’s research is undertaken by mutual consent with DHS and is organized as a set of discrete tasks.
    [Show full text]
  • Chapter 1- Web Application Security Fundamentals
    Chapter 1- Web Application Security Fundamentals Improving Web Application Security: Threats and Countermeasures J.D. Meier, Alex Mackman, Michael Dunner, Srinath Vasireddy, Ray Escamilla and Anandha Murukan Microsoft Corporation Published: June 2003 See the "patterns & practices Security Guidance for Applications Index" for links to additional security resources. See the Landing Page for the starting point and a complete overview of Improving Web Application Security: Threats and Countermeasures. Summary: This chapter introduces Web application security, explains common security terminology and presents a set of proven security principles upon which many of the recommendations throughout this guide are based. It presents an overview of the security process and explains why a holistic approach to security that covers multiple layers including the network, host and application, is required to achieve the goal of hack-resilient Web applications. This chapter also introduces and defines host configuration categories and application vulnerability categories, which are used throughout the remainder of this guide. Contents We Are Secure -- We Have a Firewall What Do We Mean By Security? Threats, Vulnerabilities, and Attacks Defined How Do You Build a Secure Web Application? Secure Your Network, Host, and Application Securing Your Network Securing Your Host Securing Your Application Security Principles Summary Additional Resources When you hear talk about Web application security, there is a tendency to immediately think about attackers defacing Web sites, stealing credit card numbers, and bombarding Web sites with denial of service attacks. You might also think about viruses, Trojan horses, and worms. These are the types of problems that receive the most press because they represent some of the most significant threats faced by today's Web applications.
    [Show full text]
  • Attack Analysis Methodologies Attack Analysis Methodologies in the Automotive Industry
    Attack Analysis Methodologies Attack Analysis Methodologies in the Automotive Industry Master’s thesis in Computer Systems and Networks Seyed Reza Esmaeili & Afshin Soltani Esterabadi Department of Computer Science and Engineering CHALMERS UNIVERSITY OF TECHNOLOGY Gothenburg, Sweden 2019 Master’s thesis 2019 Attack Analysis Methodologies Attack Analysis Methodologies in the Automotive Industry Seyed Reza Esmaeili Afshin Soltani Esterabadi Department of Computer Science and Engineering Division of Computer Systems and Networks Chalmers University of Technology Gothenburg, Sweden 2019 Attack Analysis Methodologies Attack Analysis Methodologies in the Automotive Industry SEYED REZA ESMAEILI & AFSHIN SOLTANI ESTERABADI © SEYED REZA ESMAEILI, AFSHIN SOLTANI ESTERABADI, 2019. Supervisor: Erland Jonsson, Department of Computer Science and Engineering Advisors: Christian Sandberg & Manne Engelke, Volvo Group Trucks Technology Examiner: Tomas Olovsson, Department of Computer Science and Engineering Master’s Thesis 2019 Department of Computer Science and Engineering Division of Computer Systems and Networks Chalmers University of Technology SE-412 96 Gothenburg Telephone +46 31 772 1000 Cover: Volvo FH 4x2 truck. © Volvo Truck Corporation. All rights reserved. Typeset in LATEX Gothenburg, Sweden 2019 iv Attack Analysis Methodologies Attack Analysis Methodologies in the Automotive Industry SEYED REZA ESMAEILI & AFSHIN SOLTANI ESTERABADI Department of Computer Science and Engineering Chalmers University of Technology Abstract In recent years, we have witnessed that technology has advanced dramatically. While new, hi-tech, automated devices entered our lives, a tendency of moving from the disjointed nature of objects to a more interconnected world has emerged. Although such need of interconnection was originated in the IT industry and with the Internet of Things (IoT), automotive industry was also affected by such a trend.
    [Show full text]
  • Threat Modeling
    www.it-ebooks.info www.it-ebooks.info fl ast.indd 11:57:23:AM 01/17/2014 Page xx Threat Modeling Designing for Security Adam Shostack www.it-ebooks.info ffi rs.indd 12:57:18:PM 01/17/2014 Page i Threat Modeling: Designing for Security Published by John Wiley & Sons, Inc. 10475 Crosspoint BoulevardIndianapolis, IN 46256 www.wiley.com Copyright © 2014 by Adam Shostack Published by John Wiley & Sons, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-1-118-80999-0 ISBN: 978-1-118-82269-2 (ebk) ISBN: 978-1-118-81005-7 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permis- sion of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley .com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifi cally disclaim all warranties, including without limitation warranties of fi tness for a particular purpose.
    [Show full text]
  • Improving Web Application Security
    Improving Web Application Security Threats and Countermeasures Forewords by Mark Curphey, Joel Scambray, and Erik Olson Improving Web Application Security Threats and Countermeasures patterns & practices J.D. Meier, Microsoft Corporation Alex Mackman, Content Master Srinath Vasireddy, Microsoft Corporation Michael Dunner, Microsoft Corporation Ray Escamilla, Microsoft Corporation Anandha Murukan, Satyam Computer Services Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft, MS-DOS, Windows, Windows NT, Active Directory, BizTalk, IntelliSense, MSDN, Visual Basic, Visual C#, Visual C++, and Visual Studio are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. © 2003 Microsoft Corporation. All rights reserved. Version 1.0 6/30/2003 The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Contents Forewords xliii Foreword by Mark Curphey .....................................................................................xliii Foreword by Joel Scambray .....................................................................................xlv Foreword by Erik Olson .........................................................................................
    [Show full text]
  • Web Secure Software Lifecycle Model
    International Journal of Scientific & Engineering Research, Volume 4, Issue 5, May-2013 2312 ISSN 2229-5518 Web Secure Software Lifecycle Model D. R. Ingle, Dr. B.B. Meshram Abstract-The traditional approach of developing software does not consider security as a prime factor for the development of any software. It is considered as one of the features of the developed system. Since in the recent years number of cyber crimes have increased, there is a need to redesign the software development process and introduce security at each and every phase of software development lifecycle. To induce security at every phase we need to identify the vulnerabilities at each phase. Hence this paper summarizes the survey conducted on vulnerabilities at different phases, the threats and tentative attacks due to the corresponding vulnerabilities. We have also conducted survey on patches available for these threats and hence we have proposed a secure software development lifecycle. We have considered web as the application to identify the vulnerabilities and we have also implemented the security patches on a case study. Key words-Vulnerability, security, requirement phase, design phase, implementation phase, testing phase .maintenance phase —————————— —————————— Different researches in the field of software security are based 1. INTRODUCTION on either analysis of security at the phases of software development lifecycle or implementing security at particular stage14]. This is overcome in SOSDLC where analysis of Security is the prime concern of any project. Unfortunately in security is done only after it is implemented at each phase. the early days software projects were developed with requirement as the primary concern[1].
    [Show full text]
  • Attack Tree-Based Threat Risk Analysis
    Attack Tree-based Threat Risk Analysis by Terrance R Ingoldsby Amenaza Technologies Limited Copyright © 2009, 2010, 2013, 2021 Amenaza Technologies Limited – All Rights Reserved Amenaza®, SecurITree®, as well as the and symbols are registered trademarks of Amenaza Technologies Limited Amenaza Technologies Limited 406 – 917 85th St SW, m/s 125 Calgary, Alberta T3H 5Z9 Canada 1-888-949-9797 toll free US & Canada +01 403 263 7737 International E-mail: [email protected] Web: www.amenaza.com Last revised on January 27, 2021 (7:05pm) Copyright © 2021 Amenaza Technologies Limited Table of Contents Foreword by the Author . 1 Attack Tree-based Threat Risk Analysis. 1 Introduction.............................................................3 Basic Attack Tree Concepts . 5 Attack Tree Origins.................................................5 Prerequisites of an Attack . 6 Attack Tree Vulnerability Models . 6 Behavioral Indicators . 14 Pruning – Eliminating Attack Scenarios Based on Infeasibility. 17 Impacts...............................................................18 Attack Scenario Risk Requires Victim Impact . 18 Attack Scenario Probability and Attacker Psychology . 19 Objective Analysis of Subjective Human Traits. 20 Attacker Behavior . 20 Pain Factor – the Victim’s Perspective. 31 Scenario Risk Value . 32 Calculation of Juvenile Delinquent Risks for Two Attack Scenarios. 33 Relative Risk vs Cumulative Risk . 34 Scenarios Involving Both Intentional and Random Events . 42 Sub-root Analysis . 46 Heuristics for Reducing Combinatoric Growth of Scenario Space . 47 Countermeasures and Controls . 48 Countermeasure nodes . 51 Attack Graphs vs Attack Trees . 52 Conclusion ............................................................54 Appendix I – Basic Hostile Attack Risk Analysis Flowchart . 55 Glossary ..............................................................56 Copyright © 2021 Amenaza Technologies Limited i All Rights Reserved List of Figures Figure 1 – Goal Oriented Tree . 10 Figure 2 – Approaches to Burglarizing a House .
    [Show full text]
  • Validating Digital Forensic Evidence
    VALIDATING DIGITAL FORENSIC EVIDENCE A THESIS PRESENTED BY Karthikeyan Shanmugam SEPTEMBER 2011 A thesis submitted in partial fulfilment of the requirements for the degree of Doctor of Philosophy Electronic and Computer Engineering School of Engineering, Design and Technology Brunel University Uxbridge UB8 3PH, UK 1 Dedication This work is dedicated to my parents T. Shanmugam and Mallika Shanmugam whom together made the required sacrifice to ensure that my siblings and I got university education and career. 2 BRUNEL UNIVERSITY VALIDATING FORENSIC EVIDENCE AN ANTI-FORENSIC APPROACH Declaration: I have read and I understand the Department's guidelines’ on plagiarism and cheating, and I certify that this submission fully complies with these guidelines. Student’s name: KARTHIKEYAN SHANMUGAM Signature of student: ii ABSTRACT This dissertation focuses on the forensic validation of computer evidence. It is a burgeoning field, by necessity, and there have been significant advances in the detection and gathering of evidence related to electronic crimes. What makes the computer forensics field similar to other forensic fields is that considerable emphasis is placed on the validity of the digital evidence. It is not just the methods used to collect the evidence that is a concern. What is also a problem is that perpetrators of digital crimes may be engaged in what is called anti-forensics. Digital forensic evidence techniques are deliberately thwarted and corrupted by those under investigation. In traditional forensics the link between evidence and perpetrator's actions is often straightforward: a fingerprint on an object indicates that someone has touched the object. Anti-forensic activity would be the equivalent of having the ability to change the nature of the fingerprint before, or during the investigation, thus making the forensic evidence collected invalid or less reliable.
    [Show full text]
  • ICIW 2007 2Nd International Conference on I- Warfare and Security Naval Postgraduate School, Monterey, California, USA
    ICIW 2007 2nd International Conference on i- Warfare and Security Naval Postgraduate School, Monterey, California, USA 8-9 March 2007 Edited by Leigh Armistead Edith Cowan University Copyright The Authors, 2007. All Rights Reserved. No reproduction, copy or transmission may be made without written permission from the individual authors. Papers have been double-blind peer reviewed before final submission to the conference. Initially, paper abstracts were read and selected by the conference panel for submission as possible papers for the conference. Many thanks to the reviewers who helped ensure the quality of the full papers. ISBN: 978-1-905305-41-4 Published by Academic Conferences Limited Reading UK 44-118-972-4148 [email protected] ICIW 2007 Contents Proceedings Paper Title Author(s) Page Preface iv Biographies of Conference Chairs, Programme Chair, Keynote Speaker and vi Mini-track Chairs Biographies of contributing authors viii Edwin Leigh Armistead1 and The Evolution of Information Operations, Thomas Murphy2 Contracts across the DoD: Opportunities for 1Edith Cowan University, Australia 1-8 Growth in the Future for Academics 2Northlight Technologies, USA Sviatoslav Braynov On Manipulability of Algorithms University of Illinois at Springfield 9-16 IL USA Developing a Framework to Improve Adam Bryant and Michael Grimaila Information Assurance Battlespace Air Force Institute of Technology, 17-24 Knowledge Fairborn, OH, USA Scott Bryant and Michael Grimaila Security Risks in USAF Geospatial Air Force Institute of Technology
    [Show full text]