摘要 |
The invention relates to a method that can be implemented in a portable data carrier (1) for detecting attacks on the data carrier (1), wherein an error event is detected in the data carrier (1) (S2) and registered (S15) by means of an error counter (14). Protective measures (S6, S17) are introduced as a function of the counter level of the error counter (14). The error event (S2), however, is thereby registered as an attack error event (S15) by means of an attack error counter (14) if at least one time-based attack error criterion (A, B) is met (S11, S4). The error event (S2) is registered as an attack error event (S15) if a prescribed reboot time span (TR) indicating the time span between the last reboot (S8) of the data carrier (1) and the prior reset (S7) of the data carrier (1) due to the error event (S2) is not met (S11), or if a prescribed error time span indicating the time span between the last reboot (S8) of the data carrier (1) and the detected error event (S2) is not met (S4). |