Track a USB device

Track a USB device

Hak5 isn't your ordinary tech show. It's hacking in the old-school sense, covering everything from network security, open source and forensics, to DIY modding and the homebrew scene. Damn the warranties, it's time to Trust your Technolust. In this episode, see how to track a USB device.

In this episode Peter Giannoulis joins us from TheAcademyPro.com. Chris Gerling is back in studio talking about USB Device Tracking. And Matt is building the new HakHouse firewall/router with PFsense. Plus a ton of haksnax to get your grub on.

USB Device Tracking

If you've ever used a USB storage device and wondered how stealthy you can be with them, you're in for a scare. Windows XP logs pretty much everything you'd want to know about that USB key in the registry each time it's plugged in and written to.

When you plug in your USB drive, the Plug and Play manager gets notified and queries the device descriptor in the firmware for information about the device. This helps it locate a driver, which is referenced in the %SystemRoot%/inf folder by various .inf files. Once the device is identified and a driver selected, the information is dropped into HKEY_LOCAL_MACHINESystemCurrentControlSetEnumUSBSTOR with a format similar to Disk&Ven_###&Prod_###&Rev_### which will identify the device ID, manufacturer and more. An important number you will find here is the ParentID prefix, which I did not actually say during the segment but this is something that will appear in virtually every registry entry regarding the device.

Microsoft uses serial numbers on the devices to distinguish between devices with the same manufacturer or model. In the case that the serial number is not unique (or even not present), the PnP manager will create a unique instance ID for the device.

Search Hak5 on WonderHowTo for more tech episodes from this Revision3 show.

Hosted by revision3.com
Creator's Site: www.revision3.com
Curated By: rmansur

Comments

Add your comment:

4 Years in the Making: Insane Papercraft City

Tokyo art student, Wataru Itou, spent four long years crafting his meticulous paper city, entitled "A Castle On the Ocean".  The miniature papercraft city was constructed with ...

Jetman Flys Over Atlantic with DIY Wings - Plummets!

Yves Rossy, AKA Jetman, attempted to fly across the Atantic from Morocco to Spain yesterday. His homemade, jet powered wings "span 8 feet and are powered by four kerosene-fueled jet engines ...

Avoid Turkey-Frying-Fire Disaster this Thanksgiving

Thinking of deep frying a turkey this Thanksgiving? Careful. Or this might happen: Luckily, Alton Brown (of Food Network) offers a thorough step-by-step on how to fry that bird. Hackaday has also ...

Turbo Turkey - Cook the Damn Bird Above the Camshaft

So, I suppose we're going both redneck and Thanksgiving turkey twice today (Redneck Slingshot Chick + Extreme Thanksgiving Recipes). Something about home for the holidays inspires... and this is ...

Deeply Trusting Female Volunteers Bod to Redneck Science: First Human Slingshot

Well, maybe these folks aren't redneck. That is a pretty nice house, and that slingshot doesn't look too jery rigged. But the idea of a human slingshot is certainly redneck (and lotsa fun). Previously ...

loading...