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

authenticate and seal firmware images #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

felixdoerre
Copy link

This resolves #6. The security model is as described in that issue:

  • An unrelated attacker, that cannot observe "authorized" traffic cannot do anything
  • A passive attacker, who can observe a connection, can obtain the uploaded firmware image, together with its authentication tag, but cannot create a new connection to picowota to upload the image.
  • An active attacker, who can take over tcp connections still has no way to create new connection on their own. On an existing connection that they took over, they can erase flash, boot, but cannot use picowota to upload an unrelated firmware image. Only firmware images, where the attacker previously observed the upload can be replayed.

To use these changes, a corresponding change in https://github.com/usedbytes/serial-flash is required. That I can prepare a PR for, if this change is wanted.

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.

Authentication
1 participant