Is it possible to lock SE051H in a state where it would be fully functional but reject attempts to add more secure objects?
Background. If I provisioned a factory-reset user and other secure objects with policy not allowing deletion or modification - I am fine to deploy the chip to untrusted environment to operate reliably.
An adversary, however, can provision thousands dummy secure objects to consume all memory. That might affect reliability of the SE operations. Could you please confirm if such scenario is a threat? And if so, how could I mitigate?
Solved! Go to Solution.
Hi @psvz ,
Even in this case, the factory reset would not cancel this persistent lock.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @psvz ,
There is an APDU command available on SE051 parts for that purpose. Please kindly refer to the following for details.
You may refer to https://www.nxp.com/webapp/Download?colCode=AN12543 for more details.
Hope that helps,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @Kan_Li
Thanks for pointing me out to the sought APDU command. I can't find any middleware API for it - I checked all Se05x_API* functions. What is the shortest way to activate that APDU command in C? If middleware doesn't support it, perhaps you could kindly share a code sample?
Hi @psvz ,
Please kindly refer to Se05x_API_DisableObjCreation() for details.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @Kan_Li ,
Thanks, I was searching in
simw-top/hostlib/hostLib/se05x_03_xx_xx/se05x_APDU_apis.h
and overlooked additional `se05x_04_xx_APDU_apis.h` file there...
Provided I use LOCK_PERSISTENT and RESTRICT_NEW combination (I rely on creation policy for objects I provisioned before this command), what is behavior if then call Se05x_API_DeleteAll() command?
Will the factory reset cancel this persistent lock? Or will I throw the chip into garbage after restricting and then resetting?
Hi @psvz ,
Even in this case, the factory reset would not cancel this persistent lock.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------