06-STM32 Security WS STM32 Trust Introduction
06-STM32 Security WS STM32 Trust Introduction
ecosystem
Agenda
2
STM32Trust overview
STM32Trust overview
• STM32Trust is our security framework combining our ecosystem and security services.
• STM32Trust solution offers a complete toolset for code and execution protection.
• STM32Trust brings 12 security functions to align with customer use cases and security
standards.
4
Customer examples
Customer example (1/6)
Focus on secure manufacturing
Bob is CEO of a company designing toys.
He would like to make sure the firmware developed by his team is
protected from theft and will only run on the hardware developed by
his team.
Identification / Authentication /
Abnormal Situations Handling
Attestation
13
The 12 security functions
Summary of definitions
1- Secure Boot 2- Secure Install / Update 3- Secure Storage 4- Isolation
Installation or update of
Ability to ensure the
firmware with initial checks of Isolation between trusted and
authenticity and integrity of an Ability to securely store
integrity and authenticity non-trusted parts of an
application that is inside a secrets like data or keys
before programming and application
device
executing
5- Abnormal Situations 8- Identification /
6- Crypto Engine 7- Audit / Log
Handling Authentication / Attestation
Ability to detect abnormal
Ability to process Unique identification of a
situations (both hardware and
cryptographic algorithms, as Keep trace of security events device and/or software, and
software) and to take adapted
recommended by a security in an unchangeable way ability to detect its authenticity,
decisions like secrets
assurance level inside the device or externally
removals
9- Silicon Device Lifecycle 10- Software IP Protection 11- Secure Manufacturing 12- Application Lifecycle
Initial device provisioning in
Ability to protect a section or Define unchangeable
Control states to securely unsecured environment with
the whole software against incremental states to securely
protect silicon device assets overproduction control.
external or internal reading. protect application states and
through a constrained path Potential secured
Can be multi-tenant assets
personalization
14
Overview
Security functions versus STM32 & STSAFE
STM32F4/F7/L1/WB/G0/G4/H7/L0/L4 STM32MP1 STM32L5 with TrustZone + STSAFE-A/TPM
Security Function
Silicon Firmware Silicon Firmware Silicon Firmware Silicon
✓
Secure Boot ✓ ✓ ✓ ✓
✓ TF-A ✓
SBSFU ✓ TFM_SBSFU
Secure Install/Update ✓ ✓ ✓ ✓
OPTEE
✓
✓ ✓ ✓
Secure Storage (WB) ✓ ✓ ✓
(L0/L4/H7/G0/G4) OPTEE TFM SPE
SBSFU KMS (L4)
✓ ✓
Isolation ✓ ✓ ✓ ✓
OPTEE TFM
✓
✓ ✓
Crypto Engine ✓ ✓ ✓ Crypto Libraries ✓
Crypto Libraries OPTEE
TFM
✓
Audit/Log ✓
TFM
✓
ID/Auth/Attestation ✓ ✓ ✓ ✓
TFM Attestation
✓ ✓
Software IP Protection ✓ ✓ ✓
OPTEE TFM
✓ ✓ ✓
Secure Manufacturing ✓
SFI (H7/L4) with STM32HSM SSP with STM32HSM SFI with STM32HSM
Application LifeCycle ✓ ✓ ✓ ✓
16
11. 11. Secure manufacturing
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
Hardware security module (HSM) used to secure the programming of STM32
STM32HSM-V1 and V2 STM32 series with SFI or SSP
products, and to avoid product counterfeiting at contract manufacturers' premises
Software tool able to program an HSM with encryption key and counter of
STM32CubeProgrammer NA
permitted programming occurrences
FastROM Programming Services Pre-loading of customer software in STM32 done by ST manufacturing All, except MP1
STM32
3rd Party premises
SMI
SMI Firmware cloning
Encrypted
Authenticate target STM32
Generate installation license protection on the first Protect 3rd party
Module Encrypted Module
Module transfer installation Software IP
Store encryption via (SMI)
key in HSM HSM
Physical transfer UART / SPI / USB
Trusted Package Creator
ST Hardware Secure
Module (HSM)
19
Focus
Secure boot secure FW update - SBSFU
Reference library source code for
In-application Programming
20
Evaluations and certifications
First solution certified SESIP level 3:
STM32L476 with X-CUBE-SBSFU
• SESIP = Security Evaluation Standard for IoT
Platforms, by Global Platform.
22
First solution certified PSA level 2:
STM32L5 with TF-M
STM32L5
• PSA certification is the ARM-based security
assurance scheme for IoT devices and services.
23
Certifications summary
Certifications Available Now
SESIP
• Level 1 (Self Assessment) SESIP Level 1 SESIP Level 3
• Level 2 (Black box)
• STM32L4 (SBSFU) • STM32L4 (SBSFU)
• Level 3 (White box – Time Limited)
• Level 4 (White box)
• Level 5 (Smartcard-like EAL4+)
CC EAL5+
COMMON CRITERIA • STSAFE-A110
• EAL5+ Smartcard • STSAFE-TPM