Skip to content

Add register level security for RCC/EXTI/SYSCFG #38

@meriac

Description

@meriac

Currently access is granted to RCC, EXTI and SYSCFG - for all of these registers access can't be directly granted, but filtered per register / bit. Especially SYSCFG is security critical as it allows re-mapping of the RAM/FLASH memory.

As a result we added the new concept called "Register Level Access Security" as seen in https://github.com/ARMmbed/uvisor-lib/blob/master/uvisor-lib/register_gateway.h#L90 .

Our solution creates a similar mechanism as the call gateway, but for registers - the register level gateway can grant access to a set of bits of a single register - avoiding the creation of large ACLs covering the whole region.
As the access is specified in flash an attacker can't get access to other bits or using a different box context - as long as write access is blocked to flash.

The implementation is currently undergoing and needs to be released to fix this problem.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions