June 30, 2006
Device TrailsHow Windows remembers your connectionsZvi Gutterman and Avner Rosenan
Modern hardware devices contain information that assists the operating system in finding appropriate drivers—and intruders in finding out who was doing what when.
Zvi is founder and CTO of Safend. Avner is a Team Leader in the R&D group. They can be contacted at www.safend.com.
Operating systems such as Windows keep track of devicesdisk-on-keys, printers, cameras, headphones, mobile phones, and the likeutilized by users. These devices can be connected via physical or wireless ports, utilizing more than two-dozen protocols ranging from wired protocols such as USB and Firewire, to wireless protocols such as IrDa, Wi-Fi, and Bluetooth.
Although the information Windows saves differs depending on the device and protocol at hand, users can usually acquire information about devices previously connected to a computer. For example, you can learn that a user connected an encrypted disk-on-key to "Joe's" computer, the key manufacturer was Kingston, the key size 128 MB, and so on. Metadata describing this information can be retrieved years after the device was connected to the computer.
This data is valuable to security professionals who use it to learn how computers are used within organizations. For example, a Chief Security Officer (CSO) conducting a risk assessment or incident research would find such information helpful. However, this information could also be used by an unauthorized person who may learn about the organization's device usage from a computer he has access to while breaching the company's privacy.
Modern hardware devices contain information that assists the operating system in finding appropriate drivers to handle the device. This is true for all modern portsUSB, Firewire (IEEE 1394), Bluetooth, PCI, and PCMCIA.
Take USB, for example. Each USB device has to report the information in Table 1 during its handshake process with the host computer. While Table 1 has parameters that are unique to the USB port, other ports have other identifier types. To identify devices in a generic way, Windows translates these IDs to the standard IDs in Table 2. This translation is done by the USB drivers that are an integral part of Windows 2000/XP/2003/VISTA.
Table 1: Parameters unique to the USB port. Other ports have other identifier types.
Table 2: IDs translated by Windows to standard IDs.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|