Courses

Course · BSc SEIoT year 3 · FSB · 12 chapters · 11 labs

Internet of Things Security

Threats, security architectures, PKI and TLS/DTLS, signed updates, compliance (Cyber Resilience Act, ETSI EN 303 645) and certification — 12 chapters and 11 labs built around the SmartFarm connected greenhouse.

  • Faculté des Sciences de Bizerte
  • 2026–2027

Course for the 3rd-year BSc in Embedded Systems and IoT (SEIoT 3) — Faculty of Sciences of Bizerte, academic year 2026-2027.

Objectives

Introduce students to the main challenges and best practices of IoT security, with a focus on protecting devices, data and networks:

  • Understand threats: identify vulnerabilities in devices, networks and applications, and the attacks that exploit them.
  • Design architectures: apply defence in depth and Zero Trust, layer by layer.
  • Master cryptography: implement PKI, X.509 certificates, TLS/DTLS and signed updates.
  • Achieve compliance: know the GDPR, the Cyber Resilience Act, ETSI EN 303 645, ISO 27001, NIST and IEC 62443.

Each chapter ends with a hands-on lab and a quiz to check learning.

Course outline (12 chapters)

  1. Introduction to the Internet of Things
  2. Main security challenges in IoT
  3. IoT security architectures
  4. Certificate and key management
  5. IoT network security
  6. IoT application security
  7. Update and patch management
  8. Compliance and regulations
  9. Case studies and best practices
  10. The future of IoT security
  11. Evaluation and certification
  12. Conclusion and outlook

Common thread: the “SmartFarm” connected greenhouse

All labs build on the same system, analysed and then secured chapter by chapter: ESP32 sensors (temperature, humidity, soil), actuators (irrigation valves, ventilation), a Raspberry Pi gateway (Wi-Fi / LoRa), an MQTT broker and cloud, and mobile and web apps. Assets to protect: agronomic data, valve control and user accounts.

Hands-on labs

# Lab Ch. Tools Duration
1 Map the SmartFarm attack surface 1 Spreadsheet, nmap (lab network) 1 h 30
2 STRIDE threat modelling 2 Microsoft Threat Modeling Tool / draw.io 2 h
3 Design the secure architecture 3 draw.io, controls checklist 1 h 30
4 Build a mini-PKI 4 OpenSSL 3 2 h
5 Secure MQTT (TLS, mTLS, ACL) 5 Mosquitto, Wireshark 3 h
6 Audit an IoT API 6 Postman / curl, OWASP API Top 10 2 h
7 Sign and verify firmware 7 ESP-IDF (espsecure) / MCUboot (imgtool) 3 h
8 ETSI EN 303 645 gap analysis 8 Compliance checklist 1 h 30
9 Post-mortem of a real incident 9 Report template 2 h
10 ML-based anomaly detection 10 Python, pandas, scikit-learn 3 h
11 Prepare a certification file 11 PSA Certified L1, ETSI TS 103 701 1 h 30

Assessment

  • Written exam: course questions and MCQs, short case studies, analysis of an architecture diagram.
  • Lab work: secure configuration of an IoT device, graded labs (reports), work in pairs.
  • Project: securing an IoT device, technical report, demonstration and oral defence.

Proposed projects

  1. Secure update of a connected device: a complete OTA chain with signing, verification and rollback.
  2. Secure boot for an embedded system: root of trust, verification chain, key protection.
  3. Update with encrypted firmware: binary confidentiality, key management, on-device decryption.

Deliverables: report (architecture, threats, technical choices), source code and reproduction procedure, 15-minute demonstration and defence. Submission deadline: 17/11/2026.

#Sécurité IoT#PKI#TLS/DTLS#MQTT#OTA#Secure boot#ETSI EN 303 645#Cyber Resilience Act

Downloadable resources

Members-only content

Sign in or create a free account to download these files.

  • PDF
    Cours_Securite_IoT_26-27.pdfCours_Securite_IoT_26-27.pdf · 2.1 Mo

Courses