Skip to main content

Module linux

Module linux 

Source
Expand description

Linux-specific VM detection techniques.

Functions§

amd_sev_msr
bluestacks_folders
ctype
Check /proc/cpuinfo for VM hypervisor flag.
cvendor
Check /sys/class/dmi/id/* vendor fields.
dmesg
Check dmesg output for hypervisor messages.
dmi_scan
dmidecode
Run dmidecode and check output for VM strings.
dockerenv
Check for Docker environment files.
file_access_history
hwmon
VMs typically have no hardware monitoring sensors.
hypervisor_dir
kmsg
Scan /dev/kmsg or /var/log/kern.log for VM-related kernel messages.
linux_user_host
Check /etc/hostname and username for sandbox-typical values.
mac
nsjail_pid
podman_file
processes
Check running processes for known VM guest agent names.
qemu_fw_cfg
Check for the QEMU fw_cfg device.
qemu_usb
qemu_virtual_dmi
smbios_vm_bit
Check the SMBIOS Chassis Type for VM values.
sysinfo_proc
systemd
Check systemd virtualization detection result.
temperature
VMs usually have no thermal sensors.
thread_count
uml_cpu
vbox_module
vmware_dmesg
vmware_iomem
vmware_ioports
vmware_scsi
wsl_proc