Abschnitt Name Beschreibung
Verzeichnis Messages broadcasted via Sigarra
Link/URL Curricular Unit (Sigarra)
Link/URL Schedule
Textseite Office hours
Link/URL Lessons' Summaries
Link/URL Exams' dates
Datei Groups of students
About Exams Datei Normal Exam 2023/24
Lectures Datei 0. Presentation
Datei 1. Introduction (& review)
Datei 1.A Intro-annex: CIAA simplified
Datei 2.1 Cryptography Basics
Datei 2.2 Cryptography - general protection techniques
Datei 2.3 Cryptography 2nd level (part 1)
Datei 2.3 Cryptography 2nd level (part 2)
Datei 3. Sofware Security Components
Datei for printing (4 slides per page)
Textseite Lectures from OWASP
Datei 4. Introduction to Blockchain
Datei 5. Software Security
Datei For printing (4 slides/page)
Textseite Some Less Common Software Vulnerabilities
Datei Some Simple Vulnerability Demos
Datei 6. Identity and Authentication Mechanism
Datei For printing (4 slides/page)
Datei 7. Access Control (Authorization) Security Mechanism
Datei For printing (4 slides/page bw)
Datei 8. Web Security
Datei Print version (4 per page)
Datei OAuth Demo (with Node and Koa)

OAuth Koa
=========

This demo contains 3 node.js servers illustrating the OAuth protocol in a simplified implementation. It contains the resource server (resource.js), the authorization (with authentication also) server (authorize.js), and the client application (web app) server (client.js).
The servers were implemented using Koa, a simpler Express replacement, with a separate router file for the API implementations and for generating the web pages (in the client server mostly). The pages are generated using Pug templates containing the HTML (and CSS) and parameters for the content.

To run:
Run the three servers in three different command line consoles (>node ....js).
From a browser, access the client's home page (http://localhost:9001).

See the logs that appear on the consoles as you progress on the web pages.

Datei 9. Distributed Systems Security
Datei Print version (4 per page)
Verzeichnis Authentication using asymmetric cryptography and biometry

Demo with a Web Application and an Android Authenticator app, using QR-codes.

Practical Classes Datei Docker-intro
Verzeichnis 1. Spectre Attack Lab
Datei Spectre Attack Lab: compiling and running results on jmcruz's machine
Verzeichnis 2. Getting a Digital Certificate

Getting a Digital certificate from Sectigo-U.Porto for email usage: the right way!

Datei create a CSR and ask Sectigo-UPdigital for a certificate

Example of procedure to create a CSR and ask Sectigo-UPdigital for a digital certificate
(worked for JMCruz in 1st semestre 2024/25!)

Verzeichnis 3. Pseudo Random Number Generation Lab
Verzeichnis 4. Padding Oracle Attack Lab
Verzeichnis 5. Hash Length Extension Attack Lab
Datei 6. TLS Lab

This lab should be completed and reported in two weeks (Apr 10).

Datei Lab setup files
Datei TLS protocol overview
Datei TLS programming and attacking
Datei PKI, CAs, and web server certificates
Link/URL Python TLS wrapper documentation
Link/URL GUI tool to generate certificates and keys (and CAs) for Macs or Windows
Datei 7. Blockchain Reentrancy Attack
Datei Lab setup files
Datei Additional Information on Reentrancy Smart Contracts
Datei Blockchain Concepts and Ethereum
Assignment Datei Authorization in a distributed system using RBAC

Presentation at May 29.

SEED Security Labs Link/URL SEED Project
Link/URL SEED Labs 2.0
Link/URL SEED Labs @ GitHub