Contributions to Specification, Implementation, and Execution of Secure Software
2013 (English)Doctoral thesis, comprehensive summary (Other academic)
This thesis contributes to three research areas in software security, namely security requirements and intrusion prevention via static analysis and runtime detection.
We have investigated current practice in security requirements by doing a field study of eleven requirement specifications on IT systems. The conclusion is that security requirements are poorly specified due to three things: inconsistency in the selection of requirements, inconsistency in level of detail, and almost no requirements on standard security solutions. A follow-up interview study addressed the reasons for the inconsistencies and the impact of poor security requirements. It shows that the projects had relied heavily on in-house security competence and that mature producers of software compensate for poor requirements in general but not in the case of security and privacy requirements specific to the customer domain.
Further, we have investigated the effectiveness of five publicly available static analysis tools for security. The test results show high rates of false positives for the tools building on lexical analysis and low rates of true positives for the tools building on syntactical and semantical analysis. As a first step toward a more effective and generic solution we propose decorated dependence graphs as a way of modeling and pattern matching security properties of code. The models can be used to characterize both good and bad programming practice as well as visually explain code properties to programmers. We have implemented a prototype tool that demonstrates how such models can be used to detect integer input validation flaws.
Finally, we investigated the effectiveness of publicly available tools for runtime prevention of buffer overflow attacks. Our initial comparison showed that the best tool as of 2003 was effective against only 50 % of the attacks and there were six attack forms which none of the tools could handle. A follow-up study includes the release of a buffer overflow testbed which covers 850 attack forms. Our evaluation results show that the most popular, publicly available countermeasures cannot prevent all of these buffer overflow attack forms.
Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2013. , 249 p.
Linköping Studies in Science and Technology. Dissertations, ISSN 0345-7524 ; 1503
Engineering and Technology
IdentifiersURN: urn:nbn:se:liu:diva-88330ISBN: 978-91-7519-681-7OAI: oai:DiVA.org:liu-88330DiVA: diva2:611283
2013-04-22, Visionen, hus B, Campus Valla, Linköpings universitet, Linköping, 13:15 (English)
Livshits, Benjamin, Professor
Kamkar, Mariam, Professor
List of papers