Linux: Unauthorized Virtual Machine Fingerprinting
Non-root users querying specific system hardware files to identify virtualized environments for reconnaissance or sandbox evasion.
Triage facts
Revision 1- Applicability
- Linux
- Evidence
- Unknown
- Severity
- High
- Action
- Monitor or close
- Sources
- 3 public sources
- Freshness
- Revision 1Oct 23, 14:38 UTC
- Detection
- 1 rule
- Source quality
- A1Likely
Adversaries often perform VM fingerprinting to tailor malicious activity or evade sandbox detection. This activity involves non-root users accessing specific Linux system files to enumerate virtual hardware identifiers. This technique has been observed in the wild by threat actors utilizing the Pupy RAT.
Impact
Successful VM fingerprinting allows adversaries to detect virtualized environments, enabling them to alter their execution path to avoid detection by automated analysis systems or to tailor their payload to the specific target environment.
Recommendation
- Implement process monitoring on Linux endpoints to detect non-root processes querying hardware configuration files in /sys and /proc directories.
- Review the process execution lineage of any alert to confirm if the activity aligns with legitimate administrative or inventory tooling.
- Configure an allowlist for known-good management agents or monitoring utilities that legitimately query system hardware.
- Ensure endpoint logging (Auditd, Elastic Defend, or equivalent) captures process arguments to differentiate between unauthorized reconnaissance and system-level inventory.
Threat Hunt
Identify non-root processes accessing hardware enumeration files
Data: Process creation logs with full command line and user context
Detection coverage 1
Detect Non-Root VM Fingerprinting via Hardware Files
highDetects non-root users querying specific DMI or hardware information files commonly used for VM identification
Detection queries are available on the platform. Get full rules →