Trying to find out if you are vulnerable to Flip Feng Shui on your VMware platform?
PowerCLI can tell you with a few commands.
As VMware tells us in KB 2097593, TPS is enabled under certain circumstances only in recent releases.
Specifically: if Mem.ShareForceSalting is 0, or if it is set to 1 and sched.mem.pshare.salt is not set, or if Mem.ShareForceSalting is set to 2, and sched.mem.pshare.salt or vc.uuid are not unique.
So how do we check this?
First: Mem.ShareForceSalting.
Get-VMHost|Get-AdvancedSetting -Name Mem.ShareForceSalting|ft Entity,Name,Value -AutoSizeSecond: sched.mem.pshare.salt.
Get-VM|Get-AdvancedSetting -Name sched.mem.pshare.saltAnd lastly: vc.uuid.
Get-VM|Get-AdvancedSetting -Name vc.uuidSo, you are vulnerable to Flip Feng Shui if:
Mem.ShareForceSaltingis set to 0Mem.ShareForceSaltingis set to 1 andsched.mem.pshare.saltis not set on every VMMem.ShareForceSaltingis set to 2, andsched.mem.pshare.saltis not absent or unique for every VMMem.ShareForceSaltingis set to 2 andvc.uuidis not absent or unique for every VM
Good luck finding out!
