Use this when protecting data while it is processed in memory.
Data in Use
Data in use is data being processed in memory. It is the hardest state to protect, using access control, memory protection and confidential computing enclaves such as Intel TDX or AMD SEV.
1. Data in use is in memory/CPU — hardest to protect.
2. Confidential computing enclaves.
3. Restrict debugging/dumps.
4. Minimise time in plaintext.
5. Strong host security.
data loaded → processed in memory (enclave)
Context & applicabilityCommon mistakes · platform/version boundaries
- Sensitive data in crash dumps and memory dumps sent to vendors.
- Swap/page files holding decrypted data unencrypted.
- Screens visible to others (shoulder surfing) — privacy filters for sensitive roles.
- Debug and admin tools able to read process memory (restrict
SeDebugPrivilege).
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Hardest state to protect.
- Confidential computing uses enclaves.
- Access control and memory protection help.
- Confidential computing (SEV-SNP, TDX, SGX) use — protection in memory
- Memory dump/crash dump handling — exposure
- Least privilege for processes handling data — access
ReferenceWhy it matters1 section · depth on demand
Controls
- Least privilege and process isolation.
- Memory protections (ASLR, DEP, Credential Guard).
- Confidential computing (Intel TDX/SGX, AMD SEV-SNP) encrypts memory of VMs or enclaves, protecting data even from the host admin.
ReferenceImportant terms & boundaries2 sections · depth on demand
Confidential computing
Trusted execution environments keep data encrypted in memory and isolate it from the host OS and hypervisor: Intel SGX/TDX, AMD SEV-SNP, Arm CCA. Cloud offerings include Azure Confidential VMs, AWS Nitro Enclaves and GCP Confidential VMs. Attestation shows the code running inside before keys are released.
In depth
Data in use is data being processed in memory by applications and users. It is the hardest state to protect, because it must be decrypted to be used. Protection relies on controlling who and what can access the running system, and increasingly on hardware-based isolation.
| Control | Purpose |
|---|---|
| Access control and least privilege | Limit who sees data |
| Endpoint security / EDR | Detect malware reading memory |
| Screen and clipboard controls, DLP | Limit copying |
| Masking in applications | Show only what users need |
| Confidential computing (SGX, SEV-SNP, TDX) | Encrypt memory even from the host |
Attacks on data in use include memory-scraping malware and credential dumping, which is why credential protection features (Credential Guard) matter.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Data Security → Data in Use. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%