The present invention relates to a security platform (SP) for implementing dynamic measures in connection with the execution of code, said security platform (SP) comprising at least a security sensor (SS), a countermeasure controller (CC) . According to the present invention, the countermeasure controller CC has at least one security sensor flag (SSF) capable of taking at least two sensor flag values (SFV) in accordance with the output of the security sensor SS, A random number generator RG for generating a random configuration value RCV, a countermeasure means CM using a sensor flag value SFV and a random configuration value RCV, a table T for storing a possible security configuration SC, (SC) in the table (T) to be executed by the security function (DF).
展开▼