A hardware security module protects keys only while its firmware, validation status, quorum, key custodians, backups and application credentials stay in good order, and every one of those drifts quietly between audits. This health check is a recurring, measurable review of the HSM estate: network appliances, dedicated cloud HSMs and HSM partitions used for PKI, code signing, payments, database encryption and token signing. It is run every quarter with a deeper annual review and a check after any key ceremony. It is written for HSM and PKI administrators, cryptography owners, key custodians, internal audit and the CISO's office.
What this health check covers
It does not repeat how to deploy or harden an HSM. Deployment models, the two identity layers, admin roles, quorum design, integration credentials and the hardening baseline are covered in the HSM Deployment and Operations Guide, which is where most findings below are fixed. Key lifecycle, cryptoperiods and rotation across all key stores are covered in the Cryptographic Key Management Guide. This page gives the metrics, formulas, thresholds, sign-off and findings log that prove the HSM platform itself is still healthy.
It is vendor-neutral and applies to on-premises and dedicated cloud HSMs where you control the HSM users or security domain. For multi-tenant HSM-backed key management services where access is managed only through cloud IAM, use the metrics that apply (HSM-09, HSM-11, HSM-13) and cover the rest through your cloud identity review.
Key takeaways
- Validation status has a date on it. NIST's Cryptographic Module Validation Program states that FIPS 140-2 validated modules moved to the Historical list after 21 September 2026 and may now be used only in existing systems, not new ones; track certificate status per module and firmware version.
- Quorum is only as good as its custodians. Count key shares and smart cards whose holder has left, changed role or could not produce them in a custody check.
- An untested backup is not a backup. Measure restores into an isolated environment, not the existence of backup files.
- The application credential is the soft spot. The PIN or client certificate an application uses to call the HSM is a non-human identity with the power to sign and decrypt; measure its rotation and storage.
- Fixed formulas make quarters comparable. The formulas and bands here are NHI Mgmt Group recommended methods; record your own and keep them stable.
How to use this template
Copy the metrics table and findings log into your own tracker and run this Hardware security module (HSM) health check at the cadence below. Collect each figure from the data sources described, score it against the green, amber and red bands, and record every amber or red result as a finding with an owner and due date. Keep each completed review so you can compare quarters: the trend matters as much as any single score. Replace bracketed placeholders such as [Organisation] and [HSM owner] with your own values.
Cadence and sign-off
Take every figure as at one measurement date and pull all exports within one working day of it. Key custodians and HSM administrators should not be the only approvers of figures about their own HSMs, in line with the separation of duties principle in NIST SP 800-53 AC-5.
| Review | Frequency | Owner | Approver | Evidence kept |
|---|---|---|---|---|
| Operational check (HSM-11, HSM-12, HSM-13) | Monthly | HSM operations lead | [HSM owner] | Log delivery report, alert case records, capacity graphs |
| Quarterly health check (all metrics) | Quarterly | [HSM owner] | Security risk or GRC | Raw exports, scorecard, findings log |
| Custody check of key shares and smart cards | Quarterly and when a custodian leaves | Key custodian coordinator | [HSM owner] | Signed custody register, safe access log |
| Annual review (metrics plus restore and ceremony sampling) | Yearly | [HSM owner] | CISO or delegate | Restore test record, ceremony scripts sampled, threshold review |
| Independent re-performance | Yearly | Internal audit | Audit committee or CISO | Re-performed calculations for at least three metrics |
| Event-driven check | After a key ceremony, firmware upgrade, HSM migration or suspected compromise | [HSM owner] | CISO or delegate | Scoped scorecard for affected metrics |
Metrics
Thirteen metrics, each with a numerator and denominator. Record the denominator with the percentage so changes in the estate are visible. NHI Mgmt Group recommended thresholds; adjust to your risk appetite.
| ID | Metric | Formula (numerator / denominator) | Data source type | Green | Amber | Red |
|---|---|---|---|---|---|---|
| HSM-01 | Validated module currency | Production HSMs whose exact module and firmware version is listed on an Active CMVP certificate / production HSMs that must meet FIPS 140 | HSM asset register, firmware inventory, CMVP certificate records | 100% | 95% to below 100%, with a dated replacement plan | Below 95%, or any without a plan |
| HSM-02 | Firmware security update latency | HSMs with all vendor security firmware updates applied within 90 days of release / production HSMs | Firmware inventory, vendor advisory list, change records | 95% or more | 80% to below 95% | Below 80% |
| HSM-03 | Production redundancy | Production partitions or key sets served by at least two HSMs in separate sites or zones / production partitions or key sets | Cluster configuration export, asset register | 100% | 90% to below 100% | Below 90% |
| HSM-04 | Restore proven | Production partitions restored from backup into an isolated environment, with keys used successfully, in the last 12 months / production partitions | Restore test records | 100% | 80% to below 100% | Below 80% |
| HSM-05 | Backup after change | Partitions with a successful backup taken after their most recent key creation or import / partitions with key changes in the quarter | HSM backup log, HSM audit log | 100% | 95% to below 100% | Below 95% |
| HSM-06 | Quorum enforcement | Quorum-capable sensitive operations (user management, key export or wrapping, policy change, backup restore) with M of N enforced / quorum-capable sensitive operations | HSM policy configuration export | 100% | 90% to below 100%, with approved exception | Below 90%, or any without exception |
| HSM-07 | Custodian and share currency | Key shares, smart cards and quorum tokens held by a current custodian in the assigned role and produced at the last custody check / all issued shares, cards and tokens | Custody register, HR records, custody check record | 100% | Below 100%, quorum still achievable without the gap | Quorum at risk: available holders at or below M |
| HSM-08 | HSM account hygiene | HSM admin, security officer and crypto user accounts that have a named owner and were used in the last 90 days / all HSM-local accounts | HSM user list export, HSM audit log | 98% or more | 90% to below 98% | Below 90%, or any unowned admin |
| HSM-09 | Extractable key exceptions | Private and secret keys marked extractable (or exportable in the clear) without an approved exception / all private and secret keys | Key object attribute export | 0% | Above 0% to 2%, all reviewed | Above 2%, or any root or signing key |
| HSM-10 | Application credential rotation | Application credentials for HSM access (crypto user PINs, client certificates) rotated within the policy period and stored in a secrets manager / all application credentials for HSM access | HSM user list, client certificate inventory, secrets manager inventory | 95% or more | 80% to below 95% | Below 80% |
| HSM-11 | Audit log completeness | HSM-days with complete audit log delivery to the SIEM / HSM-days in the quarter | SIEM ingestion reports, HSM audit log sequence numbers | 99.5% or more | 98% to below 99.5% | Below 98%, or any gap over 24 hours |
| HSM-12 | Tamper and hardware alerts closed in time | Tamper, intrusion, hardware fault and repeated failed-login alerts investigated within the service level / all such alerts | HSM syslog, SIEM case records | 100% | 90% to below 100% | Below 90%, or any tamper event not investigated |
| HSM-13 | Capacity headroom | HSMs whose peak operations per second and key storage both stayed below 70% of rated capacity in the quarter / production HSMs | HSM performance metrics, monitoring platform | 100% | 85% to below 100% | Below 85% |
Any single red privileged finding, such as an unowned admin account, an extractable root key, a tamper event left uninvestigated or a quorum that can no longer be met, is reported as red whatever the percentage. Capacity matters for security as well as availability: an HSM running near its limit tempts teams to move signing or decryption into software.
Standards reference points: CMVP keeps validated modules on the Active list for five years (two years for interim validations), and FIPS 140-3 (Final, March 2019) defines four increasing security levels and is aligned with ISO/IEC 19790. Confirm that the certificate covers the exact firmware version you run, not only the hardware model. See FIPS 140-2 vs FIPS 140-3.
How to collect the data
Use raw exports, not dashboard summaries, so every figure can be recalculated. Keep each export with the findings log.
- HSM asset register and firmware inventory: model, serial, location, firmware version and certificate number for HSM-01 to HSM-03. Reconcile against the physical or cloud inventory first; an HSM missing from the register is a finding in itself.
- Validation records: look up each module and firmware version in the CMVP validated modules search and record status (Active, Historical, Revoked) and the sunset date.
- HSM user list export: every local account with role (security officer, admin, crypto user or equivalent; in PKCS #11 terms the CKU_SO and CKU_USER user types), owner and last login for HSM-08 and HSM-10.
- Key object attribute export: for HSM-09, list private and secret keys with their extractability and sensitivity attributes (in PKCS #11 these are CKA_EXTRACTABLE and CKA_SENSITIVE, with CKA_NEVER_EXTRACTABLE showing whether a key was ever exportable). Export attributes only, never key material.
- HSM policy configuration export: quorum settings per operation for HSM-06.
- Custody register: every share, card and token with holder, location and last sighting for HSM-07; join with HR leaver and mover records.
- HSM audit log and backup log: key creation, import and backup events for HSM-05; login failures and admin actions for HSM-12.
- SIEM ingestion reports: daily event counts per HSM for HSM-11. A day with zero events from a busy HSM is a gap, not a quiet day. See the SIEM Log Source Onboarding Checklist.
- Secrets manager inventory: which HSM application credentials are vaulted and when each was last rotated, for HSM-10.
Running the quarterly check
- Freeze the date: agree the measurement date and pull all exports within one working day.
- Reconcile the estate: match the asset register with cluster configuration and physical or cloud inventory before calculating.
- Calculate and compare: apply the recorded formulas and compare with last quarter and the bands.
- Sample the reds: for each red metric, check five records directly (for example sit with a custodian and confirm the card is present and the PIN envelope is intact).
- Log and assign: enter every amber and red item in the findings log with an owner and due date.
- Sign off: present to the approvers and record the decision on each open red item.
In the annual review, witness one restore end to end, sample two key ceremony records against their scripts, and confirm the witness and custodian signatures match the custody register.
Red flags that need action now
- A production HSM whose module or firmware certificate is Historical or Revoked where FIPS validation is required, with no replacement plan.
- Available quorum holders at or below the M needed to restore or administer the HSM.
- A key share, smart card or token that cannot be located, or is held by someone who has left.
- An HSM-local admin or security officer account nobody can identify.
- A root CA, code signing or token signing key marked extractable.
- A tamper or intrusion alert closed without investigation notes.
- An application HSM PIN found in source control, a container image or a plain configuration file.
- A production key set held on a single HSM, or a restore that has never been tested.
- A gap of more than 24 hours in HSM audit log delivery.
- Key ceremony evidence missing witness signatures or deviating from the approved script.
Findings log
Keep one running log across quarters so repeats are visible. Escalate any finding red for two consecutive quarters to the CISO and record any finding repeated three times in the risk register.
| ID | Finding | Metric | Severity | Owner | Due date | Status |
|---|---|---|---|---|---|---|
| HC-HSM-01 | [n] HSMs on firmware without an Active certificate | HSM-01 | [Red / Amber] | [HSM owner] | [Date] | [Open / In progress / Closed / Risk accepted] |
| HC-HSM-02 | [Partition] not restored in 12 months | HSM-04 | [Severity] | [HSM operations lead] | [Date] | [Status] |
| HC-HSM-03 | [n] shares held by leavers or not produced | HSM-07 | [Severity] | [Key custodian coordinator] | [Date] | [Status] |
| HC-HSM-04 | [n] extractable keys without exception | HSM-09 | [Severity] | [Application owner] | [Date] | [Status] |
| HC-HSM-05 | [n] application credentials outside the secrets manager | HSM-10 | [Severity] | [Application owner] | [Date] | [Status] |
Remediation map
| Finding type | Where to fix it |
|---|---|
| Validation status and firmware (HSM-01, HSM-02) | FIPS 140-3 and Cryptographic Module Validation Guide; HSM Deployment and Operations Guide: hardening baseline |
| Redundancy, backup and restore (HSM-03 to HSM-05) | HSM Deployment and Operations Guide: backup, high availability and disaster recovery |
| Quorum and custodians (HSM-06, HSM-07) | HSM Deployment and Operations Guide: admin roles and privileged access; Break-Glass Account Guide |
| HSM account hygiene (HSM-08) | JIT Access Guide |
| Extractable keys (HSM-09) | Cryptographic Key Management Guide: storage |
| Application credentials (HSM-10) | Secrets Management Guide; HSM Deployment and Operations Guide: integrations |
| Logging and alerts (HSM-11, HSM-12) | SIEM Log Source Onboarding Checklist |
| Capacity (HSM-13) | HSM and Key Management Buyer's Guide for sizing and expansion |
Related guides
- HSM Deployment and Operations Guide: how to deploy and harden the HSMs this check measures.
- Cryptographic Key Management Guide: key lifecycle, cryptoperiods and rotation across all key stores.
- Payment HSM Guide: extra controls for payment key hierarchies.
- PKI and Certificate Lifecycle Maturity Model: where HSM-backed PKI sits in programme maturity.
- Certificate lifecycle manager health check: the companion check for certificate issuance and renewal.
References
- NIST: Cryptographic Module Validation Program
- NIST: FIPS 140-3 Security Requirements for Cryptographic Modules
- NIST: SP 800-57 Part 1 Rev. 5 Recommendation for Key Management
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls (SC-12 Cryptographic Key Establishment and Management, SC-12(1) Availability, SC-13 Cryptographic Protection, AC-5 Separation of Duties, CP-9 System Backup, SI-7 Software, Firmware, and Information Integrity, PE-3 Physical Access Control, AU-6 Audit Record Review)
- NIST: Cybersecurity Framework 2.0 (ID.AM-01, PR.DS-01, PR.AA-05, PR.PS-02, DE.CM-03)
- OASIS: PKCS #11 Specification Version 3.1
Related NHI Mgmt Group resources: HSM Deployment and Operations Guide, Cryptographic Key Management Guide, HSM vs TPM vs Secure Enclave, Data Security Maturity Model, Certificate lifecycle manager health check.