String Analysis for Software Verification and Security
Springer International Publishing (Verlag)
978-3-319-68668-4 (ISBN)
This book discusses automated string-analysis techniques, focusing particularly on automata-based static string analysis. It covers the following topics: automata-bases string analysis, computing pre and post-conditions of basic string operations using automata, symbolic representation of automata, forward and backward string analysis using symbolic automata representation, constraint-based string analysis, string constraint solvers, relational string analysis, vulnerability detection using string analysis, string abstractions, differential string analysis, and automated sanitization synthesis using string analysis.
String manipulation is a crucial part of modern software systems; for example, it is used extensively in input validation and sanitization and in dynamic code and query generation. The goal of string-analysis techniques and this book is to determine the set of values that string expressions can take during program execution. String analysis can be used to solve many problems in modern software systems that relate to string manipulation, such as: (1) Identifying security vulnerabilities by checking if a security sensitive function can receive an input string that contains an exploit; (2) Identifying possible behaviors of a program by identifying possible values for dynamically generated code; (3) Identifying html generation errors by computing the html code generated by web applications; (4) Identifying the set of queries that are sent to back-end database by analyzing the code that generates the SQL queries; (5) Patching input validation and sanitization functions by automatically synthesizing repairs illustrated in this book.
Like many other program-analysis problems, it is not possible to solve the string analysis problem precisely (i.e., it is not possible to precisely determine the set of string values that can reach aprogram point). However, one can compute over- or under-approximations of possible string values. If the approximations are precise enough, they can enable developers to demonstrate existence or absence of bugs in string manipulating code. String analysis has been an active research area in the last decade, resulting in a wide variety of string-analysis techniques.
This book will primarily target researchers and professionals working in computer security, software verification, formal methods, software engineering and program analysis. Advanced level students or instructors teaching or studying courses in computer security, software verification or program analysis will find this book useful as a secondary text.
1 Introduction: String Manipulating Programs and Difficulty of Their Analysis.- 2 String Manipulating Programs and Difficulty of Their Analysis.- 3 State Space Exploration.- 4 Automata Based String Analysis.- 5 Relational String Analysis.- 6 Abstraction and Approximation.- 7 Constraint-based String Analysis.- 8 Vulnerability Detection and Sanitization Synthesis.- 9 Differential String Analysis and Repair.- 10 Tools.- 11 A Brief Survey of Related Work.- 12 Conclusions.
"The book can be said to be tailored as a handy manual for researchers looking for algebraic approaches based on the manipulation of regular expressions (in a large sense) and on solving string constraints, over inputs provided by users in web applications, for handling security issues in these applications." (Siva Anantharaman, Mathematical Reviews, November, 2019)
“The book can be said to be tailored as a handy manual for researchers looking for algebraic approaches based on the manipulation of regular expressions (in a large sense) and on solving string constraints, over inputs provided by users in web applications, for handling security issues in these applications.” (Siva Anantharaman, Mathematical Reviews, November, 2019)
Erscheinungsdatum | 05.02.2018 |
---|---|
Zusatzinfo | IX, 174 p. 74 illus., 6 illus. in color. |
Verlagsort | Cham |
Sprache | englisch |
Maße | 155 x 235 mm |
Gewicht | 402 g |
Themenwelt | Informatik ► Netzwerke ► Sicherheit / Firewall |
Schlagworte | Automata-based strong analysis • Automated abstraction • Automated code repair • Automated sanitization synthesis • Automated string analysis • Compilers & interpreters • Compilers & interpreters • computer architecture & logic design • Computer architecture & logic design • Computer programming / software engineering • Computer Science • Computer Security • formal methods • Input validation and sanitization • Java • Logics and meanings of programs • Mathematical logic and formal languages • Mathematical theory of computation • Maths for computer scientists • Modern programming languages • Modern software systems • Network Security • Programming & scripting languages: general • Programming languages, compilers, interpreters • Programming & scripting languages: general • Program verification • Software engineering • Software Verification • string analysis • String constraints • symbolic and algebraic manipulation • Symbolic verification • systems and data security • vulnerability detection |
ISBN-10 | 3-319-68668-2 / 3319686682 |
ISBN-13 | 978-3-319-68668-4 / 9783319686684 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich