Skip to content
Please update to 0.77.3 or later to address multiple CVEs.
Velociraptor 0.77.4 is now available!
Windows.Monitor.USBPlugIn
Edit this artifact

Windows.Monitor.USBPlugIn

Monitor for plug in of USB volume. Output drive letter for additional enrichment artifacts


name: Windows.Monitor.USBPlugIn
description: |
  Monitor for plug in of USB volume.  Output drive letter for
  additional enrichment artifacts

type: CLIENT_EVENT

sources:
  - query: |
      SELECT
            timestamp(winfiletime=int(int=Parse.TIME_CREATED)) as TimeCreated,
            Parse.DriveName as DriveName,
            Parse.EventType as EventType,
            Parse.__Type as Source,
            Raw
        FROM wmi_events(
            query="SELECT * FROM Win32_VolumeChangeEvent WHERE EventType = 2",
            namespace="ROOT/CIMV2",
            wait=50000000)