PowerShell / PowerShell-Native

MIT License
50 stars 33 forks source link

Add WDAC events and system lock down notification. #89

Closed PaulHigin closed 1 year ago

PaulHigin commented 1 year ago

PR Summary

This PR adds new ETW events for WDAC calls.

PR Context

WDAC (Windows Defender Application Control) is a Windows OS application control policy, and PowerShell complies with the system policy through added restrictions and language modes. This PR adds ETW event logging for calls PowerShell makes to WDAC in order to determine if the system is in lock down mode, and if a script file is allowed by the WDAC policy.