- Watermarking attack
In cryptography, a watermarking attack is an attack on
disk encryption methods where the presence of a specially crafted piece of data (e.g., adecoy file) can be detected by an attacker without knowing the encryption key.Problem description
Disk encryption suites generally operate on data in 512-byte sectors which are individually encrypted and decrypted. These 512-byte sectors alone can use any
block cipher mode of operation (typically CBC), but since arbitrary sectors in the middle of the disk need to be accessible individually, they cannot depend on the contents of their preceding/succeeding sectors. Thus, with CBC, each sector alone has to use aninitialization vector (IV). If these IVs are predictable by an attacker, then a specially crafted file can be generated to "NOP -out" the IV, causing different blocks on the encrypted disk to have identical sectors, or at least the first block in a number of sectors to be identical. The sector patterns generated in this way can give away the existence of the file, without any need for the disk to be decrypted first. The problem is analogous to that of using block ciphers in the electronic codebook (ECB) mode, but instead of whole blocks, only the first block in different sectors are identical.
Wikimedia Foundation. 2010.