Skip to main content

Confidentiality and Privacy

Every organization holds information it must not let out: merger plans, pricing, source code, and personal data about customers and employees. Confidentiality is about keeping sensitive information away from people who should not see it. Privacy is about respecting the rights of the people the information describes. The two overlap heavily, and both are Trust Services categories, which is why they sit together in the blueprint and in many SOC 2® reports.

This chapter begins with encryption, the main technical tool for keeping data confidential, and then draws the line between confidentiality and privacy. It covers ways to protect confidential data while applications are built and tested, data loss prevention, and what a breach costs. It then sets out controls for each stage of handling confidential data, the SOC 2® confidentiality and privacy criteria, and walkthroughs of confidentiality and privacy procedures.


Encryption Fundamentals​

Encryption turns readable data (plaintext) into unreadable data (ciphertext) using an algorithm and a key. Only someone with the right key can turn it back (decryption). The strength of encryption depends on the algorithm and on keeping the keys secret, so key management is as important as the encryption itself.

Symmetric and Asymmetric Encryption​

FeatureSymmetric EncryptionAsymmetric Encryption
KeysOne shared secret key encrypts and decryptsA key pair: what one key encrypts, only the other can decrypt
SpeedFast; suited to large volumes of dataSlower; computationally heavy
Key distributionHard: the secret key must reach the other party safelyEasier: the public key can be shared openly; the private key never leaves its owner
Common algorithmsAES (current standard); DES and 3DES are obsoleteRSA, elliptic curve cryptography (ECC)
Typical usesEncrypting stored data and bulk transfersExchanging keys, digital signatures, encrypted email

With asymmetric encryption, the direction matters. To send someone a confidential message, encrypt it with the recipient's public key, so only the recipient's private key can open it. To sign a message, the sender uses the sender's private key, and anyone can verify the signature with the sender's public key.

Exam Tip

Symmetric = same key shared by both parties. Asymmetric = a pair of public and private keys. Real systems combine them: asymmetric encryption is used to exchange a symmetric key safely, and the fast symmetric key then encrypts the data.

Hashing​

Hashing is a one-way function: it turns any input into a fixed-length output (a hash or digest), and the input cannot be recovered from the hash. Changing even one character of the input produces a completely different hash. Hashing therefore checks integrity (has the data changed?) rather than providing confidentiality.

AlgorithmOutput LengthStatus
MD5128 bitsBroken: attackers can create collisions (two inputs with the same hash)
SHA-1160 bitsBroken for the same reason; no longer acceptable
SHA-256 (part of SHA-2)256 bitsCurrent standard
SHA-3224 to 512 bitsNewer standard, built on a different design

Public Key Infrastructure (PKI)​

Asymmetric encryption only works if you can trust that a public key really belongs to the person or website it claims to. Public key infrastructure (PKI) provides that trust through digital certificates, electronic documents that bind a public key to an identity. A certificate authority (CA) verifies the identity and signs the certificate, sometimes relying on a registration authority (RA) to do the verification. Certificates that are compromised or no longer valid are revoked and listed on a certificate revocation list (CRL).

Data at Rest and Data in Transit​

StateDescriptionCommon Controls
At restData stored on disks, in databases, or on backup mediaFull-disk encryption, database encryption, encrypted backups
In transitData moving across a networkTLS (as in HTTPS), VPNs, secure file transfer

Transport Layer Security (TLS) replaced the older, insecure SSL protocol. It uses asymmetric cryptography to authenticate the server and agree on a session key, then symmetric encryption for the data itself, and it also protects the data's integrity in transit.


Confidentiality and Privacy Compared​

DimensionConfidentialityPrivacy
ConcernKeeping sensitive information from unauthorized access or disclosureCollecting, using, keeping, sharing, and disposing of personal information in line with the entity's commitments and the law
What is protectedAny sensitive information: trade secrets, financial data, plans, and personal dataInformation about identifiable people: customers, employees, patients
Typical source of the obligationContracts, nondisclosure agreements, and the entity's own policiesLaws and regulations (such as HIPAA and the GDPR) and the entity's privacy notice
Trust Services categoryConfidentiality (C1)Privacy (P1-P8)
ExampleKeeping Bear Co.'s merger plans from leakingMaking sure Bear Co. tells customers how it will use their email addresses, and uses them only that way

Privacy depends on confidentiality, since personal data that leaks has obviously been mishandled. But privacy goes further. It also covers notice, consent, limits on use, and individuals' rights to see and correct their data, none of which encryption addresses. And much confidential information, such as a proprietary formula, has nothing to do with privacy at all.


Protecting Confidential Data in Applications​

The blueprint asks how confidential data is protected during the design, development, testing, and implementation of applications that use it. The main concern is that developers and testers need realistic data, but they should not see real Social Security numbers or card numbers. Several techniques help:

MethodWhat It DoesReversible?Typical Use
Data obfuscationThe general term for disguising data so that it is useless to unauthorized viewers; masking and scrambling are forms of itDepends on the techniqueAny non-production use
MaskingReplaces some or all characters with substitutes, such as showing only XXX-XX-1234Static masking: no. Dynamic masking hides data on screen but leaves the stored value intactScreens, reports, and test data
Scrambling (shuffling)Mixes up characters or swaps values among recordsGenerally noTest environments
TokenizationReplaces the sensitive value with a random token; the real value is kept in a secured token vaultYes, but only through the vaultPayment card data (reduces PCI DSS scope)
EncryptionTransforms data with a keyYes, with the keyStored and transmitted data
PseudonymizationReplaces identifiers with artificial ones; the link back is kept separatelyYes, with the separately held informationAnalytics on personal data (still personal data under the GDPR)
AnonymizationRemoves identifying information permanentlyNoResearch and aggregate analysis

Each stage of the development life cycle has its own job:

StageProtection Step
DesignClassify the data the application will use and define how each class must be protected
DevelopmentBuild tokenization, masking, and encryption into the application
TestingUse masked, tokenized, or synthetic test data instead of real production data
ImplementationTurn on dynamic masking and access controls in production, and extend data loss prevention monitoring to the new application

Example: Polar Inc. is building a new payroll application. Developers and testers never see real employee Social Security numbers: the security team supplies test data in which every number has been replaced with a token, so the application's logic can be tested without exposing actual values.


Data Loss Prevention (DLP)​

Data loss prevention (DLP) is the set of tools, policies, and processes that detect and stop sensitive data from leaving the organization without authorization.

TypeWhere It WorksWhat It Watches
Network DLPAt the points where traffic leaves the networkEmail, web uploads, file transfers
Endpoint DLPOn laptops and workstationsCopying to USB drives, printing, uploads from the device
Cloud DLPInside SaaS and cloud platformsFile sharing links, data moving between cloud services

DLP tools work in three steps. They inspect content for patterns such as card numbers, Social Security numbers, or document labels; they consider context, such as who is sending, to whom, and where; and they enforce policy by blocking, quarantining, encrypting, or alerting.

Example: Illini Security sets its network DLP to flag any outbound email containing more than 10 numbers in Social Security number format. When an employee tries to email a spreadsheet of 500 customer SSNs to a personal address, the DLP tool blocks the email and alerts the security team.

DLP is only as good as its rules. It can protect only the kinds of data it has been configured to recognize, so its rules must track the organization's data classification scheme and be updated as new kinds of sensitive data appear.


Financial and Operational Implications of a Data Breach​

A data breach costs far more than the immediate cleanup:

CategoryExamples
Direct financial costsForensic investigation, legal counsel, notifying affected people, credit monitoring, call centers
Regulatory and legalFines and penalties (the GDPR allows fines up to €20 million or 4% of worldwide annual turnover, whichever is higher), lawsuits, settlements, mandated audits
OperationalSystems taken offline, disrupted operations, staff pulled from regular work
ReputationalLost customers, harder sales, negative press, a falling stock price
InsuranceHigher premiums at renewal, deductibles, and disputes over coverage

Industry studies put the average total cost of a breach in the millions of dollars. Organizations that encrypt sensitive data, detect breaches quickly, and have a tested response plan generally lose less, because less data is exposed and the incident is contained sooner.

Example: Kingfisher Industries suffers a breach that exposes 200,000 customer payment records. The direct costs are $2 million for notification and credit monitoring, $1.5 million for forensic investigation, and a $3 million regulatory penalty, a total of $6.5 million. Lost customers and brand damage cost more than another $5 million over the next two years.


Controls Over Confidential and Personal Data​

The blueprint asks you to determine controls and data management practices to securely collect, process, store, transmit, and delete confidential data or data subject to privacy rules. Those five verbs map onto the data life cycle described in the Data Management chapter:

ActivityKey Controls
CollectNotice and consent where required, collecting only the data needed, input validation, classifying data when it enters the system
ProcessRole-based access and least privilege, audit logging, data quality checks
StoreEncryption, access control lists, classification labels, encrypted backups, retention schedules
TransmitTLS, VPNs, encrypted email, secure file transfer
DeleteSecure deletion or destruction at the end of the retention period, with documentation

Controls start with data classification, because the organization cannot protect data appropriately until it knows how sensitive the data is. A common four-level scheme:

LevelHarm If DisclosedExample
PublicNoneMarketing materials
InternalMinorInternal memos
ConfidentialSignificantUnreleased financial statements
RestrictedSeverePersonal data, health information, trade secrets

Deletion deserves care, because ordinary deletion usually leaves the data recoverable. NIST's guidance on media sanitization (SP 800-88) describes three levels: clear (overwriting data so ordinary tools cannot recover it), purge (techniques such as cryptographic erase or degaussing that defeat even laboratory recovery), and destroy (shredding, disintegrating, or incinerating the media). Crypto-shredding, destroying the encryption keys for data that was always stored encrypted, makes the data unreadable without touching the media. Degaussing erases magnetic media with a strong magnetic field. Whatever the method, the organization should document the destruction.


SOC 2® Confidentiality and Privacy Criteria​

In a SOC 2® engagement that includes these categories, the service auditor evaluates the service organization's controls against additional criteria, on top of the common criteria.

Confidentiality (C1)​

CriterionFocus
C1.1The entity identifies and maintains confidential information to meet its confidentiality objectives
C1.2The entity disposes of confidential information to meet its confidentiality objectives

Privacy (P1-P8)​

CriteriaTopicFocus
P1NoticeThe entity tells people about its privacy practices
P2Choice and consentThe entity offers choices and obtains consent where required
P3CollectionPersonal information is collected only for the purposes identified
P4Use, retention, and disposalPersonal information is used only for the stated purposes, kept only as long as needed, and disposed of securely
P5AccessPeople can see and correct their personal information
P6Disclosure and notificationPersonal information is disclosed to third parties only as permitted, and breaches are reported to the people affected
P7QualityPersonal information is kept accurate, complete, and relevant
P8Monitoring and enforcementThe entity monitors compliance and handles privacy inquiries and complaints

The same two kinds of findings apply here as in every SOC 2® category. A design deficiency means a control is missing or would not meet the criterion even if performed perfectly: Bear Co. has no requirement at all to encrypt confidential client data at rest. An operating deviation means a suitably designed control was not performed as designed: Bear Co. requires encryption, but an administrator turned it off for three months during a system migration. The Security Testing chapter covers this distinction in more detail.


Walkthroughs of Confidentiality and Privacy Procedures​

The blueprint asks you to walk through an organization's procedures relevant to confidentiality and privacy and compare what you observe with the documented policy. The method is the same as for security walkthroughs (see Security Testing): select a procedure, read the policy, trace an instance through the process, ask the people involved, and compare. For confidentiality and privacy, good procedures to choose include how personal data is collected and consent recorded, how access to confidential data is granted and removed, how data is disposed of, and how breaches are escalated and reported.

AreaWhat to Look For
IT risk managementRisk assessments that include confidentiality and privacy risks
Human resourcesConfidentiality agreements signed at hiring; access to confidential data removed promptly at termination
Training and educationPrivacy and data handling training delivered as often as the policy requires
Incident responseBreach notification procedures that meet regulatory deadlines
Vendor managementContracts with confidentiality and data protection terms for vendors that handle the data

Example: Illini Entertainment's policy requires access to customer personal data to be removed within 24 hours of an employee's termination. In a walkthrough, the auditor finds that two terminated employees kept access for 15 days. The policy is suitably designed but was not followed, so this is an operating deviation.


Summary​

TopicKey Takeaway
EncryptionSymmetric is fast for bulk data; asymmetric solves key exchange and enables signatures; hashing checks integrity
Confidentiality vs. privacyConfidentiality protects sensitive information; privacy governs personal information and individuals' rights
Protecting data in applicationsMasking, scrambling, tokenization, encryption, pseudonymization, and anonymization; never test with real sensitive data
DLPInspects content and context on networks, endpoints, and cloud services; only as good as its rules
Breach costsDirect, regulatory, operational, reputational, and insurance costs
Data handling controlsClassify first, then control collection, processing, storage, transmission, and deletion
SOC 2® criteriaConfidentiality C1.1-C1.2; privacy P1-P8
WalkthroughsCompare observed procedures with documented policies

Practice Questions​

  1. Bear Co. stores customer payment data in a cloud database encrypted with AES-256 and sends it to its payment processor over TLS 1.3. A new developer proposes adding MD5 hashes to check that files are not altered in transfer. Should the security team approve?

  2. In a SOC 2® engagement at Polar Inc., the auditor tests confidentiality controls. Polar Inc.'s retention policy requires client files to be securely deleted 90 days after an engagement ends, and a scheduled deletion procedure exists. The auditor finds client files from engagements that ended eight months ago still on the file server. Is this a design deficiency or an operating deviation?

  3. Illini Security installs a DLP tool with rules that block outbound email containing credit card numbers, but it creates no rules for Social Security numbers, health records, or source code. Six months later an employee emails 1,000 patient health records to an outside address and no alert fires. What went wrong, and what should the team have done?

Answers
  1. No. MD5 is broken: attackers can create two different files with the same MD5 hash, so it cannot be trusted to show that a file is unchanged. Any integrity check should use SHA-256 or stronger. TLS already protects the integrity of data in transit, so an additional check is useful mainly for files at rest or end-to-end verification, and it must use a current algorithm.

  2. An operating deviation. The control (a 90-day retention rule with a scheduled deletion procedure) is suitably designed; it was not performed. The auditor would report a deviation and evaluate its effect on criterion C1.2, which covers disposal of confidential information.

  3. The DLP rules were incomplete: the tool can block only the kinds of data it is set to recognize. Illini Security should have classified all of its sensitive data (card data, personal data, health information, intellectual property) first, written DLP rules for each class, and tested that each rule actually detects its data type.