Skip to content

Instantly share code, notes, and snippets.

@robert-werner
Created January 20, 2025 21:02
Show Gist options
  • Select an option

  • Save robert-werner/a9f65dc76fb6973a1f6a523eb4d1d3cc to your computer and use it in GitHub Desktop.

Select an option

Save robert-werner/a9f65dc76fb6973a1f6a523eb4d1d3cc to your computer and use it in GitHub Desktop.
The PowerShell-exported (NT AUTHORITY\NETWORK SERVICE) ACL-right with FullControl permission.
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0">
<TN RefId="0">
<T>System.Security.AccessControl.RegistryAccessRule</T>
<T>System.Security.AccessControl.AccessRule</T>
<T>System.Security.AccessControl.AuthorizationRule</T>
<T>System.Object</T>
</TN>
<ToString>System.Security.AccessControl.RegistryAccessRule</ToString>
<Props>
<Obj N="RegistryRights" RefId="1">
<TN RefId="1">
<T>System.Security.AccessControl.RegistryRights</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>FullControl</ToString>
<I32>983103</I32>
</Obj>
<Obj N="AccessControlType" RefId="2">
<TN RefId="2">
<T>System.Security.AccessControl.AccessControlType</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>Allow</ToString>
<I32>0</I32>
</Obj>
<Obj N="IdentityReference" RefId="3">
<TN RefId="3">
<T>System.Security.Principal.NTAccount</T>
<T>System.Security.Principal.IdentityReference</T>
<T>System.Object</T>
</TN>
<ToString>NT AUTHORITY\NETWORK SERVICE</ToString>
<Props>
<S N="Value">NT AUTHORITY\NETWORK SERVICE</S>
</Props>
</Obj>
<B N="IsInherited">false</B>
<Obj N="InheritanceFlags" RefId="4">
<TN RefId="4">
<T>System.Security.AccessControl.InheritanceFlags</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>ContainerInherit</ToString>
<I32>1</I32>
</Obj>
<Obj N="PropagationFlags" RefId="5">
<TN RefId="5">
<T>System.Security.AccessControl.PropagationFlags</T>
<T>System.Enum</T>
<T>System.ValueType</T>
<T>System.Object</T>
</TN>
<ToString>None</ToString>
<I32>0</I32>
</Obj>
</Props>
</Obj>
</Objs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment