Practicalities Online Teaching Prerequisites Booklet Examination Expectations Integrity Contact Textbooks Outline

This document is maintained by the Privacy and Security in Information Systems Group (PSI) at University of Bamberg. For printing, use the PDF version of this document.

Introduction to Security and Privacy (PSI-IntroSP-B)

Syllabus for Winter Semester 2020/21

Dominik Herrman (v1.0 / 20201024)

This course introduces you to fundamental concepts in the fields of information security and the protection of privacy. It provides a broad overview of the most relevant topics from a technical perspective. The focus lies on practical issues that have to be considered when professional and personal information systems are built and operated.

This syllabus is an attempt to provide all relevant pieces of information about PSI-IntroSP-B in one place. The syllabus helps managing expectations, and it gives reasons for the course design. Please read it carefully and inform us if anything is unclear or missing.

1. Practicalities

This course is worth 6 ECTS, consists of a lecture and tutorials (2 + 2 hours per week), and is taught in English. All materials will be made available via its corresponding VC course. You do not need an enrolment key during the first two weeks, afterwards, the enrolment key will be set to ASdwAjr1.

We will record all lectures. Recordings will be available via VC and Panopto (access limited to the course, i. e., a closed group). In the Winter Semester 2020/2021, we will also record all tutorials. You cannot collect bonus points (“semesterbegleitende Studienleistung”) this semester.

We will publish all lecture slides in VC. Most slides show figures and visualizations that support the lecture. We like to keep the amount of text on the slides small to avoid fatigue (“death by PowerPoint”). We provide readings and – for the first time – a lecture script for most lectures.

For the tutorials, we will publish in-presence task sheets in VC during the tutorial. You are expected to work on these during the tutorial on your own, supported by tutors. We will release the in-presence task sheets right during the tutorial in VC.

In addition to the tasks published during the tutorials, there will be homework tasks for self-study. We expect you to work on these on your own before the tutorials, ideally in learning groups.

To support self-studying, we publish some tasks in the PSI Arena (https://arena.psi.uni-bamberg.de), which is our web-based training tool based on the Insekta platform.

Some of the exercises involve coding and analyzing programs. You can perform these tasks on your machine or the PSI Playground, a Linux server provided by us. Instructions to access the PSI Playground are available in VC. One of the tutors will show how to access the Playground during the first tutorial.

You will need access to a working C compiler to work on the first homework tasks, so please, get set up quickly.

A word of warning.  This module has the reputation of requiring a significant amount of work to pass the exam. Some of the assignments are very challenging. Working on them, however, is insightful, and finding the solution can be quite rewarding. Moreover, the assignments allow you to hone your problem-solving skills.

2. Online Teaching

Lecture and tutorials run synchronously and asynchronously. We produce pre-recorded videos, which are live-streamed via Panopto during the lecture timeslot announced in UnivIS. We offer a live stream because it helps to establish a sense of community.

Recordings will be available for download after the lecture so that everyone has access to the same content.

Captions (subtitles) have been shown to improve understanding, especially if English is not your native tongue. We will, therefore, transcribe all videos to provide captions. If we complete the transcript on time, the live stream will contain open captions, which are rendered into the video and cannot be disabled. The recordings, which are published after the live stream, will have closed captions, i. e., you can enable them if desired. The recordings will also offer a scrollable transcript that allows you to quickly jump to the desired part of the lecture.

2.1 Interaction

We will use Rocket.Chat as well as the Questions and Answers Forum in VC for interactive communication. For contact and support options, see the section Contact and Support.

Rocket.Chat is useful for asking shorter questions, e. g., during the lecture and the tutorials..

The Forum is more suitable for more extended questions, e. g.., when you seek help for a task. In this case, please describe what you have attempted so far, what unexpected outcome you observed, and what you would have expected. Please follow the advice on asking questions in the Teaching Philosophy.

Some of you may prefer to ask questions anonymously. You can use our anonymous user account psi-student to ask questions in the forum. The password and further login instructions are available in VC. Note that this account only works in VC but not in Rocket.Chat.

2.2 Tutorials

We will pre-record tutorial videos and broadcast them in a live stream at one point in time during the week. The videos will be available after the live stream so that you can attend asynchronously if you have a scheduling conflict.

For the live stream, we will select the time slot which suits most of you. Please vote on the preferred time slot for the tutorial live stream in VC until the first lecture.

Tutorial videos consist of explanations of the homework assignments, “now it's your turn” sessions in which you are supposed to work on the in-presence assignments, and explanations of the in-presence assignments. This means, you should set up your environment so that you can work on assignments during the tutorials.

Generally, we will not give you solutions to homework tasks in advance. We will, however, answer clarification questions and give you tips if you are stuck.

2.3 Learning Groups

We highly recommend building learning groups to discuss the material and work on the tasks. Learning groups reduce frustration and loneliness.

To facilitate the formation of learning groups, during the first tutorial, we will host a “meet and greet” session where you can get to know the tutors and introduce yourself to your peers in a video conference.

2.4 Keeping Up

It is paramount that you keep up during the semester. We provide three incentives to help you with that.

Firstly, there is the Booklet, which we will explain in the section Booklet.

Secondly, there will be four multiple-choice quizzes in the PSI Arena. Each quiz is available for a fixed amount of time (e. g., 30 minutes). The Arena assess the correctness of your answers immediately and you can try again if necessary. After the time is up, we will publish the questions and the correct answers in VC. Participation in the quizzes is beneficial as you can train to work on problems under time constraints, and you get an understanding of our expectations.

Thirdly, we ask you to share your work with others. Looking at the solutions of your peers fosters reflection and analysis – and may ultimately improve your understanding. Therefore, we will ask you to share your work – anonymously – within the course by uploading it to VC. Access to your peers’ solutions is only granted to those who have uploaded their solution themselves. We hope that this setup incentivizes participation and ultimately helps to establish a community of learners. After all, all of you are in this together.

3. Prerequisites

Security and privacy are often only meaningful in the context of a concrete application. As PSI-IntroSP-B strives to introduce you to the breadth of the field, you will be exposed to various application areas and technologies, some of which may be unfamiliar.

We invite you to complete our self-assessment quiz in the PSI Arena to check your pre-existing knowledge.

We recommend taking this course only once you have passed PSI-EiRBS-B or other courses on computer architectures and operating systems. While having completed lectures on computer networks, web technologies, and software engineering, may flatten the learning curve, we will only depend on specific basics of these areas, which you can also acquire on the fly.

We assume that you are familiar with the basics of the Linux command line.

You should be familiar with fundamentals of computer architecture (binary representation of strings and numbers in computers, bitwise operators such as XOR, operation of a CPU, basics of assembly language), and operating systems (memory layout and process management).

Some parts of the course assume that you are familiar with practical aspects of computer networks (basic IP routing and addressing, TCP/IP connection establishment), common web technologies (HTTP, HTML, JavaScript, PHP), and relational database systems (SQL).

Finally, you should have working knowledge in at least one programming language (e. g., Python, C, or Java) so that you can write small tools that automate some tasks, such as decrypting some ciphertext.

For selected areas, we offer self-study material covering some of the specifically required preliminaries, for instance, memory layout on the stack, computer networks, and web technologies. Please let us know whether these offers are helpful and whether essential preliminaries are missing.

4. Booklet

One of the most effective learning techniques is to write notes and refine them during the semester. For more techniques, see the Teaching Philosophy. We observe that many students cannot motivate themselves to write notes on a regular basis.

As an incentive for extensive note-taking, we implement the personal booklet technique in this course. The booklet consists of up to 15 pages of size A5. Every week you can submit or upload one A5 page by a certain deadline. You can fill this page with any content you deem useful for the exam (subject to the conditions described in section Requirements). We will assemble your pages and print them in color to create a booklet. We will give you your personal printed booklet together with the exam tasks. You will have to hand in your booklet together with the exam again.

eating pages for your booklet requires you to think critically. What is the best way to compress the material and write it down clearly and concisely? The booklet encourages this active learning process. If you work in a learning group, it is probably most beneficial if each member of your group prepares a draft of the page, and you discuss the drafts in your group before all group members assemble their pages.

4.1 Requirements

All pages must be in your handwriting, either on paper or by using a tablet. Copying by hand helps your brain remember what is in the booklet – even if you copy blindly from sources like Wikipedia. Ideally, you will know precisely what is and what is not in the booklet so that looking up content during the exam is fast

Screenshots from slides, the lecture script, or the tutorial recordings are not acceptable – unless they are drawn by yourself. A non-handwritten headline inserted by some note-taking apps (showing the current date, etc.) is permissible.

Arranging and resizing several handwritten pieces on a page or resizing them is permissible. The decisive factor is that the content is in your handwriting.

You do not have to include citations on the pages, i. e., it is allowed to copy lecture slides, text from the script, tutorial task answers, content from Wikipedia, etc. without mentioning the source. It is irrelevant whether booklets of different students contain the same images – as long as they are in the respective students' handwriting.

Developing booklet pages in learning groups is allowed – as long as each booklet page has been entirely handwritten by the respective student.

This rather strict set of regulations may seem pedantic, but it is necessary to maintain equal opportunities.

4.2 Page Submission

The submission of booklet pages is handled via our booklet web application at https://booklet.psi.uni-bamberg.de. The booklet application requires you to authenticate via single sign-on. During the first sign-on, the application may ask for your student number. Please enter your student number correctly.

There are two ways to hand in your booklet pages: uploading a scan or submitting on paper. For the latter, you have to use the paper template provided in the booklet tool for the respective page, write your content on it and drop it in the mailbox of the PSI Chair in the foyer of the building WE5. You will find further instructions on the template. We will scan your page at 300 dpi in color.

In the following, we provide some tips for those who intend to upload a scan.

First of all, note that we will print your pages in A5 format on a laser printer. If you write very small, you must take special care to upload a sharp image with high contrast. Check that your submissions are not too pale, cut off at the edges, or fuzzy. If you take photos of your pages, ensure sufficient and – more importantly – even illumination and use a sufficiently high resolution. Consider using a dedicated app that helps with digitizing paper documents.

What is a sufficiently high resolution? Printouts are easy to read when they have at least 300 dpi. Thus, the short side of your page should have at least 1771 pixels, the long side at least 2480 pixels.

You can use the preview function of the booklet tool to adjust the cropping and improve the contrast. To get a feeling of the readability, change the scaling on the computer screen so that the displayed size corresponds to an A5 sheet placed on top of it. If you can read everything at this scale, you should be fine.

5. Examination

There will be a written exam of 90 minutes at the end of the winter semester. The exam will most likely require your on-site presence. The next exam will take place at the end of the summer semester. The exam questions will be in English but you can answer in English or in German.

5.1 Relevant Material

Exam tasks may focus on content from the lectures, the lecture script, the tutorials, the in-presence assignments, the homework assignments, and the mandatory readings.

Please have a look at the previous exams in VC to become familiar with the style of the exam tasks. You will notice that most questions do not ask you to reproduce facts but apply your knowledge or analyze a problem.

5.2 Authorized Aids

We will give you your booklet together with the exam tasks. Only the booklets distributed by us are authorized, i. e. you are not allowed to bring any further notes to the exam.

Booklets that have not been entirely handwritten by yourself are no authorized aids. It is your responsibility to check whether your booklet meets this criterion. If you notice that one of your pages is not compliant after the submission deadline of the respective page has passed, you can delete it from your booklet until two weeks before the date of the winter semester exam. Replacing the content of deleted pages is not poossible.

Furthermore, using a non-programmable calculator in the exam is permitted. Pocket calculators are considered programmable, where you can store data sets or programs, which remain available after switching off and on again. The Casio FX-5800P, for instance, is not authorized, while the Casio FX-991DE is an authorized aid.

If we discover during or after the examination that unauthorized aids have been used, we must proceed in accordance with §7 (4) APO, i. e., you will fail the exam. In severe cases and cases of repeated misconduct, additional measures may be imposed by the examination board.

6. Expectations

We love teaching, and we care for you. Please find more information on my expectations in the Teaching Philosophy in VC On occasion, however, we have to make unpopular decisions to make you (more) successful. For me, it is “more important to be a good professor than your favorite professor.”

We will not focus on teaching you facts. Instead, we want to teach you how to think. In some parts of the course you will have to learn concepts by yourself.

It is your responsibility to

We recommend attending the lectures “live” instead of postponing watching the recordings. Also, take notes in hand-writing, post-process your notes, and build learning groups in which everyone works on all tasks instead of distributing the load.

7. Academic Integrity

We are investing much time to offer you a high-quality academic education. In response, we expect you to act with integrity, namely by behaving per the commonly shared values of honesty, trust, fairness, respect, and responsibility. Parts of this section are inspired by the Academic Integrity Tutorial of University of Waterloo (CC BY-NC 4.0).

Cheating on the exam and when preparing your booklet

Any action or attempted action that breaches one or more of the fundamental values associated with academic integrity is considered academic misconduct.

Acts of academic misconduct can interfere with your intellectual development as they obstruct the opportunity to meet a university education's challenges. Moreover, such actions can potentially undermine our students' and faculty's reputation and credibility, which degrades the value of a degree our university. Thus, we cannot tolerate academic misconduct.

Academic misconduct is often a result of overwhelming pressure. Please seek help instead of giving up your integrity. The university offers psychological counseling services to all students. We are also there for you if you struggle, but you have to get in touch with us for that.

8. Contact and Support

Your instructors are Prof. Dr. Dominik Herrmann, Henning Pridöhl, M.Sc., and several tutors.

Please ask questions when you are stuck or when you do not understand something. You can ask questions during the lectures, during the tutorials, or asynchronously.

We prefer to get questions about the content in Rocket.Chat or in the Q&A forum in VC. Please also post answers if you can answer a question of your peers.

Asking questions in German is fine if you are uncomfortable with English. Alternatively, use available tools such as deepl.com for translation.

The tutors for this course are:

Do not hesitate to approach one of the tutors, for instance, by directly messaging them in Rocket.Chat. They will chat with you or set up an audio or video call to help you with your issue. We consider this approach superior to discussing particular problems synchronously during the tutorials.

If you have a question about organizational or examination matters, which you do not want to post publicly, you can reach me via e-mail at dominik.herrmann@uni-bamberg.de.

9. Textbooks and Readings

Two textbooks that cover most aspects of this lecture on a high level:

We can also recommend the following three books:

We will publish links to more focused readings in VC. Some of these readings are mandatory readings.

10. Outline of the Course

Finally, let's preview the content of the course. We will cover the following areas in the order given below:

Security Terminology
threats, risk, protection goals, attacks, countermeasures;
Software Security
issues in C and Assembly programs, e. g., buffer overflows and memory safety defenses;
User Accounts
Authentication and Authorization Fundamentals;
Cryptography
e. g., historic ciphers, symmetric and asymmetric cryptosystems, Diffie-Hellman key exchange, the TLS protocol;
Network Security
e. g., spoofing, denial of service, firewalls, intrusion detection systems;
Web Security
e. g., attacks and defenses related to the OWASP Top 10 including SQL injections and Cross Site Scripting; and
Privacy and Data Protection Techniques
re-identification risks, anonymization networks, k-anonymity, and the idea of differential privacy.

Learning Outcomes.  Successful students will know the mathematical background behind basic cryptographic primitives and be able to explain fundamental concepts of information security and privacy, including classical attacks and defenses. They will be able to apply their knowledge when implementing simple attack programs as well as building and operating defensive techniques.