Windows USB Devices Logs
Windows SetupAPI log files recording USB device installation events and timestamps.
What Windows USB Devices Logs is
Windows SetupAPI log files recording USB device installation events and timestamps. It is one of 90 system and configuration artifacts Arcsentry reads. System and configuration artifacts describe how a host is set up: accounts, policies, installed software, network settings and system identity.
Forensic value
System and configuration artifacts help answer questions like these:
- What is this host and who uses it?
- Which settings or accounts changed?
Where it is stored
Arcsentry looks for Windows USB Devices Logs at these locations inside a collection, disk image or mounted volume:
Windows/inf/setupapi.*.log
Windows/setupapi.log What Arcsentry records
Each Windows USB Devices Logs record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
config_key | Setup log entry key (e.g. set, dvi, inf, Exit status) | |
setting_value | Setup log entry value | |
section | Log section header | |
device_instance_id | Device instance id decomposed from a section header | |
device_enumerator_name | Enumerator segment of the device instance id | |
device_type | Storage device type from a USBSTOR instance id | |
device_manufacturer | Ven_ value of a USBSTOR instance id | |
device_product | Prod_ value of a USBSTOR instance id | |
device_revision | Rev_ value of a USBSTOR instance id | |
device_serial_number | Instance segment of a USBSTOR instance id, as Windows recorded it | |
device_vid_pid | VID_xxxx&PID_xxxx segment of a USB or HID instance id | |
event_timestamp | Section start, section end, or boot session timestamp |
Time
Section start, section end, and boot session timestamps from the SetupAPI log. Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.
Collecting Windows USB Devices Logs with Arcsentry Collector
Arcsentry Collector gathers Windows USB Devices Logs in these triage profiles: windows::profile::triage::priority, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.
The collection targets that pick it up: windows::logs::usb_devices_logs.
.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
-o E:\IR -f host.arcx --password-file E:\IR\pw.txt Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.
Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Windows USB Devices Logs can come from the tools you already use.
Analysing Windows USB Devices Logs in Arcsentry
Ask in plain English, for example "show Windows USB Devices Logs records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "windows_usb_devices_logs"
sort {-timestamp}
take 100 Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Windows USB Devices Logs records with the same tools and cites them by event ID.
Frequently asked
Does Arcsentry parse Windows USB Devices Logs?
Yes. Arcsentry's Windows USB Devices Logs parser (windows_usb_devices_logs) reads it from Windows evidence and records 12 fields per record, with provenance back to the source file.
How do I collect Windows USB Devices Logs?
Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.
Parse Windows USB Devices Logs on your own evidence.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial