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

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

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

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

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

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

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

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

File Lab setup files
File TLS protocol overview
File TLS programming and attacking
File 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
File 7. Blockchain Reentrancy Attack
File Lab setup files
File Additional Information on Reentrancy Smart Contracts
File Blockchain Concepts and Ethereum
Assignment File 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