Finance:Hardware security module
A hardware security module (HSM) is a physical computing device that safeguards and manages digital keys, performs encryption and decryption functions for digital signatures, strong authentication and other cryptographic functions. These modules traditionally come in the form of a plug-in card or an external device that attaches directly to a computer or network server. A hardware security module contains one or more secure cryptoprocessor chips.
HSMs may have features that provide tamper evidence such as visible signs of tampering or logging and alerting, or tamper resistance which makes tampering difficult without making the HSM inoperable, or tamper responsiveness such as deleting keys upon tamper detection. Each module contains one or more secure cryptoprocessor chips to prevent tampering and bus probing, or a combination of chips in a module that is protected by the tamper evident, tamper resistant, or tamper responsive packaging.
A vast majority of existing HSMs are designed mainly to manage secret keys. Many HSM systems have means to securely back up the keys they handle outside of the HSM. Keys may be backed up in wrapped form and stored on a computer disk or other media, or externally using a secure portable device like a smartcard or some other security token.
HSMs are used for real time authorisation and authentication in critical infrastructure so are typically engineered to support standard high availabilty models including clustering, automated failover, and redundant field-replaceable components.
A few of the HSMs available in the market have the capability to execute specially developed modules within the HSM's secure enclosure. Such an ability is useful, for example, in cases where special algorithms or business logic has to be executed in a secured and controlled environment. The modules can be developed in native C language, .NET, Java, or other programming languages. Further, upcoming next-generation HSMs can handle more complex tasks such as loading and running full operating systems and COTS software without requiring customization and reprogramming. Such unconventional designs overcome existing design and performance limitations of traditional HSMs. While providing the benefit of securing application-specific code, these execution engines protect the status of an HSM's FIPS or Common Criteria validation.
Due to the critical role they play in securing applications and infrastructure, HSMs and/or the cryptographic modules are typically certified to internationally recognized standards such as Common Criteria or FIPS 140 to provide users with independent assurance that the design and implementation of the product and cryptographic algorithms are sound. The highest level of FIPS 140 security certification attainable is Security Level 4 (Overall). When used in financial payments applications, the security of an HSM is often validated against the HSM requirements defined by the Payment Card Industry Security Standards Council.
A hardware security module can be employed in any application that uses digital keys. Typically the keys would be of high value - meaning there would be a significant, negative impact to the owner of the key if it were compromised.
The functions of an HSM are:
- onboard secure cryptographic key generation
- onboard secure cryptographic key storage, at least for the top level and most sensitive keys, which are often called master keys
- key management
- use of cryptographic and sensitive data material, for example, performing encryption or digital signature functions
- offloading application servers for complete asymmetric and symmetric cryptography.
HSMs provide both logical and physical protection of these materials, including cryptographic keys, from disclosure, non-authorized use, and potential adversaries.
HSMs support both symmetric and asymmetric (public-key) cryptography. For some applications, such as certificate authorities and digital signing, the cryptographic material is asymmetric key pairs (and certificates) used in public-key cryptography. With other applications, such as data encryption or financial payment systems, the cryptographic material consists mainly of symmetric keys.
Some HSM systems are also hardware cryptographic accelerators. They usually cannot beat the performance of hardware-only solutions for symmetric key operations. However, with performance ranges from 1 to 10,000 1024-bit RSA signs per second, HSMs can provide significant CPU offload for asymmetric key operations. Since the National Institute of Standards and Technology (NIST) is recommending the use of 2,048 bit RSA keys from year 2010, performance at longer key sizes is becoming increasingly important.To address this issue, most HSMs now support elliptic curve cryptography (ECC), which delivers stronger encryption with shorter key lengths.
PKI environment (CA HSMs)
In PKI environments, the HSMs may be used by certification authorities (CAs) and registration authorities (RAs) to generate, store, and handle asymmetric key pairs. In these cases, there are some fundamental features a device must have, namely:
- Logical and physical high-level protection
- Multi-part user authorization schema (see Blakley-Shamir secret sharing)
- Full audit and log traces
- Secure key backup
On the other hand, device performance in a PKI environment is generally less important, in both online and offline operations, as Registration Authority procedures represent the performance bottleneck of the Infrastructure.
Card payment system HSMs (bank HSMs)
Specialized HSMs are used in the payment card industry. HSMs support both general-purpose functions and specialized functions required to process transactions and comply with industry standards. They normally do not feature a standard API.
Typical applications are transaction authorization and payment card personalization, requiring functions such as:
- verify that a user-entered PIN matches the reference PIN known to the card issuer
- verify credit/debit card transactions by checking card security codes or by performing host processing components of an EMV based transaction in conjunction with an ATM controller or POS terminal
- support a crypto-API with a smart card (such as an EMV)
- re-encrypt a PIN block to send it to another authorization host
- perform secure key management
- support a protocol of POS ATM network management
- support de facto standards of host-host key | data exchange API
- generate and print a "PIN mailer"
- generate data for a magnetic stripe card (PVV, CVV)
- generate a card keyset and support the personalization process for smart cards
SSL connection establishment
Performance-critical applications that have to use HTTPS (SSL/TLS), can benefit from the use of an SSL Acceleration HSM by moving the RSA operations, which typically requires several large integer multiplications, from the host CPU to the HSM device. Typical HSM devices can perform about 1 to 10,000 1024-bit RSA operations/second. Some performance at longer key sizes is becoming increasingly important. To address this issue, some HSMs  now support ECC. Specialized HSM devices can reach numbers as high as 20,000 operations per second.
An increasing number of registries use HSMs to store the key material that is used to sign large zonefiles. An open source tool for managing signing of DNS zone files using HSM is OpenDNSSEC.
On January 27, 2007 deployment of DNSSEC for the root zone officially started; it was undertaken by ICANN and Verisign, with support from the U.S. Department of Commerce. Details of the root signature can be found on the Root DNSSEC's website.
- Electronic funds transfer
- FIPS 140
- Public key infrastructure
- PKCS 11
- Secure cryptoprocessor
- Security token
- Transparent data encryption
- Security switch
Notes and references
- Ramakrishnan, Vignesh; Venugopal, Prasanth; Mukherjee, Tuhin (2015). Proceedings of the International Conference on Information Engineering, Management and Security 2015: ICIEMS 2015. Association of Scientists, Developers and Faculties (ASDF). p. 9. ISBN 9788192974279. https://books.google.com/books?id=Gw9pCwAAQBAJ&pg=PA9.
- "Secure Sensitive Data with the BIG-IP Hardware Security Module". F5 Networks. 2012. https://www.f5.com/pdf/solution-profiles/hardware-security-module-sp.pdf. Retrieved 30 September 2019.
- Gregg, Michael (2014). CASP CompTIA Advanced Security Practitioner Study Guide: Exam CAS-002. John Wiley & Sons. p. 246. ISBN 9781118930847. https://books.google.com/books?id=LKPCBwAAQBAJ&pg=PA246.
- "Electronic Tamper Detection Smart Meter Reference Design". freescale. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDELECTRONICTAMPER. Retrieved 26 May 2015.
- "Using Smartcard/Security Tokens". mxc software. http://www.mxcsoft.com/Man_Securing%20Privkeys.htm. Retrieved 26 May 2015.
- "World's First Tamper-Proof Server and General Purpose Secure HSM". Private Machines. http://enforcerserver.com. Retrieved 7 March 2019.
- "Official PCI Security Standards Council Site - Verify PCI Compliance, Download Data Security and Credit Card Security Standards" (in en). https://www.pcisecuritystandards.org.
- "Support for Hardware Security Modules". paloalto. Archived from the original on 26 May 2015. https://web.archive.org/web/20150526064340/https://www.paloaltonetworks.cn/documentation/pan-os/newfeaturesguide/section_2/chapter_1.html. Retrieved 26 May 2015.
- "Application and Transaction Security / HSM". Provision. http://www.provision.ro/access-management/application-and-transaction-security-hsm#pagei-1. Retrieved 26 May 2015.
- "Transitions: Recommendation for Transitioning the Use of Cryptographic Algorithms and Key Lengths". NIST. January 2011. https://csrc.nist.gov/publications/detail/sp/800-131a/rev-1/final. Retrieved March 29, 2011.
- F. Demaertelaere. "Hardware Security Modules". Atos Worldline. http://secappdev.org/handouts/2010/Filip%20Demaertelaere/HSM.pdf. Retrieved 26 May 2015.
- "Barco Silex FPGA Design Speeds Transactions In Atos Worldline Hardware Security Module". Barco-Silex. January 2013. http://www.electronicspecifier.com/design-automation/adyton-barco-silex-ip-atos-worldline-fpga-design-speeds-transactions-hardware-security-module. Retrieved April 8, 2013.
- "SafeNet Network HSM - Formerly Luna SA Network-Attached HSM". https://safenet.gemalto.com/data-encryption/hardware-security-modules-hsms/safenet-network-hsm/.
- "ICANN Begins Public DNSSEC Test Plan for the Root Zone". http://www.circleid.com/posts/20100127_icann_begins_public_dnssec_test_plan_for_the_root_zone/. Retrieved 2015-08-17.
- Root DNSSEC
- "Gemalto and Ledger Join Forces to Provide Security Infrastructure for Cryptocurrency Based Activities". https://www.gemalto.com/press/Pages/Gemalto-and-Ledger-Join-Forces-to-Provide--Security-Infrastructure-for-Cryptocurrency-Based-Activities-.aspx. Retrieved 2020-04-20.
- "Fortanix Self-Defending KMS™ | Fortanix" (in en). https://fortanix.com/products/sdkms/.
- "Hardware Security Modules (HSM) - Encryption and Data Protection| Futurex". https://www.futurex.com/products/category/hardware-security-modules-hsm.
- "Cryptocards" (in en-us). https://www.ibm.com/security/cryptocards.
- "Security Solutions - Nitrox Hardware Security Module Adapters - Marvell - Marvell". https://www.marvell.com/products/security-solutions/nitrox-hs-adapters.html.
- "nCipher Security | Cryptographic Solutions Delivering Cloud, IoT, Blockchain and Digital Payment Security" (in en-gb). https://www.ncipher.com/.
- "Hardware Security Module | HSM | E-sign company | 【 REALSEC 】" (in en-US). https://realsec.com/en/general-purpose-hms/.
- "Hardware Security Modules (HSMs) | Thales". https://cpl.thalesgroup.com/encryption/hardware-security-modules.
- "Deploy the NextGen vHSM®" (in en-US). https://www.unboundtech.com/usecase/virtual-hsm/.
- "General purpose Hardware Security Module by Utimaco: Security Server" (in en-US). https://hsm.utimaco.com/products-hardware-security-modules/general-purpose-hsm/.
- "Hardware Security Module (HSM) For Modern Systems" (in en-US). https://www.yubico.com/products/hardware-security-module/.
- "Fintech Cryptographic Solutions | Payment HSM | 【 REALSEC 】" (in en-US). https://realsec.com/en/financial-hsm/.
- "Payment Hardware Security Modules | payShield Family | Thales". https://cpl.thalesgroup.com/encryption/hardware-security-modules/payment-hsms.
- "Utimaco offers Hardware Security Modules for Payment use cases" (in en-US). https://hsm.utimaco.com/products-hardware-security-modules/payment-hsm/.
Original source: https://en.wikipedia.org/wiki/ Hardware security module. Read more