Protecting System Information with Syskey
EFS protects files on the hard disk against attack, but the storage location of the private keys for the EFS-protected files presents unique challenges for the system administrator.
As previously discussed, EFS files are encrypted with a FEK that is itself encrypted with the user’s public key. The user must possess the corresponding private key to decrypt that data. During normal operation, that private key must obviously be stored somewhere on the hard drive—if it were stored only in protected volatile memory, EFS files would not be accessible once a computer was restarted.
The location of a user’s private keys is not a big secret,
although it is obfuscated to keep casual attackers away. The keys are
stored in a protected key store database. These keys are all
protected by a single key
called a master key.
Other keys used by the system for various cryptographic operations,
called protection keys, are also stored in a
similar fashion.
Because an attacker who is able to obtain the master key for that account can decrypt the stored private keys, it must be protected. To counter this type of attack, Microsoft provides a utility called Syskey.
How Syskey Works
When activated as shown later, the Syskey utility simply encrypts the
private key store and the SAM using a 128-bit symmetric key called
the system key, or syskey. The syskey must be read into system memory during boot to decrypt the SAM and private key store to allow the operating system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access