2

Want to know what happen to:

  1. Bitlocker partition
  2. Veracrypt partition
  3. Veracrypt container

If there's bad sector appear in the encryption area.

Can I still mount/open the encryption to save non-corrupted data inside it?

OR

I cant open it at all and good bye?

1
  • 1
    For Veracrypt, you might consider this question: security.stackexchange.com/questions/128197/… Plus, you might be better off to decide on a suitable file system instead, which addresses this problem at the lower level. BTRFS is a candidate.
    – Marcel
    Apr 14, 2022 at 11:22

1 Answer 1

1

If the bad block appears in the area of the drive where the encrypted file data is saved, then the specific block will be unreadable as well. This is because encryption still works block-wise, allowing to read a random sector of a file or device.

Every block is encrypted using it's own encryption key (usually derived from the block address and the used master encryption key).

If one bad sector is unreadable, the corresponding block will not be (fully) be decryptable, too.

But there are more sensitive areas: Bitlocker and VeraCrypt maintain a section that contains the encrypted master encryption key. For data safety purposes this section is written at least two times, usually at the beginning and at the end of the encrypted partition/image. But if there would be a bad sector destroying both of them then all encrypted data would be undecryptable.

1
  • 1
    For veracrypt, I know we can make backup of the header. So we can restore it if the header corrupted. But how about bitlocker?
    – user276916
    Apr 14, 2022 at 16:35

You must log in to answer this question.