ST - STM32Trust Product Overview
ST - STM32Trust Product Overview
4 Real-world examples
2
What security means for us?
Protection
Customer
requirements
Assets
Threats exploit
Vulnerabilities and damage
Assets.
Protections mitigate
Vulnerabilities and therefore
might mitigate Threats.
Customer Assets Threats Vulnerabilities
Security
functions
Mitigate
IP System trust
Software Regulations
Data Reliability
Processes Availability
Secrets Authentication
Confidentiality
6
From assets to security functions
STM32Trust simplifies the mitigation model analysis with: STM32Trust Security Functions
• Pre-analyzed threats and vulnerabilities Identification / Authentication / Attestation
• Mitigation with ready to use Security Functions & Services Application Life Cycle
Secure Manufacturing
IP Secure Storage
Isolation
System trust
Abnormal Situations Handling
Secure Boot
Crypto Engine
Audit / Log
7
From device to application
security assurance level
• STM32Trust focusing on 2 de-facto product certification schemes:
EN 303 645
IEC 62443
8
Security assurance & certifications
Product certification status
• Basic crypto services • Pure software countermeasures Broad MCU portfolio Trusted components
embedded in dedicated ICs against remote software attacks • Tamper resistance (Hardware & SoC)
• Countermeasures against remote
mainly
software and board level attacks • Common Criteria, GSMA, TCG certifications
• Self-evaluated solution • Proven against all attacks (remote software,
• STM32Trust Security framework
board level and silicon level attacks)
• MPU with ARM TrustZone
• SESIP & PSA Certifications Lifecycle Security Centric devices
• Secure Programming services • Secure development methodology
• Secure personalization & key provisioning
• Secure supply chain
• Certified Common Criteria sites
12
A large range of
certified STM32 companion secure elements
Storage &
Communication Platform integrity
Authentication
STSAFE / ST4SIM
www.st.com/STSAFE www.st.com/ST4SIM
13
Security assurance & certifications
STM32 MCUs & MPUs STSAFE Secure Element
Product
Security Assurance* EAL5+
Application
Security Assurance
IEC 62443
* product certifications depends on each products
16
Customer example (2/6)
focus on isolation and IP protection
Jon owns a company selling firmware
My asset is
His firmware is of highest value, as his revenue comes from
my IP
royalties. It features user-enable application options.
STM32Trust simplifies the mitigation model analysis with: STM32Trust Security Functions
• Pre-analyzed threats and vulnerabilities Identification / Authentication / Attestation
• Mitigation with ready to use Security Functions & Services Application Life Cycle
Secure Manufacturing
Software IP Protection
Treats Vulnerabilities
Silicon Device Life Cycle
Data confidentiality Device identity
Data Data integrity Secure Install / Update
Software & Updates
Identification / Authentication /
Abnormal Situations Handling
Attestation
24
www.st.com/STM32Trust
The 12 security functions
definitions
1- Secure Boot 2- Secure Install / Update 3- Secure Storage 4- Isolation
9- Silicon Device Lifecycle 10- Software IP Protection 11- Secure Manufacturing 12- Application Lifecycle
25
1. Secure boot
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
Example code implementing both a Secure Boot and a Secure Firmware Update
X-CUBE-SBSFU F4/F7/WB/G0/G4/H7/L0/L4
mechanism
TFM_SBSFU Boot (Part of Example code implementing both a Secure Boot and a Secure Firmware Update
L5
STM32CubeL5) mechanism
TF-A (Part of OpenSTLinux) First stage secure bootloader configuring STM32MP platform MP1
28
4. Isolation
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
Trusted Execution Environment over Cortex-M, adding further software handling
TF-M (Part of STM32CubeL5) L5
for application portions sandboxing
Trusted Execution Environment for STM32MP, adding further software handling
OP-TEE (Part of OpenSTLinux) MP1
for application portions sandboxing
29
5. Abnormal situations handling
STM32 Silicon Feature Benefit for Security Function STM32 Series
Anti tamper / Active tamper / Backup Protect against a wide range of physical attacks on HW system outside the MCU.
registers Erases backup registers information when tamper is detected
RTC (Alarm timestamp) Timestamp on tamper events, or internal events F4/F7/WB/G0/G4/H7/L0/L4/L5/MP1
Lock of selected GPIO. Impossible to unlock until next reset.
GPIO Locking
Ability to lock communication channels after tamper detection
Internal clock available for secured program execution independently from external
CSS (Clock Security System)
source clock
Robust memory integrity.
ECC (Error Correction Code)
Hardened protection against fault injection attacks thanks to error detection
F4/F7/WB/G0/G4/H7/L0/L4/L5/MP1
Check if device is operating in expected temperature range. Hardened protection
Temperature Sensor
against temperature attacks
Watchdogs Independent watchdog and window watchdog for software timing control.
PVD (Power Voltage Monitoring) Monitors changes on power
30
6. Crypto engine
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
This ECCN 5D002-classified software is based on STM32Cube architecture
X-CUBE-CRYPTOLIB package and includes a set of crypto algorithms based on firmware All, except MP1
implementation (symmetric, asymmetric, hash…)
DPA resistant version of Cryptographic library. Available on specific part numbers
DPA Resistant Crypto Library* (FIPS-140) L4*
after on demand adaptation
TF-M (Part of STM32CubeL5) Trusted Execution Environment over Cortex-M, featuring Crypto algorithms L5
32
8. Identification / authentication / attestation
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
TF-M (Part of STM32CubeL5) Trusted Execution Environment over Cortex-M, featuring Attestation L5
33
9. Silicon device lifecycle
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
STM32CubeProgrammer Software tool able to control the RDP cycle All
34
10. Software IP protection
STM32 Firmware / Tool Part Number Benefit for Security Function STM32 Series
Trusted Execution Environment over Cortex-M, adding further software handling
TF-M (Part of STM32CubeL5) L5
for application portions sandboxing
Trusted Execution Environment for STM32MP, adding further software handling
OP-TEE (Part of OpenSTLinux) MP1
for application portions sandboxing
35
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 Firmware / Tool Part Number Benefit for Security Function STM32 Series
Customer can implement his software to handle this Security Function All
37
Focus on secure firmware installation &
secure boot
Focus
embedded secure firmware install - SFI
Manage STM32 authentication, firmware decryption and installation
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)
39
Focus
secure boot secure FW update - SBSFU
Reference library source code for
In-application Programming
40
Security functions by product
Security functions by product
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
TFM_SBSFU
SBSFU
Secure Install/Update √ √ √ √
OPTEE
(WB)
Secure Storage (L0/L4/H7/G0/G4) √ OPTEE √ TF-M SPE √
SBSFU KMS (L4)
Isolation √ √ √ √
OPTEE TFM
Abnormal situations
√ √ √
handling
Crypto Libraries
Crypto Engine √ Crypto Libraries √ OPTEE √ √
TF-M
Audit/Log √ TF-M
ID/Auth/Attestation √ √ √ TF-M Attestation √
Silicon Device LifeCycle √ √ √