GCFA · Question #320
A customer comes to you stating that his hard drive has crashed. He had backed up the hard drive, but some files on it were encrypted with Windows Encrypted File System (EFS). What do you need to do…
The correct answer is B. You need the encryption key. If that was not saved/backed up, then there is no chance of recovery. EFS-encrypted files are protected by the user's private key certificate - without the original encryption key, even properly restored files remain inaccessible.
Question
A customer comes to you stating that his hard drive has crashed. He had backed up the hard drive, but some files on it were encrypted with Windows Encrypted File System (EFS). What do you need to do to be able to give him access to those restored encrypted files?
Options
- ANothing, they are unrecoverable.
- BYou need the encryption key. If that was not saved/backed up, then there is no chance of recovery.
- CNothing, when you restore, he will have access.
- DYou need to make sure that when you restore, you give the new machine the same user account so
How the community answered
(42 responses)- A2% (1)
- B79% (33)
- C7% (3)
- D12% (5)
Why each option
EFS-encrypted files are protected by the user's private key certificate - without the original encryption key, even properly restored files remain inaccessible.
The files are not necessarily unrecoverable - if the user's EFS certificate and private key were previously exported and backed up, decryption remains fully possible after restoration.
EFS uses asymmetric cryptography, encrypting the file encryption key (FEK) with the user's public key certificate, so decryption requires the matching private key. If the user's certificate and private key were not exported and backed up before the drive failure, the FEK cannot be unwrapped and the file contents remain permanently encrypted. Recovery is only possible if the original private key or a pre-configured Data Recovery Agent (DRA) certificate is available.
Simply restoring the files does not grant access because EFS decryption requires the user's private key to unwrap the file encryption key, which is not provided by the restore process itself.
Creating a new account with the same username is insufficient because EFS keys are bound to a user's unique certificate and SID, not the account name - a new account generates a new key pair that cannot decrypt files encrypted with the original key.
Concept tested: EFS encryption key dependency for file recovery
Source: https://learn.microsoft.com/en-us/windows/security/information-protection/encrypting-file-system/encrypting-file-system-overview
Topics
Community Discussion
No community discussion yet for this question.