mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Some SMBIOS tables are used by certain malware families to detect virtualized environments via WMI queries. To improve stealth for sandboxing purposes, this patch adds support for populating these SMBIOS tables from an external binary specified via the "smbios_firmware" domain config option: * 7 - Cache Info * 8 - Port Connector * 9 - System Slots * 26 - Voltage Probe * 27 - Cooling Device * 28 - Temperature Probe If particular table is absent in binary file, then it will not be mapped to memory. This method works for Windows domains as tables 7,8,9,26,27,28 are not critical for OS boot and runtime. Also if "smbios_firmware" parameter is not provided, these tables will be skipped in write_smbios_tables function. From: Anton Belousov <blsvntn@outlook.com> Signed-off-by: Petr Beneš <w1benny@gmail.com> Acked-by: Jan Beulich <jbeulich@suse.com>