April 5, 2016 By Larry Loeb 2 min read

There’s been a security problem with point-of-sale (POS) terminals that has been recognized and dealt with by both the retail industry and the government. The problem exists because payment card information ends up stored in the physical card reader after swiping. Those credit card readers are legacy hardware, designed in the days before operational security became a priority.

It has taken 10 years to devise a security scheme that would solve this problem without hindering transactions. The solution needed could not change the length or format of credit card numbers, for example, because related programs expected to see a certain format and would break if fed another.

This formatting problem extends beyond credit cards, even though they are an obvious case. Health information may have post-processing format sensitivity. Other uses may also include financial information security, data sanitization and the transparent encryption of fields in legacy databases.

NIST to the Rescue

The National Institute of Standards and Technology (NIST) announced a solution that can remedy this issue. It provided two possible ways of format-preserving encryption (FPE), which protects strings of payment card information from cybercriminals with encryption but still allows it to be read and processed by partner software.

According to the NIST release, “The new FPE method works on both binary and conventional (decimal) numbers — in fact, sequences created from any ‘alphabet’ of symbols — and it produces a result with the same length as the original.”

The NIST paper also noted that FPE facilitates the use of encryption with sensitive information as well as the retrofitting of encryption technology to legacy applications where a conventional encryption mode might not be feasible. This could include database applications that do not support changes to the length or format of data fields.

The two FPE techniques, called FF1 and FF3, were vetted during public comment periods in 2009 and 2013. While the implementations vary in execution speed, both are modes of operation for an approved symmetric block cipher algorithm known as the 128-bit block Advanced Encryption Standard (AES).

Adding Tweaks for More Security

In addition to the reformatted data, each of the possible techniques takes an additional input called a tweak. The tweak can be regarded as a changeable part of the key because together they determine the encryption and decryption functions. It is possible to have a static tweak, but the use of variable tweaks is strongly recommended by NIST as a security enhancement.

Keeping the native format of encrypted data intact may be a necessity for success, especially in a legacy system. This newest standard from NIST does just that.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today