CyberKit

Event IDs

Security event 6416

A new external device was recognized by the System

Channel: Security. Category: Detailed Tracking (Audit PNP Activity).

What it records

Generated every time Plug and Play recognizes a new external device on the system: for example, a device being connected or enabled for the first time. Captures the device's instance path, description, hardware/class GUIDs, and physical bus location, and is logged on the machine where the device was attached.

Why it matters

The Security-log counterpart to registry-based USB forensics (USBSTOR/USB device-history analysis): it's a live, timestamped record of exactly when a specific device (identified by hardware/vendor IDs, not just a friendly name) first appeared on a host. Because it's typically triggered by the SYSTEM account, Microsoft's own guidance is to flag any occurrence where the Subject isn't SYSTEM.

What triggers it

Any external Plug and Play device connected or enabled for the first time: USB flash drives and external disks, keyboards/mice, phones in MTP/media mode, webcams, or other removable hardware. On a domain controller, administrative workstation, or other host where external media shouldn't appear at all, this event is itself the anomaly worth reviewing, regardless of the specific device it names.

Fields that carry the answer

Key fields
FieldWhat it tells you
Device IDThe device instance path (Device Manager's 'Details' tab): the unique identifier for the specific physical device connected, matched against a known-device allowlist during triage.
Device NameHuman-readable device description: e.g. a specific drive model, useful for quickly recognizing what was plugged in.
Class NameThe device class (e.g. DiskDrive): separates mass-storage devices (the highest data-exfiltration/malware-delivery risk) from input devices, imaging devices, etc.
Vendor IDsHardware IDs including vendor/product/serial identifiers: the most specific way to recognize or block a particular physical device across multiple hosts/events.
Location InformationPhysical bus/port location the device was attached to: useful for correlating with a specific machine's port when investigating in person.

In practice

Logged when a USB mass-storage device is connected to a workstation for the first time: Device Name 'Generic USB Flash Disk,' Class Name DiskDrive, and Vendor IDs containing the drive's hardware/serial identifiers. On an administrative workstation or domain controller where removable storage is prohibited by policy, this event alone. Regardless of the specific device. Is the indicator worth escalating.

Sample record

A new external device was recognized by the System.

Subject:
	Security ID:		NT AUTHORITY\SYSTEM
	Account Name:		WKSTN042$
	Account Domain:		CORP
	Logon ID:		0x3E7

Device Information:
	Device ID:		USBSTOR\Disk&Ven_Generic&Prod_Flash_Disk&Rev_8.07\000000001234&0
	Device Name:		Generic USB Flash Disk USB Device
	Class ID:		{4D36E967-E325-11CE-BFC1-08002BE10318}
	Class Name:		DiskDrive
	Vendor IDs:		USBSTOR\DiskGeneric_Flash_Disk____8.07 USBSTOR\DiskGeneric_Flash_Disk_ GenDisk
	Compatible IDs:		USBSTOR\Disk USBSTOR\RAW GenDisk
	Location Information:	Port_#0002.Hub_#0003

ATT&CK techniques

  • T1200: Hardware Additions

Sources

Paste a record into Event XML or open a log in EVTX Reader.