~/talk

Kill Latest MPU-based Protections in Just One Shot: Targeting All Commodity RTOSes

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [security, embedded-and-hardware]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Finds universal MPU deployment mistakes in six commodity RTOSes (FreeRTOS, MbedOS, Azure ThreadX, TizenRT, rt-thread and others) that let unprivileged tasks pass unchecked SVC/CH parameters to kernel entry points, overwrite saved execution state on task stacks, and gain arbitrary read/write and privilege escalation. Demonstrates live exploitation on real devices, supplies analysis scripts (reporting 43 TR functions leading to write flaws, 29 for read, 23 other issues), shows MPU region misconfiguration and missing permission checks, and notes FreeRTOS fixes merged.

AI-written summary · about

  1. 0:00MPU-based RTOS vulnerabilities
  2. 1:32MPU adoption in embedded systems
  3. 3:01MPU flaws in OTA updates
  4. 6:40Security flaws in 6 RTOSes
  5. 7:23FreeRTOS MPU memory protection
  6. 9:31TR flaws in task switching
  7. 12:48Privilege escalation via stack
  8. 13:32MPU region overlapping
  9. 15:43Amazon FreeRTOS mitigations
  10. 18:57StruX OS MPU memory
  11. 20:00StruX TR parameter gaps
  12. 21:5195 TR function flaws found
  13. 22:56MPU security comparison
  14. 24:00Future MPU hardening
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.