Files
PowerShell-PowerShell/test/powershell/Modules/Microsoft.PowerShell.Security
Paul Higinbotham 9804aba7e1 Merged PR 8969: Disable Enter-PSHostProcess cmdlet when system in lock down mode
This is based on an issue, where Enter-PSHostProcess on a locked down (WDAC enforced) machine allows any admin to connect to any another local hosted PowerShell process and execute commands as that user.  This amounts to privilege escalation on the policy locked down machine and something we want to prevent.

Fix is to check for system lock down and disable Enter-PSHostProcess cmdlet with an error message.
2019-07-08 19:12:11 +00:00
..