cd "C:\Program Files\Oracle\VirtualBox\"
[Link] modifyvm "Your Virtual Machine Name" --cpuidset 00000001 000106e5
00100800 0098e3fd bfebfbff
VBoxManage setextradata "Your Virtual Machine Name"
"VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Your Virtual Machine Name"
"VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your Virtual Machine Name"
"VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your Virtual Machine Name"
"VBoxInternal/Devices/smc/0/Config/DeviceKey"
"ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your Virtual Machine Name"
"VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
(add code below if you create virtual box on AMD CPU)
VBoxManage modifyvm "Your Virtual Machine Name" --cpu-profile "Intel Core i7-6700K"