Sigma rule: Powershell Suspicious Win32_PnPEntity
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-98a44be73082, updated 2022-12-25T00:00:00.000Z.
Rule
- Title
- Powershell Suspicious Win32_PnPEntity
- Status
- test
- Level
- low
- Author
- frack113
- Date
- 2021-08-23
- Modified
- 2022-12-25
- File
- rules/windows/powershell/powershell_script/posh_ps_susp_win32_pnpentity.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries may attempt to gather information about attached peripheral devices and components connected to a computer system.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains: Win32_PnPEntity
condition: selectionFalse positives (as the rule lists them)
- Admin script
Tags
- attack.discovery
- attack.t1120
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_win32_pnpentity.yml
Sources and licences
SigmaHQ
"Powershell Suspicious Win32_PnPEntity" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_win32_pnpentity.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Powershell Suspicious Win32_PnPEntity",
entity page, dataset version ref-98a44be73082, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b26647de-4feb-4283-af6b-6117661283c5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b26647de-4feb-4283-af6b-6117661283c5, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.