Detectionlowtest

Powershell Suspicious Win32_PnPEntity

Adversaries may attempt to gather information about attached peripheral devices and components connected to a computer system.

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2021-08-23Updated 2022-12-25b26647de-4feb-4283-af6b-6117661283c5windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains: Win32_PnPEntity
    condition: selection
False Positives

Admin script

Rule Metadata
Rule ID
b26647de-4feb-4283-af6b-6117661283c5
Status
test
Level
low
Type
Detection
Created
2021-08-23
Modified
2022-12-25
Path
rules/windows/powershell/powershell_script/posh_ps_susp_win32_pnpentity.yml
Raw Tags
attack.discoveryattack.t1120
View on GitHub