DD2395 Computer Security 6.0 credits


Course in computer science that gives an overview of the field of computer security. The course will cover threats as well as counter measures.

The importance and public awareness of computer security is ever increasing. In the past few years, high profile threats such as Internet worms have been making headline news, and security is starting to become a selling point for products.

There are many areas where computer security is a business-critical issue, such as on-line banking, gaming, and web services.

  • Educational level

    Second cycle
  • Academic level (A-D)

  • Subject area

    Computer Science and Engineering
  • Grade scale

    A, B, C, D, E, FX, F

Course offerings

Autumn 17 SAP for single courses students - To application

  • Periods

    Autumn 17 P2 (6.0 credits)

  • Application code


  • Start date


  • End date

    2018 week: 1

  • Language of instruction


  • Campus

    KTH Campus

  • Number of lectures

    16 (preliminary)

  • Number of exercises

  • Tutoring time


  • Form of study


  • Number of places

    No limitation

  • Schedule

    Schedule (new window)

  • Course responsible

    Sonja Buchegger <buc@kth.se>

  • Target group

    Single course students.

  • Application

    Apply for this course at antagning.se through this application link.
    Please note that you need to log in at antagning.se to finalize your application.

Autumn 17 dasak17 for programme students

Autumn 17 dasaki17 for programme students

Autumn 16 dasak16-2 for programme students

Intended learning outcomes

The students should be able to:

  • recognize threats to confidentiality, integrity, and availability of systems,
  • explain the basic computer security terminology and concepts and use them correctly,
  • find and apply documentation of security-related problems and tools,
  • analyze small pieces of code or system descriptions in terms of their security,
  • identify vulnerabilities of such code or descriptions and predict their corresponding threats,
  • select counter-measures to identified threats and argue their effectiveness,
  • compare counter-measures and evaluate their side-effects,
  • present and explain their reasoning to others

in order to be able to:

  • develop software or computer systems with security in mind,
  • go on to more specialized topics, such as network security.

Course main content

  • introduction to security
  • introduction to cryptography
  • authentication, access control, security models
  • intrusion detection, firewalls
  • malware: virus/worm/trojans
  • web attacks
  • buffer overflows 
  • secure programming
  • human factors, audits, social engineering.


Single course students: 90 university credits including 45 university credits in Mathematics and/or Information Technology and the courses SF1604 Linear algebra, SF1625 Calculus in one variable, SF1626 Calculus in several variables, SF1901 Probability theory and statistics, DD1337 Programming and DD1338 Algorithms and Data Structures or equivalent.

Recommended prerequisites

Internet protocols and principles, basics of command-line interface and operating systems, and general programming skills are prerequisites. Web programming (html, javascript, sql) knowledge is needed for lab exercises.


Course literature is not yet decided but will be announced at course web page at least 4 weeks before course start.


  • LAB1 - Laboratory Work, 3.0, grade scale: P, F
  • TEN1 - Examination, 3.0, grade scale: A, B, C, D, E, FX, F

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see: http://www.kth.se/csc/student/hederskodex/1.17237?l=en_UK.

Offered by

CSC/Theoretical Computer Science


Sonja Buchegger, e-post: buc@kth.se


Sonja Buchegger <buc@kth.se>

Add-on studies

DD2449 Foundations of Cryptography, DD2460 Software Safety and Security, EP2500 and EP2520 Networked Systems Security


Course syllabus valid from: Autumn 2015.
Examination information valid from: Autumn 2007.