HWID (Hardware Identification)

HWID (Hardware Identification) is a unique digital identifier generated based on a computer's hardware configuration (motherboard, CPU, HDD, etc.). Infostealers collect HWID to fingerprint infected devices, allowing attackers to distinguish between different victims, organize stolen logs, and avoid duplicate entries in their Command and Control (C2) panels.

What is HWID? The Digital Fingerprint of Your Hardware

In the ecosystem of cybercrime, identifying a specific target is essential for logistics. HWID (Hardware Identification)serves as a unique serial number for your entire computer. When an Infostealer infects a machine, one of its primary tasks is to generate this ID and send it back to the attacker’s dashboard as a reference for all stolen data from that specific user.


Why Infostealers Collect HWID

For a threat actor managing thousands of "bots" or "logs," the HWID provides necessary organization:

  1. Victim Profiling: It allows the attacker to see if a victim has been infected before or if they are a high-value new target.
  2. Deduplication: By assigning stolen credentials to a specific HWID, the malware panel prevents the database from being flooded with redundant information from the same source.
  3. Anti-Forensics: Some malware uses HWID blacklisting to recognize and shut down when it detects the hardware signature of a known malware analysis sandbox or a security researcher's virtual machine.


How is an HWID Generated?

An HWID is typically a hash (like MD5 or SHA) created by combining several hardware components, such as:

  1. Motherboard BIOS UUID
  2. CPU Processor ID
  3. Hard Drive Serial Number
  4. Network Adapter MAC Address


Using HWID in Vulnerability Assessments and Incident Response

During an incident response phase, HWID is a crucial forensic data point. If Dark Radar identifies a leaked log from your organization on an underground forum, the HWID included in that log can be matched against your internal inventory to pinpoint exactly which workstation was compromised, even if the user has changed their IP address.


In summary; HWID is the ultimate identifier for your physical machine. For an infostealer, it is the primary method of cataloging its "merchandise" and ensuring that every stolen password is tied to a specific, traceable source.