MITRE D3FENDdefensive technique
D3-FE File Encryption
- Tactic
- Harden
Definition
Encrypting a file using a cryptographic key.
How it works
How it Works
Files are encrypted using either a single key for both encryption and decryption or separate keys. Single key encryption is symmetric encryption and using two key distinct keys is asymmetric encryption.
Symmetric Cryptography
Symmetric encryption uses the same cryptographic key for both the encryption and decryption a file. Managing keys at scale sometimes uses asymmetric key exchange. Protocols such as RSA or Diffie-Hellman can be used to share the symmetric cryptographic key with the others.
Asymmetric Cryptography
Asymmetric encryption is typically accomplished using public and private key certificates based on the X.509 standard. Files are encrypted using the public key and decrypted using their private key. Asymmetric encryption is typically slower than symmetric encryption and not widely used for large file encryption, but is popular for key wrapping, key exchanges, and digital signatures.
Considerations
• Continuous monitoring must be carried out to ensure private keys are not compromised and the certificate authority (CA) is trusted.
• Transfer of private keys between multiple devices must be performed securely.
Related
Counters · MITRE ATT&CK (127)
- T0895 Autorun Image technique
- T0894 System Binary Proxy Execution technique
- T0893 Data from Local System technique
- T1649 Steal or Forge Authentication Certificates technique
- T0888 Remote System Information Discovery technique
- T1564.007 VBA Stomping sub-technique
- T1564.006 Run Virtual Instance sub-technique
- T1556.003 Pluggable Authentication Modules sub-technique
- T1574.012 COR_PROFILER sub-technique
- T0851 Rootkit technique
- T0865 Spearphishing Attachment technique
- T0871 Execution through API technique
- T1127.001 MSBuild sub-technique
- T1027.004 Compile After Delivery sub-technique
- T1546.015 Component Object Model Hijacking sub-technique
- T1573 Encrypted Channel technique
- T1573.002 Asymmetric Cryptography sub-technique
- T1574.004 Dylib Hijacking sub-technique
- T1048.002 Exfiltration Over Asymmetric Encrypted Non-C2 Protocol sub-technique
- T1071.001 Web Protocols sub-technique
- T1074.001 Local Data Staging sub-technique
- T1564.002 Hidden Users sub-technique
- T1564.003 Hidden Window sub-technique
- T1574.001 DLL sub-technique
- T1574.006 Dynamic Linker Hijacking sub-technique
- T1574.007 Path Interception by PATH Environment Variable sub-technique
- T1574.008 Path Interception by Search Order Hijacking sub-technique
- T1574.009 Path Interception by Unquoted Path sub-technique
- T1574 Hijack Execution Flow technique
- T1204.002 Malicious File sub-technique
Child of · MITRE D3FEND (1)
- D3-PH Platform Hardening defensive technique
References
- https://www.veritas.com/information-center/file-encryption File Encryption 101: Safeguarding Your Sensitive Data
- https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-111.pdf NIST Special Publication 800-111 - Guide to Storage Encryption Technologies for End User Devices
- https://csrc.nist.gov/files/pubs/shared/itlb/itlbul2020-08.pdf NIST ITL Bulletin August 2020 - Security Considerations for Exchanging Files Over the Internet