hsm-attack
HSM (Hardware Security Module) Attack Skill
Red-team operations against Hardware Security Modules — thetamper-resistant hardware that anchors enterprise PKI, payment HSMs, code signing, and increasingly blockchain / Web3 key custody. This skill covers both physical access attacks (fault injection, side-channel, decap) and logical API attacks (PKCS#11 abuse, quorum bypass, tenant escape in cloud HSM).
Summary
Hardware Security Modules (HSMs) are dedicated cryptographic appliances that generate, store, and use keys without ever exposing them in plaintext outside the device. Common HSMs in 2024-2026:
- Thales Luna (SafeNet) Network HSM 7 / 10 — dominant in enterprise PKI
- Utimaco SecurityServer — European gov / banking
- Entrust nShield n3 / n5 — UK gov, finance, code signing
- Yubico YubiHSM 2 — cloud-native dev / staging
- AWS CloudHSM — HSM-as-a-service
- Azure Dedicated HSM — Thales PayShield / Luna as-a-service
- Google Cloud HSM — FIPS 140-2 L3
- Marvell / ATKey / SoloKey — USB form-factor
HSMs are sold as "impossible to extract keys" — and for the most part that's true at the cryptographic primitive level. But attackers don't break AES; they break the operational envelope: API abuse, quorum-spoofing, firmware vulnerabilities, tenant isolation flaws in cloud HSM, and physical access for side-channel / fault injection.