Section Nom Description
Dossier Messages broadcasted via Sigarra
URL Curricular Unit (Sigarra)
URL Schedule
Page Office hours
URL Lessons' Summaries
URL Exams' dates
Fichier Groups of students
About Exams Fichier Normal Exam 2023/24
Lectures Fichier 0. Presentation
Fichier 1. Introduction (& review)
Fichier 1.A Intro-annex: CIAA simplified
Fichier 2.1 Cryptography Basics
Fichier 2.2 Cryptography - general protection techniques
Fichier 2.3 Cryptography 2nd level (part 1)
Fichier 2.3 Cryptography 2nd level (part 2)
Fichier 3. Sofware Security Components
Fichier for printing (4 slides per page)
Page Lectures from OWASP
Fichier 4. Introduction to Blockchain
Fichier 5. Software Security
Fichier For printing (4 slides/page)
Page Some Less Common Software Vulnerabilities
Fichier Some Simple Vulnerability Demos
Fichier 6. Identity and Authentication Mechanism
Fichier For printing (4 slides/page)
Fichier 7. Access Control (Authorization) Security Mechanism
Fichier For printing (4 slides/page bw)
Fichier 8. Web Security
Fichier Print version (4 per page)
Fichier 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.

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

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

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

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

Fichier 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!)

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

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

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

Presentation at May 29.

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