T1592.001 - Gather Victim Host Information: Hardware
Description from ATT&CK (opens in a new tab)
Adversaries may gather information about the victim's host hardware that can be used during targeting. Information about hardware infrastructure may include a variety of details such as types and versions on specific hosts, as well as the presence of additional components that might be indicative of added defensive protections (ex: card/biometric readers, dedicated encryption hardware, etc.).
Adversaries may gather this information in various ways, such as direct collection actions via Active Scanning (opens in a new tab) (ex: hostnames, server banners, user agent strings) or Phishing for Information (opens in a new tab). Adversaries may also compromise sites then include malicious content designed to collect host information from visitors.(Citation: ATT ScanBox) Information about the hardware infrastructure may also be exposed to adversaries via online or other accessible data sets (ex: job postings, network maps, assessment reports, resumes, or purchase invoices). Gathering this information may reveal opportunities for other forms of reconnaissance (ex: Search Open Websites/Domains (opens in a new tab) or Search Open Technical Databases (opens in a new tab)), establishing operational resources (ex: Develop Capabilities (opens in a new tab) or Obtain Capabilities (opens in a new tab)), and/or initial access (ex: Compromise Hardware Supply Chain (opens in a new tab) or Hardware Additions (opens in a new tab)).
Atomic Tests
Atomic Test #1 - Enumerate PlugNPlay Camera
Enumerate PlugNPlay Camera using powershell commandlet. this technique was seen in dcrat malware backdoor capabilities where it enumerate the camera info mounted on the compromised host. reference: https://www.mandiant.com/resources/analyzing-dark-crystal-rat-backdoor (opens in a new tab)
Supported Platforms: Windows
auto_generated_guid: d430bf85-b656-40e7-b238-42db01df0183
Attack Commands: Run with powershell
! Elevation Required (e.g. root or admin)
Get-CimInstance -Query "SELECT * FROM Win32_PnPEntity WHERE (PNPClass = 'Image' OR PNPClass = 'Camera')"