3 events · On by default
Device and storage logs
Microsoft-Windows-Partition/Diagnostic
Plug and Play and storage events that record when removable devices were connected, with vendor, model and serial number.
Why it matters
USB exfiltration and malicious device cases depend on knowing exactly which device was connected and when.
All Devices events
Event Viewer path
Applications and Services Logs > Microsoft > Windows > Partition > Diagnostic
Collect this log
wevtutil epl "Microsoft-Windows-Partition/Diagnostic" "C:\IR\Microsoft-Windows-Partition%4Diagnostic.evtx"