3 ms·
Hypothetical scenario: $iv = rnd(); $encrypted_header = byte[256]; $checksum = sha1($iv + $encrypted header); disk layout: $iv + $encrypted_header + $
by the8472 13y ago
Hypothetical scenario:
$iv = rnd();
$encrypted_header = byte[256];
$checksum = sha1($iv + $encrypted header);
disk layout: $iv + $encrypted_header + $checksum
This would look like random data to any generic statistical test and yet be easily identifiable for a specific pattern matcher simply by doing the hash based on the visible data and checking if it matches.
Of course this can be easily prevented, but a statistical test is insufficient to prove that.