Embedded Systems Security LabModule description #40441 / Version 9
- 9 CP
- Portfolio examination
- Graded
- Winter and summer semester
- English
| Module / Version | #40441 / #9 |
|---|---|
| Validity | Since Summer semester 2026 |
| Available language(s) | English, German |
| Credit points | 9 |
| 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 | Jacob, Hans Niklas |
| E-mail address | lehre@sect.tu-berlin.de |
| Website | https://tu.berlin/sect |
Learning outcomes
This module’s qualification aims are:
1. Gaining practical experience in identifying, exploiting, and mitigating vulnerabilities in (embedded) systems code.
2. Deepening/Gaining knowledge in the fields of operating systems, RISC-V, microarchitectures, and cryptography.
3. Improving the understanding and programming skills in C, Python, and RISC-V assembly.
1. Gaining practical experience in identifying, exploiting, and mitigating vulnerabilities in (embedded) systems code.
2. Deepening/Gaining knowledge in the fields of operating systems, RISC-V, microarchitectures, and cryptography.
3. Improving the understanding and programming skills in C, Python, and RISC-V assembly.
Content
The security lab offers students the opportunity to learn how to analyze the system security of embedded systems.
It covers topics from systems and software security, refreshes many operating systems concepts, requires students to write Python, C, and RISC-V assembly, and delves into (microarchitectural) side channels and cryptography. The course focuses on practically relevant details and hands-on experience instead of providing thorough theoretical background information.
The lab is organized as a practical course (PR), and students will work individually with a RISC-V development board (HiFive1 Rev B).
Each week, the Students will solve a task aiming at exploiting the system further until, in the end, they have written an exploit chain that gives them complete control of the board.
Concepts and Techniques covered by the course:
• RISC-V introduction (Assembly, ISA, ABI)
• Basic Static Analysis of Binary Files (e.g. with GNU binutils)
• Reverse Engineering (using Ghidra SRE)
• Obfuscation and Deobfuscation
• Buffer Overflows (exploitation and mitigation Techniques)
• Program Sections and Linking (.text, .(ro)data, .bss)
• Debugging with GDB
• Heap Corruption Vulnerabilities
• Side Channel Attacks
• Embedded Systems Programming (Memory Mapped IO, Registers, Interrupts)
• Operating Systems Concepts (Program Isolation, Context Switches, Scheduling, System Calls)
• Elliptic Curve Cryptography Basics
• Complex Logic Errors
It covers topics from systems and software security, refreshes many operating systems concepts, requires students to write Python, C, and RISC-V assembly, and delves into (microarchitectural) side channels and cryptography. The course focuses on practically relevant details and hands-on experience instead of providing thorough theoretical background information.
The lab is organized as a practical course (PR), and students will work individually with a RISC-V development board (HiFive1 Rev B).
Each week, the Students will solve a task aiming at exploiting the system further until, in the end, they have written an exploit chain that gives them complete control of the board.
Concepts and Techniques covered by the course:
• RISC-V introduction (Assembly, ISA, ABI)
• Basic Static Analysis of Binary Files (e.g. with GNU binutils)
• Reverse Engineering (using Ghidra SRE)
• Obfuscation and Deobfuscation
• Buffer Overflows (exploitation and mitigation Techniques)
• Program Sections and Linking (.text, .(ro)data, .bss)
• Debugging with GDB
• Heap Corruption Vulnerabilities
• Side Channel Attacks
• Embedded Systems Programming (Memory Mapped IO, Registers, Interrupts)
• Operating Systems Concepts (Program Isolation, Context Switches, Scheduling, System Calls)
• Elliptic Curve Cryptography Basics
• Complex Logic Errors
Module components
Compulsory area
The following courses are mandatory for this module:
| Courses | Type | Number | Frequency | Language | Hours per week | Course catalog |
|---|---|---|---|---|---|---|
| Embedded Systems Security Lab | Internship | 0434 L 972 | Winter and summer semester | [de] | 4 | ISIS |
Workload and credit points
Embedded Systems Security Lab (Internship)
| Workload description | Multiplier | Hours | Total |
|---|---|---|---|
| Presence hours | 15 | 4 h | 60 h |
| Assignments | 6 | 35 h | 210 h |
| 270 h | |||
The workload of the module adds up to 270 hours. The module therefore comprises 9 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:
Prerequisites:
• Basic IT Security Knowledge (Buffer Overflows, Memory Safety Vulnerabilities, Confidentiality/Integrity/Availability)
• Moderate Programming Skills: C, Python, and at least one Assembly language.
• Basic Operating Systems concepts: Process/OS isolation, Inter-Process-Isolation, Context Switches, Scheduling
• Basic Understanding of Asymmetric Cryptography (Public/Private Key Pairs, Signatures & Certificates)
Recommended additional skills:
• familiarity with Unix/Linux operating system primitives (e.g. using a command line)
• low-level programming concepts (pointers, registers, stack vs. heap, ...)
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, but the teaching staff cannot provide guidance on those operating systems.
• Basic IT Security Knowledge (Buffer Overflows, Memory Safety Vulnerabilities, Confidentiality/Integrity/Availability)
• Moderate Programming Skills: C, Python, and at least one Assembly language.
• Basic Operating Systems concepts: Process/OS isolation, Inter-Process-Isolation, Context Switches, Scheduling
• Basic Understanding of Asymmetric Cryptography (Public/Private Key Pairs, Signatures & Certificates)
Recommended additional skills:
• familiarity with Unix/Linux operating system primitives (e.g. using a command line)
• low-level programming concepts (pointers, registers, stack vs. heap, ...)
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, 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 |
Test elements
| Name | Points/Weight | Category | Duration/Extent |
|---|---|---|---|
| (deliverable) Static Analysis | 1 | practical | 2 weeks |
| (deliverable) Buffer Overflows | 1 | practical | 2 weeks |
| (deliverable) Heap Corruption | 1 | practical | 2 weeks |
| (deliverable) Basic Side Channel | 1 | practical | 2 weeks |
| (deliverable) Microarchitectural Side Channel | 1 | practical | 2 weeks |
| (deliverable) Exploiting a Kernel Vulnerability | 1 | practical | 2 weeks |
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: Winter and summer semester.
Maximum number of participants
The maximum capacity of participants is 24.
Registration procedures
Registration and admission according to §48 AllgStuPO are handled via the ISIS course.
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 (B. Sc.) - StuPO 2015 | SS 2026 | Wahlpflichtbereich › Eingebettete Systeme |
| WS 2026/27 | Wahlpflichtbereich › Kataloge › Informatik | |
| 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 Computer Science (B. Sc.) - StuPO 2015 | SS 2026 | Wahlpflichtbereich › Wahlpflichtbereich Katalog Informatik |
| WS 2026/27 | Wahlpflichtbereich › Katalog Informatik | |
| Computer Science Computer Science (B. Sc.) - StuPO 2025 | WS 2026/27 | Wahlpflichtbereich › Studiengebiete › Rechensysteme › Weitere Module |
| Computer Science (Informatik) Computer Science (Informatik) (M. Sc.) - StuPO 2015 | SS 2026 | Studiengebiete › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures |
| WS 2026/27 | Wahlpflichtbereich › Studiengebiet › Eingebettete Systeme und Rechnerarchitekturen / Embedded Systems and Computer Architectures | |
| 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 | |
| ICT Innovation ICT Innovation (M. Sc.) - StuPO 2020 | SS 2026 | Studienrichtungen › Major: Embedded Systems › Exit year: Embedded Systems › Exit year Electives: Embedded Systems |
| Industrial Engineering and Management Industrial Engineering and Management (M. Sc.) - StuPO 2015 | SS 2026 | Ingenieurwissenschaftliche Studienrichtungen/Engineering Majors › Informations- und Kommunikationssysteme/Information and Communication Systems (IKS) › Informations- und Kommunikationssysteme/Information and Communication Systems (Wahlpflicht/Compulsory-Elective) › Embedded Systems and Computer Architectures |
| WS 2026/27 | Ingenieurwissenschaftliche Studienrichtungen/Engineering Majors › Informations- und Kommunikationssysteme/Information and Communication Systems (IKS) › Informations- und Kommunikationssysteme/Information and Communication Systems (Wahlpflicht/Compulsory-Elective) › Embedded Systems and Computer Architectures |
Miscellaneous
Not specified