Software Security LabModule description #41240 / Version 3
- 6 CP
- Portfolio examination
- Graded
- Summer semester
- English
| Module / Version | #41240 / #3 |
|---|---|
| Validity | Since Summer semester 2026 |
| Available language(s) | English, German |
| Credit points | 6 |
| Person responsible for the module | Seifert, Jean-Pierre |
| Grading | Graded |
| Exam format | Portfolio examination |
| Language(s) of instruction | English |
Affiliation
| Faculty | Fakultät IV |
|---|---|
| Institute | Institut für Softwaretechnik und Theoretische Informatik |
| Academic chair | 34355100 FG S-Professur Security in Telecommunications (SecT) |
Contact
| Office | E 5 |
|---|---|
| Contact person | Beier, Julian |
| E-mail address | lehre@sect.tu-berlin.de |
| Website | https://tu.berlin/sect |
Learning outcomes
1. How to analyse binary programs.
2. Understanding of vulnerabilities in memory-unsafe languages
3. Practical experience in exploiting these vulnerabilities
4. Understanding of defense mechanisms against the attacks outlined in the lecture
5. A profound evaluation of security in software
2. Understanding of vulnerabilities in memory-unsafe languages
3. Practical experience in exploiting these vulnerabilities
4. Understanding of defense mechanisms against the attacks outlined in the lecture
5. A profound evaluation of security in software
Content
The software security lab offers students the opportunity to learn how to analyze the security of Linux binary applications. It covers attacks and the mechanisms employed to mitigate these attacks. This lab will teach older attacks as an introduction and then move to more modern attacks and defenses. This course focuses on practically relevant details and hands-on experience instead of providing thorough theoretical background information.
Students will have to solve multiple challenges, where a program has to be analyzed and then compromised.
Covered topics include:
* x86 assembly
* Reverse Engineering
* Standard defense mechanisms against Buffer Overflows
* Return-/Jump oriented programming, SigROP
* Formatstring attacks
* RelRO
* File Structure exploitation
* Heap Structure and allocator exploitation
* Use-after-free
* Pointer Mangling
* Attacks on the libc allocator bins
* TCache attacks
Students will have to solve multiple challenges, where a program has to be analyzed and then compromised.
Covered topics include:
* x86 assembly
* Reverse Engineering
* Standard defense mechanisms against Buffer Overflows
* Return-/Jump oriented programming, SigROP
* Formatstring attacks
* RelRO
* File Structure exploitation
* Heap Structure and allocator exploitation
* Use-after-free
* Pointer Mangling
* Attacks on the libc allocator bins
* TCache attacks
Module components
Compulsory area
The following courses are mandatory for this module:
| Courses | Type | Number | Frequency | Language | Hours per week | Course catalog |
|---|---|---|---|---|---|---|
| Software Security | Internship | Summer semester | [en] | 4 | ISIS |
Workload and credit points
Software Security (Internship)
| Workload description | Multiplier | Hours | Total |
|---|---|---|---|
| Homework | 14 | 10 h | 140 h |
| Presence hours | 10 | 2 h | 20 h |
| Pre-/Post Processing | 10 | 2 h | 20 h |
| 180 h | |||
The workload of the module adds up to 180 hours. The module therefore comprises 6 credit points.
Description of teaching and learning methods
The module consists of a practical course.
Requirements for participation and examination
Desirable prerequisites for participation in the courses:
Desirable prerequisites for participation in the courses:
Prerequisites:
• familiarity with Unix/Linux operating system primitives (e.g. using a command line)
Recommended additional skills:
* Basic Linux knowledge
* C programming knowledge
* SysProg/Rorg
In order to complete the assignments, each participant needs at least one computer with administrator privileges (i.e. being able to log into university computers is insufficient) preferably running Linux. It is possible to complete the tasks while using Windows or MacOS as well, but the teaching staff cannot provide guidance on those operating systems.
Prerequisites:
• familiarity with Unix/Linux operating system primitives (e.g. using a command line)
Recommended additional skills:
* Basic Linux knowledge
* C programming knowledge
* SysProg/Rorg
In order to complete the assignments, each participant needs at least one computer with administrator privileges (i.e. being able to log into university computers is insufficient) preferably running Linux. It is possible to complete the tasks while using Windows or MacOS as well, but the teaching staff cannot provide guidance on those operating systems.
Mandatory requirements for the module examination registration:
This module has no examination requirements.
Completion of the module
| Grading | Graded |
|---|---|
| Exam format | Portfolio examination |
| Type of portfolio examination | 100 points per element |
| Language | English, German |
Test elements
| Name | Points/Weight | Category | Duration/Extent |
|---|---|---|---|
| (Deliverable assessment) Reverse Engineering | 1 | practical | 1 week |
| (Deliverable assessment) Exploiting vulnerabilities | 1 | practical | 1 week |
| (Deliverable assessment) ROP Attack | 1 | practical | 1 week |
| (Deliverable assessment) Printf attack | 1 | practical | 1 Woche |
| (Deliverable assessment) File structure attack | 2 | practical | 2 weeks |
| (Deliverable assessment) Unsorted bin attack | 2 | practical | 2 weeks |
| (Deliverable assessment) Fast bin attack | 2 | practical | 2 weeks |
| (Deliverable assessment) TCache attack 1 | 2 | practical | 2 weeks |
| (Deliverable assessment) TCache attack 2 | 2 | practical | 2 weeks |
Exam description
Practical Course: 9 practical assignments
All homework submissions are graded uniformly.
All homework submissions are graded uniformly.
Duration of the module
The following number of semesters is estimated for taking and completing the module: 1 semester(s).
This module can be started in the following semesters: Summer semester.
Maximum number of participants
The maximum capacity of participants is 50.
Registration procedures
In case there are to many applicants, there will be a random selection according to the AllgStuPO. Details will be given via ISIS and the regular meetings.
Recommended reading, lecture notes
Lecture notes
unavailable
Electronic lecture notes
unavailable
Recommended literature
No recommended literature given
Assigned programs
This module version is used in the following programs:
| Program / program version | Semester(s) | Curriculum component |
|---|---|---|
| Computer Engineering Computer Engineering (M. Sc.) - StuPO 2015 | SS 2026 | Wahlpflicht Studiengebiet B › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures |
| WS 2026/27 | Wahlpflichtbereich › Studiengebiet A › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures | |
| Computer Science (Informatik) Computer Science (Informatik) (M. Sc.) - StuPO 2015 | SS 2026 | Studiengebiete › Verteilte Systeme und Netze / Distributed Systems and Networks |
| WS 2026/27 | Wahlpflichtbereich › Studiengebiet › Verteilte Systeme und Netze / Distributed Systems and Networks | |
| Electrical Engineering Electrical Engineering (M. Sc.) - StuPO 2015 | SS 2026 | Wahlpflicht Studiengebiete Fak. IV › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures |
| WS 2026/27 | Wahlpflichtbereich › Studiengebiete Fak. IV › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures | |
| Industrial Engineering and Management Industrial Engineering and Management (M. Sc.) - StuPO 2026 | WS 2026/27 | Engineering Sciences / Specialization › AI Engineering › Data and Software Engineering |
| Information Systems Management (Wirtschaftsinformatik) Information Systems Management (Wirtschaftsinformatik) (M. Sc.) - StuPO 2017 | SS 2026 | Wahlpflichtbereich › Fachstudium Informatik › Data and Software Engineering |
| WS 2026/27 | Wahlpflichtbereich › Fachstudium Informatik › Data and Software Engineering |
Miscellaneous
Not specified