Skip to content
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

Warning "Info: Builtin\administrators does not have required rights (allow - fullcontrol) #104

Open
UnXQglez opened this issue Oct 20, 2022 · 1 comment

Comments

@UnXQglez
Copy link

Summary

When executing the script in PVWA, one of the warnings you can get is:
PVWA
Warning
BUILTIN\Administrators does not have required rights (Allow - FullControl) to HKLM:\System\CurrentControlSet\Control\SecurePipeServers\Winreg

Steps to Reproduce

It appears to be a "false positive". It is not possible to add the "builtin\administrator" group to give permissions on this registry key.

@kaltokri
Copy link

Running Main.ps1 -Verbose give this feedback in the log:

------------------------------------
[2023-03-13 04:36:57]	[INFO]	Start Step Registry Permissions
[2023-03-13 04:36:57]	[INFO]	Start validating Registry Permissions
[2023-03-13 04:36:57]	[VERBOSE]	Get Name value for SID: S-1-5-32-544
[2023-03-13 04:36:57]	[VERBOSE]	SID name is: BUILTIN\Administrators
[2023-03-13 04:36:57]	[DEBUG]	Check user permissions: 'FullControl' on path: 'HKLM:\System\CurrentControlSet\Control\SecurePipeServers\Winreg' to user\group: 'BUILTIN\Administrators'
[2023-03-13 04:36:57]	[VERBOSE]	Current permissions on path: 'HKLM:\System\CurrentControlSet\Control\SecurePipeServers\Winreg': 

Path   : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winr
         eg
Owner  : NT AUTHORITY\SYSTEM
Group  : NT AUTHORITY\SYSTEM
Access : CREATOR OWNER Allow  FullControl
         NT AUTHORITY\SYSTEM Allow  FullControl
         BUILTIN\Administrators Allow  FullControl
Audit  : 
Sddl   : O:SYG:SYD:PAI(A;CIIO;KA;;;CO)(A;CI;KA;;;SY)(A;CI;KA;;;BA)




[2023-03-13 04:36:57]	[INFO]	Finish validating Registry Permissions
[2023-03-13 04:36:57]	[INFO]	Finished Step Registry Permissions
[2023-03-13 04:36:57]	[DEBUG]	Registry Permissions (Warning)

So the Script is not able to check it the right way. It still give the warning from UnXQglez's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants