Configuring SE to be fully functional but rejecting attempts to add more secure objects

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuring SE to be fully functional but rejecting attempts to add more secure objects

Jump to solution
570 Views
psvz
Contributor IV

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?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
443 Views
Kan_Li
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
5 Replies
556 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

There is an APDU command available on SE051 parts for that purpose. Please kindly refer to the following for details.

Kan_Li_0-1746769208794.png

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.
-------------------------------------------------------------------------------

 

0 Kudos
Reply
542 Views
psvz
Contributor IV

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?

Tags (1)
0 Kudos
Reply
490 Views
Kan_Li
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 Kudos
Reply
480 Views
psvz
Contributor IV

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?

Tags (1)
0 Kudos
Reply
444 Views
Kan_Li
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 Kudos
Reply