Data Masking: 8 Techniques and How to Implement Them Successfully - Satori

Data Masking: 8 Techniques and How to Implement Them Successfully

What Is Data Masking?

Data masking is a technique used to create a version of data that looks structurally similar to the original but hides (masks) sensitive information. The version with the masked information can then be used for various purposes, such as user training or software testing. The main objective of masking data is to create a functional substitute that does not reveal the real data.

The majority of organizations have stringent security controls that protect production data when it rests in storage and when it is in business use. However, sometimes data is used for less secure operations like testing or training, or by third parties outside the organization. This can put the data at risk, and might result in compliance violations.

Data masking offers an alternative that can allow access to information while protecting sensitive data. Data masking processes use the same data format to emulate the original data while changing the values of sensitive information.

There is a wide range of ways that can be used to alter data, including character shuffling, word or character substitution, and encryption. Each method has its unique advantages. However, when masking data the values must always be changed in some manner that makes reverse engineering impossible.

Here are several examples of data masking:

Which Data Requires Data Masking?

Here are the most common data types that require data masking:

Types of Data Masking

Here are three common types of data masking:

8 Data Masking Techniques

Here are a few common data masking techniques you can use to protect sensitive data within your datasets.

1. Data Pseudonymization

Lets you switch an original data set, such as a name or an e-mail, with a pseudonym or an alias. This process is reversible—it de-identifies data yet still enables later use of re-identification if needed.

2. Data Anonymization

A method that lets you encode identifiers that connect individuals to the masked data. The goal is to protect the private activity of users while preserving the credibility of the masked data.

3. Lookup substitution

You can mask a production database with an added lookup table that provides alternative values to the original, sensitive data. This allows you to use realistic data in a test environment, without exposing the original.

4. Encryption

Lookup tables are easily compromised, so it is recommended you encrypt data so that it can only be accessed via a password. The data is unreadable while encrypted, but is viewable when decrypted, so you should combine this with other data masking techniques.

5. Redaction

If the sensitive data is not necessary for QA or development purposes, you can replace it with generic values in the development and testing environment. In this case there is no realistic data with similar attributes to the original.

6. Averaging

If you want to reflect sensitive data in terms of averages or aggregates, but not on an individual basis, you can replace all the values in the table with the average value. For example, if the table lists employee salaries, you can mask the actual individual salaries by replacing them all with the average salary, so the overall column matches the real overall value of the combined salaries.

7. Shuffling

If you need to retain uniqueness when masking values, you can protect the data by scrambling it, so that the real values remain, but are assigned to different elements. Given the salary table example, the actual salaries will all be listed, but it won’t be revealed which salary belongs to each employee. This method is best suited to larger datasets.

8. Date Switching

If the data in question involves dates that you want to keep confidential, you can apply policies to each data field to obfuscate the real date. For example, you can set back the dates of all active contracts by 100 days. The drawback of this method is that, because the same policy applies to all values in a field, the compromise of one value results in the compromise of all values.

What Are the Challenges of Data Masking?

Here are some of the key challenges involved in data masking:

Data Masking Best Practices

Best practices for data masking include:

Data Masking with Satori

Satori enables dynamic masking over any data platform being accessed, based on your choice of security policies, and can be set based on identities, data locations, as well as by data types.