Automated static code analysis: A tool for early vulnerability detection
Blekinge Institute of Technology, School of Engineering, Department of Systems and Software Engineering2009 (English)Licentiate thesis, comprehensive summary (Other academic)
Software vulnerabilities are added into programs during its development. Architectural flaws are introduced during planning and design, while implementation faults are created during coding. Penetration testing is often used to detect these vulnerabilities. This approach is expensive because it is performed late in development and any correction would increase lead-time. An alternative would be to detect and correct vulnerabilities in the phase of development where they are the least expensive to correct and detect. Source code audits have often been suggested and used to detect implementations vulnerabilities. However, manual audits are time consuming and require extended expertise to be efficient. A static code analysis tool could achieve the same results as a manual audit but at fraction of the time. Through a set of cases studies and experiments at Ericsson AB, this thesis investigates the technical capabilities and limitations of using a static analysis tool as an early vulnerability detector. The investigation is extended to studying the human factor by examining how the developers interact and use the static analysis tool. The contributions of this thesis include the identification of the tools capabilities so that further security improvements can focus on other types of vulnerabilities. By using static analysis early in development possible cost saving measures are identified. Additionally, the thesis presents the limitations of static code analysis. The most important limitation being the incorrect warnings that are reported by static analysis tools. In addition, a development process overhead was deemed necessary to successfully use static analysis in an industry setting.
Place, publisher, year, edition, pages
Karlskrona: Blekinge Institute of Technology , 2009.
Blekinge Institute of Technology Licentiate Dissertation Series, ISSN 1650-2140 ; 4
Software Engineering Computer Science
IdentifiersURN: urn:nbn:se:bth-00429Local ID: oai:bth.se:forskinfoE2E0D083F6A2D6A2C125757700303147ISBN: 978-91-7295-161-7 OAI: oai:DiVA.org:bth-00429DiVA: diva2:835934