Query Registry for a list of mounted USB storage devices, including external memory cards

AID2112302000.YAML

#####aid_begin
#description: fetch the information from ubstor, usb
#id: aid2112302000
#processtype: query
#category: registry
#sourcelink: <na>
#tacticidlist: <na>
#techniqueidlist: <na>
#compatibleos: |-
#  windows 7
#  windows 8.*
#  windows 10
#  windows 11
#  windows server 2008 r2
#  windows server 2012
#  windows server 2012 r2
#  windows server 2016
#  windows server 2019
#compatibleengine: |-
#  powershell 2
#  powershell 3
#  powershell 4
#  powershell 5.*
#  powershell 7.*
#bgcommandlist: |-
#  get-bgregistry
#notes: |- 
#  this key contains addition information about list of mounted usb storage devices, including external memory cards. this key when used in conjunction with two previous keys will provide evidential information.
#####aid_end
commands:
- Get-BGRegistry -StartKey "HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR"
- Get-BGRegistry -StartKey "HKLM\SYSTEM\CurrentControlSet\Enum\USB"

Last updated