Secure and Dependable Systems

About

  • Course: Secure and Dependable Systems (CO-566)
  • Semester: Spring 2022
  • Instructor: Jürgen Schönwälder
  • Office Hours: Monday, 11:15-12:30, R.1-87
  • TA: Hernández Salamanca, Mario Alberto
  • Class: Tuesday, 15:45-17:00, R.1-53 Lecture Hall
  • Class: Thursday, 15:45-17:00, R.1-53 Lecture Hall
  • Class: Friday, 15:45-17:00, R.2-52 Lecture Hall
  • 1st Module Exam: Monday, 2022-05-30, 09:00-11:00, R.1-53 Lecture Hall
  • 2nd Module Exam: Thursday, 2022-08-25, 14:00-16:00, R.1-53 Lecture Hall

Content and Educational Aims

This module introduces students to the fundamentals of computer security and techniques used to build and analyze dependable systems. This is an important topic given that computer systems are increasingly embedded in everyday objects (such as light bulbs) and taking over important control functions (such as driving cars). Furthermore, computer systems control complex communication systems that form critical infrastructure of the modern globalized world. Proper protection of information requires an applied understanding of cryptography and how cryptographic primitives are used to secure data and information exchanges. The aim of this module is to make students aware of what types of security vulnerabilities may arise in computing systems and how to prevent, identify, and fix them.

Intended Learning Outcomes

By the end of this module, students will be able to

  • recall dependability terminology and concepts;
  • explain control flow attacks and injection attacks and defense mechanisms;
  • describe network data plane and control plane attacks and defense mechanisms;
  • understand symmetric and asymmetric cryptographic algorithms;
  • explain how digital signatures and public key infrastructures work;
  • analyze key exchange protocols for weaknesses;
  • describe secure network protocols (e.g., PGP, TLS, and SSH);
  • recall anonymity terminology and concepts;
  • discuss information hiding mechanisms (e.g., steganography, and watermarking);
  • illustrate anonymization techniques (mixes, onion routing);

Books

  • Bruce Schneier: Applied Cryptography, 20th Anniversary Edition, Wiley, 2015
  • Wm.Arthur Conklin, Gregory White: Principles of Computer Security, 5th Edition, McGraw-Hill, 2018
  • Simon Singh: The Code Book: Science of Secrecy from Ancient Egypt to Quantum Cryptography, Anchor Books, 2000

Schedule

Tue 15:45 Thu 15:45 Fri 15:45 Topics
2022-02-01 2022-02-03 Recent Computing Disasters and Dependability Concepts
2022-02-08 2022-02-10 Software Engineering Aspects, Software Verification
2022-02-15 2022-02-17 Software Testing and Software Security by Design
2022-02-22 2022-02-24 Software Vulnerabilities, Control Flow Attacks, Code Injection Attacks
2022-03-01 2022-03-03 Software and Network Vulnerabilities, Denial of Service
2022-03-08 2022-03-10 Network Vulnerabilities, Data and Control Plane Vulnerabilities
2022-03-15 2022-03-17 Cryptography, Block Ciphers, Symmetric Encryption Algorithms
2022-03-22 2022-03-24 Asymmetric Encryption Algorithms, Cryptographic Hash Functions
2022-03-29 2022-03-31 Digital Signatures, Certificates, Key Exchange Schemes
2022-04-05 2022-04-07 Pretty Good Privacy, Secure Shell
2022-04-12 2022-04-14 [Spring Break]
2022-04-19 2022-04-21 2022-04-22 Transport Layer Security
2022-04-26 2022-04-28 Steganography, Covert Channels, Anonymity [Moved to Fridays]
2022-05-03 2022-05-05 2022-05-06 Mix Networks and Onion Routing, Authentication, Authorization
2022-05-10 2022-05-12 Auditing, Isolation, Trusted Computing, Exam Preparation

Assignments

Date/Due Name Topics
2022-02-17 Sheet 01 system reliability calculation
2022-02-24 Sheet 02 unit test coverage, clang fuzzying
2022-03-03 Sheet 03 x86_64 assembly and stack frames
2022-03-10 Sheet 04 compiler hardening, SQL injection, CVSS scores
2022-03-17 Sheet 05 network exploration and reconnaissance (virtual machine)
2022-03-24 Sheet 06 feistel network and substitution/permutation network (p06-scrypt.zip)
2022-03-31 Sheet 07 block encryption modes of operation
2022-04-07 Sheet 08 RSA decryption, DH key exchange, SHA proof of work
2022-04-21 Sheet 09 TLS connection establishment
2022-04-28 Sheet 10 Password guessing, access control lists and capabilities

Rules

The final grade is determined by a final exam (100%). There will be marked homework assignments but the homework assignments do not impact the final grade.

Electronic submission is the preferred way to hand in homework solutions. Please submit documents (plain ASCII/UTF-8 text or PDF, no Word) and your source code (packed into a tar or zip archive after removing all binaries and temporary files) via the online submission system. If you have problems, please contact one of the TAs.

For any questions stated on assignment sheets, quiz sheets, exam sheets or during makeups, we by default expect a reasoning for the answer given, unless explicitly stated otherwise.

Any programs, which have to be written, will be evaluated based on the following criteria:

  • correctness including proper handling of error conditions
  • proper use of programming language constructs
  • clarity of the program organization and design
  • readability of the source code and any output produced

Source code must be accompanied by a README file providing an overview of the source files and giving instructions how to build the programs. A suitable Makefile is required if the build process involves more than a single source file.