Windows Vista Security

29
Windows Vista Security By: Chris Reber April 22, 2008

Transcript of Windows Vista Security

Page 1: Windows Vista Security

Windows Vista SecurityBy: Chris ReberApril 22, 2008

Page 2: Windows Vista Security

Agenda

Vista Security Overview User Account Control Authentication Firewall Enhancement Windows Service Hardening Data Protection

Page 3: Windows Vista Security

Vista Security Enhancements Windows Vista is hailed as the most

secure Windows version yet. Microsoft utilized a secure

developmental lifecycle to create the system.

They hardened the services and added enhancements for 64-bit computing.

There are new User, Network, and Application Security Options.

New Data Protection Options. Added security options in IE7.

Page 4: Windows Vista Security

User Account Controls

Allows users to be productive and change common settings while running as a standard user, without requiring administrative privileges.

Prevents users from making potentially dangerous changes to their computers, without limiting their ability to run applications.

Page 5: Windows Vista Security

Authentication

Includes new authentication architecture that is easier for third-party developers to extend.

This will lead to a wider choice of smart cards, fingerprint scanners, and other forms of strong authentication.

Page 6: Windows Vista Security

Firewall Enhancements

The new outbound filtering in the firewall provides administrative control over peer-to-peer sharing applications and other similar applications that businesses want to restrict.

Page 7: Windows Vista Security

Windows Service Hardening Limits the damage attackers can

do in the unlikely event that they are able to successfully compromise a service.

Increased to Six Service Accounts. The risk of attackers making

permanent changes to the Windows Vista client or attacking other computers on the network is reduced.

Page 8: Windows Vista Security

Data Protection

BitLocker Helps prevent unauthorized

access to data on lost or stolen computers by combining two major data-protection procedures. Encrypting the entire Windows

operating system volume on the hard disk.

Verifying the integrity of early boot components and boot configuration data.

Page 9: Windows Vista Security

BitLocker Requirements

Two NTFS-formatted volumes: A "boot volume" with a minimum

size of 1.5GB, where the OS boots from.

And the "system volume" which contains the operating system.

Trusted Platform Module (TPM v1.2).

Trusted Computing Group (TCG)-compliant BIOS for use with TPM.

Page 10: Windows Vista Security

BitLocker Modes Transparent Operation Mode User Authentication Mode USB Key Mode

Page 11: Windows Vista Security

Transparent Operation Mode This mode exploits the

capabilities of the TPM 1.2 hardware to provide for a transparent user experience.

The user logs onto Windows Vista as normal. The key used for the disk encryption

is sealed (encrypted) by the TPM chip and will only be released to the OS loader code if the early boot files appear to be unmodified.

Page 12: Windows Vista Security

User Authentication Mode This mode requires that the user

provide some authentication to the pre-boot environment in order to be able to boot the OS.

Two authentication modes are supported: a pre-boot PIN entered by the user or a USB key.

Page 13: Windows Vista Security

USB Key Mode

The user must insert a USB device that contains a startup key into the computer to be able to boot the protected OS.

Note that this mode requires that the BIOS on the protected machine supports the reading of USB devices in the pre-OS environment.

Page 14: Windows Vista Security

Combinations of Modes

The following combination of the modes are supported: TPM TPM + PIN TPM + PIN + USB Key TPM + USB Key USB Key

Page 15: Windows Vista Security

BitLocker Key Relationships

Page 16: Windows Vista Security

BitLocker Relationships

Page 17: Windows Vista Security

BitLocker Relationships

Page 18: Windows Vista Security

BitLocker Encryption

AES-CBC + Elephant Diffuser There are four separate

operations in each encryption. The plaintext is exclusive-orred (xorred) with a sector key, then run through two (unkeyed) diffusers, and finally encrypted with AES in CBC mode.

Page 19: Windows Vista Security

AES-CBC + diffuser

Page 20: Windows Vista Security

Sector Key Creation

Where E () is the AES encryption function, Ksec is the 128 or 256-bit key for this component.

e() is the encoding function used in the AES-CBC layer, and e‘ (s) is the same as e(s) except that the last byte of the result has the value 128.

The sector key Ks is repeated as many times as necessary to get a key the size of the block, and the result is xorred into the plaintext.

Page 21: Windows Vista Security

Diffuser A (Encryption)

The value i is a loop counter that goes around the data array Acycles = 5 times. (Remember that all indices are modulo n, so the wrap-around is automatic.) The addition is modulo 232, <<< is the rotate-left operator, and R(a) := [9; 0; 13; 0] is an array of 4 constants that specify the rotation amounts.

Page 22: Windows Vista Security

Diffuser B (Encryption)

Diffuser B is very similar to Diffuser A, however, the R (b) := [0; 10; 0; 25] and the Bcycles is only 3.

Page 23: Windows Vista Security

AES-CBC

The AES key KAES is either 128 bits or 256 bits, depending on the selected version. The block size is a always a multiple of 16 bytes, so no padding is necessary.

E () is the AES encryption function, and e() is an encoding function that maps each sector number s into a unique 16-byte value.

Note that IVs depends on the key and the sector number, but not on the data.

Page 24: Windows Vista Security

AES-CBC + diffuser

Page 25: Windows Vista Security

Current Limitations

Bitlocker only available on Windows Vista Ultimate, Enterprise and Server 2008.

Vista can only encrypt the system volume, further capability to be added with SP1.

Page 26: Windows Vista Security

Security Concerns

No Back Door for Law Enforcement When operating in “Transparent

Operation Mode” or “User Authentication Mode” the system is vulnerable to “Cold Boot Attacks”

When in "USB Key"-only mode a piece of software could read and record the key for later use to exploit the machine.

Page 27: Windows Vista Security

Agenda

Vista Security Overview User Account Control Authentication Firewall Enhancement Windows Service Hardening Data Protection Questions

Page 28: Windows Vista Security

Questions

Page 29: Windows Vista Security

References http://technet2.microsoft.com/WindowsVista/en/library/

ba1a3800-ce29-4f09-89ef-65bce923cdb51033.mspx?mfr=true

http://207.46.196.114/windowsserver2008/en/library/2d130e11-a796-43b7-98ed-d389cad285f51033.mspx?mfr=true

http://en.wikipedia.org/wiki/BitLocker_Drive_Encryption

“AES-CBC + Elephant diffuser A Disk Encryption Algorithm for Windows Vista”, Niels Ferguson, Microsoft, August 2006

“Security Enhancements in Windows Vista”, Microsoft Corp, May 2007. http://www.microsoft.com/presspass/newsroom/security/

VistaSecurity.mspx