Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add initialization of tamper detection #256

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

abarisani
Copy link
Collaborator

@abarisani abarisani commented Jun 12, 2024

This commit adds conditional support (through the tamper build tag) for advanced tamper detection by means of CAAM support.

  1. The SNVS security policy is configured for immediate fail on clock, temperature, voltage glitching using the DryICE module (on i.MX6UL).

  2. The CAAM RTIC performs continuous monitoring of the OS text area (e.g. runtime executable instructions), failures will revoke ability to perform key derivation (BEE remains operational).

@@ -40,6 +40,8 @@ import (
const debug = false

func init() {
// disable ARM debug operations
imx6ul.Debug(false)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unnecessary on secure booted units and irrelevant on open ones, nonetheless it's good practice to invoke it as an abundance of caution given its null cost.

@AlCutter AlCutter mentioned this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant