nerdexam
GIAC

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.

File System & Registry Forensics

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)
  • A
    2% (1)
  • B
    79% (33)
  • C
    7% (3)
  • D
    12% (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.

ANothing, they are unrecoverable.

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.

BYou need the encryption key. If that was not saved/backed up, then there is no chance of recovery.Correct

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.

CNothing, when you restore, he will have access.

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.

DYou need to make sure that when you restore, you give the new machine the same user account so

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

#EFS#encryption key recovery#file restoration#Windows encryption

Community Discussion

No community discussion yet for this question.

Full GCFA Practice