Think your smartcards are secure?

March 2017 Editor's Choice, Access Control & Identity Management

As we move into 2017, it is widely known that most legacy access control cards and smartcards in the industry are easily copied and cloned. But it is important to remember that even if you are using a secure technology (like EV1), cards can still be copied if there is careless use of the smart card ‘keys’.

Not only can you buy traditional card cloning machines, but you can now also buy open hardware to exploit poorly written code that extracts AES smartcard keys in a matter of minutes. If these smartcard keys become known, then ID cards can be recreated (even if businesses are using the highly secure EV1 technology).

There is also the realisation in the industry that when many thousands of cards are issued with a common numbering scheme and key structure, effective key management and lifecycle strategies need to be developed. So the question is – how do we ensure that our smartcard keys remain secure and uncompromised at all times?

To increase key security at the manufacturer level, leading smartcard providers can offer a secure object, which is written to the smartcard using a separate set of keys. Although this provides customers with a layer of protection, if these keys become known the system security is still ‘at risk’ as cards can be freely created. So, to mitigate against this vulnerability, Lumen ID recommends that customers look internally at their ‘Key Generation Ceremony’ and process.

Very often smartcard migration project success involves ensuring that smartcard key structure and code is both written and managed in the most secure, anonymous and auditable way. Because after all, isn’t it audit that drives behaviour? Questions such as how the keys are generated, how they are kept secret and how they are disseminated in global corporate environments, require robust answers to ensure that access control security is maintained.

An end-to-end security management process for securing and protecting smartcard keys can be easily achieved using multiple, independent factors such as:

1. The generation of a private, anonymous key structure that’s only known by the customer.

2. Key rotation.

3. Credential management software for the allocation of unique identifiers and to connect to existing access control systems and databases.

4. Use of encrypted card printers and credential encoders.

1. Generation of an anonymous, private key structure

Although customers are assigned random and unique shipping ‘keys’ by the card manufacturer, it is important that keys can then be subsequently changed by the customer to an anonymous keyset; thus ensuring the utmost level of security and autonomy.

Historically, smartcards were supplied completely personalised with all the information necessary for the card to function included within the card. For security and costs reasons however, the growing trend now is for most cards to be supplied minimally personalised, with further personalisation then required on-site.

The first step in the deployment of a truly secure smartcard credential starts with the creation of a unique, private key structure that never leaves the client’s secure area. During the customer’s initial ‘key generation ceremony’ Lumen ID recommends that smartcard keys and passwords never exist in human readable form. They should never be written down and indeed no one person should know the pre-curser to regenerate the keys.

It is best practice to create a keyset that is derived using multiple paraphrases from numerous members of security staff. This ensures ‘distribution of trust’ as no one person knows the complete passphrase. From the combined passphrases, a unique customer keyset is then created, along with a set of secure ‘Key Configuration’ cards (eg. Admin and Key change cards) that are used to initiate readers and other security devices so that they can all operate seamlessly using the same keyset.

The benefit here is that the manufacturer only knows the initial card shipping keys. But because they don’t know the customer’s active cards and the unique paraphrase cards, the keys will always remain anonymous.

2. Key rotation

It is recommended that keys be capable of being changed periodically and recreated by the customer as and when required. Smartcard suppliers should never be able to recreate the customer’s active keys, ensuring a degree of separation from the key management process. Opt for secure readers that can be used across different platforms and which allow key rotation. New keys should be capable of being distributed securely into the system using a secure reader key change configuration card.

At Lumen ID, we also recommend that keys do not reside on the access control readers directly. This rationale is also supported by recent government standards bodies for access control in the UK – CPNI (Centre for the Protection of National Infrastructure) and NIST (National Institute of Standards & Technology), in the USA. These bodies emphasise the importance of not holding keys in the reader in case it’s stolen and keys examined and extracted over time. Instead they recommend that keys should be held in the secure location of an access control door control panel.

As an added layer of security and to eradicate any risk of key extraction or interface replaying, Lumen ID recommends the use of a smart ‘Cipher box‘ (that sits between the card reader and the door control panel) to independently hold the keys.

3. Credential management software to allocate unique identifiers to the credential

Ensuring key autonomy is made further difficult for enterprise customers that often have problems such as the use of multiple card technologies and multiple access control systems per region. How can they create a common global credential that’s unique and highly secure, irrespective of its regional environmental differences?

This is achieved using a top level credential management software interface that talks to the SQL databases of multiple access control systems. The credential management interface remotely manages the allocation of unique identifiers to the global credential. It controls all the key elements in the end-to-end credential solution including; ‘Printer Encoders’ and ‘Card Number Ranges’. It also provides a full audit trail of credential/key management actions and provides real-time alerts of prohibited actions for command and control.

4. Opt for encrypted card readers and printer encoders

Encrypted card printers/encoders which hold the customer’s private keys directly in the SAM of the encoder are also now available. When used in collaboration with key configuration cards and credential management software, printer encoders can successfully allocate a unique identifier to ID cards and ensure that on-card key/data protection is digitally assigned to an end access control credential.

Conclusion

Securing credential key structure and ensuring distribution of trust at all levels of the access control credential process is essential. A robust, continual audit procedure should be put in place to ensure that keys are never compromised. As manufactures and suppliers have no knowledge of the keys generated as part of this anonymous process, it is also essential that they are created and managed in a systematic, secure and auditable fashion. When choosing a smartcard solution provider, ensure they have the software tools available to allocate a unique ID to the credential, program the credential and vitally, to provide a secure audit trail as to the ongoing validity of the credential.

For more information contact Lumen ID, [email protected], www.lumenid.co.uk





Share this article:
Share via emailShare via LinkedInPrint this page



Further reading:

Standards for fire detection
SAQCC (Fire) Editor's Choice Fire & Safety Associations
With the increased number of devastating fires reported throughout South Africa, adequate and suitable fire detection cannot be overstated. SAQCC Fire will publish a series of articles in SMART Security Solutions to provide insight into fire detection requirements and importance.

Read more...
Taking fire safety seriously
G2 Fire Editor's Choice Fire & Safety Security Services & Risk Management
To gain insights into how fire systems must be designed, installed and maintained, SMART Security Solutions asked Nichola Allan, MD of G2 Fire, for some insights into the local fire market.

Read more...
The best of local and international
Technoswitch Fire Detection & Suppression Editor's Choice
SMART Security Solutions speaks to Technoswitch’s Managing Director, Brett Birch, to learn more about the company and how it serves the fire safety market in South and sub-Saharan Africa.

Read more...
Surveillance on the perimeter
Axis Communications SA Hikvision South Africa Technews Publishing Editor's Choice Perimeter Security, Alarms & Intruder Detection
Cameras have long been a feature in perimeter security, with varying reports of success and failure, often dependent on the cameras’ planning, installation and configuration, as well as their integration with other perimeter solutions and centralised management platforms.

Read more...
Onyyx wireless alarm
Technews Publishing Editor's Choice Smart Home Automation
IDS has introduced Onyyx, a wireless alarm system engineered to provide complete system control via the Onyyx app or keyring, as well as seamless installation.

Read more...
Visual verification raises the security game
Technews Publishing Inhep Electronics Holdings Videofied SA Editor's Choice Perimeter Security, Alarms & Intruder Detection
Incorporating alarm signals with live surveillance footage, visual verification enables a human observer in a control room (onsite or offsite) to gain a clear understanding of the situation, thereby facilitating informed decision-making.

Read more...
The AX Hybrid PRO Series offers reliable wired and wireless protection
Hikvision South Africa Editor's Choice Perimeter Security, Alarms & Intruder Detection Products & Solutions
Hikvision has announced the launch of a new AX Hybrid PRO alarm system with innovative Hikvision ‘Speed-X’ transmission technology. This system offers reliable wired protection while delivering expanded flexibility with seamless wireless integration.

Read more...
A critical component of perimeter security
Nemtek Electric Fencing Products Gallagher Technews Publishing Stafix Editor's Choice Perimeter Security, Alarms & Intruder Detection Integrated Solutions
Electric fences are standard in South Africa, but today, they also need to be able to integrate with other technologies and become part of a broader perimeter security solution.

Read more...
SMARTpod talks to The Risk Management Forum
SMART Security Solutions Editor's Choice News & Events Security Services & Risk Management Videos Training & Education
SMART Security Solutions recently released its first SMARTpod podcast, discussing the upcoming Risk Management Forum Conference 2024, which will be held on 26 September 2024 at the Indaba Conference Centre in Fourways, Johannesburg.

Read more...
There is a SaaS for everything, but at what cost, especially to SMEs?
Editor's Choice Information Security Security Services & Risk Management
Relying on SaaS platforms presents significant cybersecurity risks as the number of providers in your landscape increases, expanding your attack surface. It is important to assess the strength of the SaaS providers in your chain.

Read more...