Detectionlowtest

USB Device Plugged

Detects plugged/unplugged USB devices

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2017-11-09Updated 2021-11-301a4bd6e3-4c6e-405d-a9a3-53a116e341d4windows
Log Source
Windowsdriver-framework
ProductWindows← raw: windows
Servicedriver-framework← raw: driver-framework

Definition

Requires enabling and collection of the Microsoft-Windows-DriverFrameworks-UserMode/Operational eventlog

Detection Logic
Detection Logic1 selector
detection:
    selection:
        EventID:
            - 2003  # Loading drivers
            - 2100  # Pnp or power management
            - 2102  # Pnp or power management
    condition: selection
False Positives

Legitimate administrative activity

Rule Metadata
Rule ID
1a4bd6e3-4c6e-405d-a9a3-53a116e341d4
Status
test
Level
low
Type
Detection
Created
2017-11-09
Modified
2021-11-30
Path
rules/windows/builtin/driverframeworks/win_usb_device_plugged.yml
Raw Tags
attack.initial-accessattack.t1200
View on GitHub