Hide menu

TDDC90 Software Security (6 ECTS)


Literature - Mandatory

The literature for this course is a collection of papers. Some papers may be accessible only via the university library's website. All papers listed below and the lecture notes are manadory reading for the exam. There is also a separate list of additional material to give you a deeper understanding of the topics (not required for the exam).

Lecture 1: Introduction

      D. Wheeler. Secure Programmer: Developing Secure Programs

Lectures 2 and 3: Vulnerabilities, exploits and prevention

We are mainly concerned with the principles. Note that some of the required papers may cover attacks on protection mechanisms. You will be expected to understand both the principles of the protection mechanisms and the principles of the attack.

      J. Pincus, B. Baker. Beyond stack smashing: recent advances in exploiting buffer overruns. IEEE Security & Privacy. 2004.
      blexim. Basic Integer Overflows
      D. Wheeler. Secure Programmer: Prevent Race Conditions
      A. I. Sotirov. Automatic Vulnerability Detection Using Static Source Code Analysis. Master's Thesis, University of Alabama, 2005. Read chapters 1-3 only
    S. Alexander. Defeating compiler-level buffer overflow protection. ;login:, June 2005.
      D. Wheeler. Secure Programmer: Validating Input
      D. Wheeler. Secure Programmer: Keep an Eye on Inputs

For the following CWE definitions of vulnerabilities, read and understand the Description, code examples, and Potential Mitigations for the Implementation phase. (Note that “mitigations” is used here with a different, broader meaning than in the lectures.)


Lecture 4: Secure software development and secure design

      G. McGraw. The 7 Touchpoints of Software Security
      G. Sindre, A. Opdahl. Capturing Security Requirements through Misuse Cases
      L. Røstad. An extended misuse case notation: Including vulnerabilities and the insider threat. In Proceedings of the 12th Working Conference on Requirements Engineering: Foundation for Software Quality (REFSQ'06), 2006.
      F. den Braber, I. Hogganvik, M. S. Lund, K. Stølen, F. Vraasen.Model-based security analysis in seven steps - a guided tour to the CORAS method. Springer. BT Technology Journal, pp 101-117, 2007.
      B. Schneier. Attack trees: modeling security threats. Dr.Dobb's Journal, December 1999.
      Microsoft. Simplified Implementation of the Microsoft SDL. November 2010.
      C. Dougherty, K. Sayre, R. C. Seacord, D. Svoboda, K. Tagashi. Secure Design Patterns. Technical Report CMU/SEI-2009-TR-010.

Lecture 5: Software engineering reviews

There is no mandatory reading for this lecture, except for the slides, but we recommend that you read the additional material on code inspections before this lecture.

Lecture 6 and 7: Static analysis

There is no mandatory reading for these lectures, except for the slides.

Lecture 8: Web security

       Password Crackers - Ensuring the security of your password
       Testing for brute force (OWASP-AT-004) (Exluding parts about the HTTP protocol)
       OWASP - Command injection
       Golem Technologies - Shell injection
       OWASP - Cross-Site Request Forgery (CSRF)
       OWASP - Cross-Site Request Forgery - Prevention Cheat Sheet
       WikiPedia - File Inclusion Vulnerability
       OWASP - Unrestricted File Upload
       OWASP - Cross-Site Scripting (XSS)
       OWASP - XSS Prevention Cheat Sheet
       OWASP - SQL Injection

Lecture 9: Accreditation

There is no mandatory material, except the slides, for the guest lecture on common criteria (lecture 9), but we recommend that you look at the additional material for this topic.

Lecture 10: Security testing

Some of the papers in this section describe specific tools. These tools are representative of a class of approaches to static or dynamic analysis. You will be expected to understand the principles and ideas behind the tools, but you are not required to remember details about individual tools.

      P. Oehlert. Violating assumptions with fuzz testing. IEEE Security & Privacy, 2005.
      P. Godefroid, M. Y. Levin, and D. Molnar. SAGE: Whitebox Fuzzing for Security Testing. ACM. Queue 10, 1. 2012.

Page responsible: Nahid Shahmehri
Last updated: 2016-10-31