-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Restrict read access by default to powershell core logs #29
base: master
Are you sure you want to change the base?
Conversation
…or local system, admins, server operators, and event log readers
@@ -2199,6 +2205,7 @@ | |||
name="PowerShellCore/Operational" | |||
symbol="C_OPERATIONAL" | |||
type="Operational" | |||
access="O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x1;;;S-1-5-32-573)" | |||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inbox has these additional permissions:
InputObject SideIndicator
----------- -------------
NT AUTHORITY\BATCH: AccessAllowed (ListDirectory, WriteData) <=
NT AUTHORITY\INTERACTIVE: AccessAllowed (ListDirectory, WriteData) <=
NT AUTHORITY\SERVICE: AccessAllowed (ListDirectory, WriteData) <=
NT AUTHORITY\WRITE RESTRICTED: AccessAllowed (ListDirectory, WriteData) <=
APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES: AccessAllowed (WriteData) <=
: AccessAllowed (WriteData) <=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
batch, interactive and service shouldn't be allowed. I'm not sure about the other two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading https://techcommunity.microsoft.com/t5/Ask-The-Performance-Team/WS2008-Windows-Service-Hardening/ba-p/372702 Write restricted doesn't give a lot of value here either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make sure our MSIX can write without APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES
Let's wait on this one |
@SteveL-MSFT Is this something that will be worked on or should we close the PR? |
@SteveL-MSFT - is this PR still needed? |
change ACL on Operational, Analytic, and Debug logs to be read only for local system, admins, server operators, and event log readers