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)
- Introduction to the Internet of Things
- Main security challenges in IoT
- IoT security architectures
- Certificate and key management
- IoT network security
- IoT application security
- Update and patch management
- Compliance and regulations
- Case studies and best practices
- The future of IoT security
- Evaluation and certification
- 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
- Secure update of a connected device: a complete OTA chain with signing, verification and rollback.
- Secure boot for an embedded system: root of trust, verification chain, key protection.
- 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.
Downloadable resources
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