Comparison of Destruction/Denial Actions
Various operations on the Luna PCIe HSM 7 are intended to make HSM contents unavailable to potential intruders. The effect of those actions are summarized and contrasted in the following table, along with notes on how to recognize and how to recover from each scenario.
Scenario 1: MTK is destroyed, HSM is unavailable, but use/access can be recovered after reboot (See Note 1)
Scenario 2: KEK is destroyed (Real-Time Clock and NVRAM), HSM contents cannot be recovered without restore from backup See Note 2)
Event |
Scen. 1 |
Scen. 2 | How to discover (See Note 3) |
How to recover |
---|---|---|---|---|
>Three bad SO login attempts >lunacm:> hsm zeroize >lunacm:> hsm factoryreset >Any change to a destructive policy >Firmware rollback (See Note 4) |
NO | YES |
>Log entry >"Partition Status -> Zeroized" in HSM info (from hsm showinfo on admin partition) |
Restore HSM objects from Backup |
Hardware tamper >Undervoltage or overvoltage during operation >Under-temperature or over-temperature during operation >Chassis interference (such as cover, fans, etc.) Software (command-initiated) tamper >lunacm:> stm transport |
YES | NO |
Parse logs for text like "tamper", "TVK was corrupted", or "Generating new TVK", indicating that a tamper event was logged. Example: RTC: external tamper latched/ MTK: security function was zeroized on previous tamper event and has not been restored yet Also, keywords in logs like: "HSM internal error", "device error" |
Reboot [See Note 1] |
Decommission >Short-circuiting the tamper header pins |
NO | YES |
Look for log entry like: RTC: tamper 2 signal/Zeroizing HSM after decommission...LOG(INFO): POWER-UP LOG DUMP END |
Restore HSM objects from Backup |
Note 1: MTK is an independent layer of encryption on HSM contents, to manage tamper and Secure Transport Mode. A destroyed MTK is recovered on next reboot. If MTK cannot be recovered, only restoring from backup onto a new or re-manufactured HSM can retrieve your keys and HSM data. Note 2: KEK is an HSM-wide encryption layer that encrypts all HSM objects, excluding only MTK, RPK, a wrapping key, and a couple of keys used for legacy support. A destroyed KEK cannot be recovered. If the KEK is destroyed, only restoring from backup can retrieve your keys and HSM data. Note 3: To check the health of a remote HSM, script a frequent login to the HSM host and execution of a subset of HSM commands. If a command fails, check the logs for an indication of the cause. Note 4: These actions all create a situation where hsm init is required, or strongly recommended before the HSM is used again. |
In addition, another event/action that has a destructive component is HSM initialization. See Initializing the HSM.