SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
HSM & HSM Simulator
http://www.unpluggedmind.in
What is HSM?
HSM stands for Hardware Security Module. It’s a tamper resistant and incredibly secure physical device which is used to
generate/store cryptographic keys and perform cryptographic functions. It detects unauthorized access, trigger alarm and
even can remove the cryptographic keys inside to protect the information.
There are general purpose and specialized HSMs.
Payment industry uses specialized HSM to protect cryptographic keys, sensitive data generation, and validation. Typically it
undertakes following functions for payment card personalization and transaction authorization:
– Sharing keys securely
– Generate PVV, CVV for magnetic strip data
– Generate and print PIN mailer
– Encrypt/Decrypt/Re-Encrypt PIN block
– Verify card security codes
– Verify PIN
– Verify EMV (chip) data
It’s mandatory for industries like payments to use HSM which an expensive device. Hence there are many companies cropped
up who offer HSM as a service.
Use of HSM for cryptographic functions in payment is de facto and also endorsed by PCI council as part of PCI DSS. PCI also
provides security requirement for HSM (link).
HSM (Thales) Simulator
The Thales Simulator Library is an implementation of a software emulation of the
Thales (formerly Zaxus, formerly Racal) RG7000 Hardware Security Module
cryptographic device.
How to Install
1.Go to CodePlex, an open source project archive
(https://archive.codeplex.com/?p=thalessim) and download. The source code is
available on github (https://github.com/nickntg/thalessimulatorlibrary) as well, but
you need to have all the tools to build the solution and then you can get your hands
on the installer.
2.Extract downloaded file thalessim.zip.
3.Go to "thalessimwikidownloadWikidocs" directory.
4.Run the Thales Windows Simulator installer.
5.This will install the simulator as "Thales Simulator".
How to Use
1.Run the installed "Thales Simulator“
2.The default configuration of the simulator is available in ThalesParameters.xml generally available in the
installed directory (C:Program Files (x86)NTGThales Simulator)
3.The default port for the simulator is 9998. It can be changed in ThalesParameters.xml.
4.Open a socket and connect the simulator on port 9998.
5.Important!!! All messages need to be prefixed with a 2-byte header i.e; 0000. The purpose of this header is
to be able to identify request/response pairs in a high-load scenario. If you send simultaneous requests to the
simulator (or a real HSM for that matter), you need to be able to match the correct responses to original
requests because they might not arrive in the original order. You can use the header to do that.
Sample command for CVV verification is
"CYU123456789012345678901234567890121234123456789012345;1212101",
prefix it with 2-byte header before sending to the simulator
i.e; "0000CYU123456789012345678901234567890121234123456789012345;1212101"
HSM (Hardware Security Module)
Thank You
http://www.unpluggedmind.in

More Related Content

PPTX
HSM Basic Training
PDF
RSA SecurID Access
PPT
Presentation sso design_security
PDF
Secure Your Encryption with HSM
PDF
NIST 800-63 Guidance & FIDO Authentication
PDF
Securing a Web App with Passwordless Web Authentication
PPTX
IBM: Hey FIDO, Meet Passkey!.pptx
PPTX
Identity Management
HSM Basic Training
RSA SecurID Access
Presentation sso design_security
Secure Your Encryption with HSM
NIST 800-63 Guidance & FIDO Authentication
Securing a Web App with Passwordless Web Authentication
IBM: Hey FIDO, Meet Passkey!.pptx
Identity Management

What's hot (20)

PPT
6. cryptography
PPTX
Digital signature(Cryptography)
PPTX
Key management
PPTX
HSM Key change flow using thales
PPTX
Diffie Hellman Key Exchange
PPT
Message Authentication Code & HMAC
PDF
Payment Hsm Payshield9000
PPTX
Key Management and Distribution
PPTX
Cryptography
PPTX
Cryptography and Information Security
PPTX
Introduction to Public Key Infrastructure
PDF
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
PPTX
SSL And TLS
PPTX
Machine Learning for Threat Detection
PDF
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
PPT
PDF
Authenticated Encryption Gcm Ccm
PDF
Asymmetric Cryptography
PPTX
Secure Socket Layer (SSL)
6. cryptography
Digital signature(Cryptography)
Key management
HSM Key change flow using thales
Diffie Hellman Key Exchange
Message Authentication Code & HMAC
Payment Hsm Payshield9000
Key Management and Distribution
Cryptography
Cryptography and Information Security
Introduction to Public Key Infrastructure
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
SSL And TLS
Machine Learning for Threat Detection
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
Authenticated Encryption Gcm Ccm
Asymmetric Cryptography
Secure Socket Layer (SSL)
Ad

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PPTX
Introduction to Artificial Intelligence
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Online Work Permit System for Fast Permit Processing
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
history of c programming in notes for students .pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
top salesforce developer skills in 2025.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
System and Network Administraation Chapter 3
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
medical staffing services at VALiNTRY
Introduction to Artificial Intelligence
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Softaken Excel to vCard Converter Software.pdf
Online Work Permit System for Fast Permit Processing
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo POS Development Services by CandidRoot Solutions
Upgrade and Innovation Strategies for SAP ERP Customers
history of c programming in notes for students .pptx
CHAPTER 2 - PM Management and IT Context
ISO 45001 Occupational Health and Safety Management System
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How to Migrate SBCGlobal Email to Yahoo Easily
How to Choose the Right IT Partner for Your Business in Malaysia
top salesforce developer skills in 2025.pdf
Understanding Forklifts - TECH EHS Solution
2025 Textile ERP Trends: SAP, Odoo & Oracle
System and Network Administraation Chapter 3
Which alternative to Crystal Reports is best for small or large businesses.pdf
Ad

HSM (Hardware Security Module)

  • 1. HSM & HSM Simulator http://www.unpluggedmind.in
  • 2. What is HSM? HSM stands for Hardware Security Module. It’s a tamper resistant and incredibly secure physical device which is used to generate/store cryptographic keys and perform cryptographic functions. It detects unauthorized access, trigger alarm and even can remove the cryptographic keys inside to protect the information. There are general purpose and specialized HSMs. Payment industry uses specialized HSM to protect cryptographic keys, sensitive data generation, and validation. Typically it undertakes following functions for payment card personalization and transaction authorization: – Sharing keys securely – Generate PVV, CVV for magnetic strip data – Generate and print PIN mailer – Encrypt/Decrypt/Re-Encrypt PIN block – Verify card security codes – Verify PIN – Verify EMV (chip) data It’s mandatory for industries like payments to use HSM which an expensive device. Hence there are many companies cropped up who offer HSM as a service. Use of HSM for cryptographic functions in payment is de facto and also endorsed by PCI council as part of PCI DSS. PCI also provides security requirement for HSM (link).
  • 3. HSM (Thales) Simulator The Thales Simulator Library is an implementation of a software emulation of the Thales (formerly Zaxus, formerly Racal) RG7000 Hardware Security Module cryptographic device.
  • 4. How to Install 1.Go to CodePlex, an open source project archive (https://archive.codeplex.com/?p=thalessim) and download. The source code is available on github (https://github.com/nickntg/thalessimulatorlibrary) as well, but you need to have all the tools to build the solution and then you can get your hands on the installer. 2.Extract downloaded file thalessim.zip. 3.Go to "thalessimwikidownloadWikidocs" directory. 4.Run the Thales Windows Simulator installer. 5.This will install the simulator as "Thales Simulator".
  • 5. How to Use 1.Run the installed "Thales Simulator“ 2.The default configuration of the simulator is available in ThalesParameters.xml generally available in the installed directory (C:Program Files (x86)NTGThales Simulator) 3.The default port for the simulator is 9998. It can be changed in ThalesParameters.xml. 4.Open a socket and connect the simulator on port 9998. 5.Important!!! All messages need to be prefixed with a 2-byte header i.e; 0000. The purpose of this header is to be able to identify request/response pairs in a high-load scenario. If you send simultaneous requests to the simulator (or a real HSM for that matter), you need to be able to match the correct responses to original requests because they might not arrive in the original order. You can use the header to do that. Sample command for CVV verification is "CYU123456789012345678901234567890121234123456789012345;1212101", prefix it with 2-byte header before sending to the simulator i.e; "0000CYU123456789012345678901234567890121234123456789012345;1212101"