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

Could not rename the Administrator\guest account #173

Open
tzvi550 opened this issue Dec 15, 2024 · 3 comments
Open

Could not rename the Administrator\guest account #173

tzvi550 opened this issue Dec 15, 2024 · 3 comments
Assignees

Comments

@tzvi550
Copy link

tzvi550 commented Dec 15, 2024

Hi, would appreciate assistance in implementing policies 2.3.1.4 and 2.3.1.5 in the LIST finding_list_cis_microsoft_windows_10_enterprise_22h2_3.0.0_machine.csv. I am encountering an issue where I cannot rename the Administrator and Guest accounts. When I modify the RECOMMENDED name, the policy validation passes, but the actual account name remains unchanged.

@0x6d69636b 0x6d69636b self-assigned this Dec 15, 2024
@0x6d69636b
Copy link
Owner

HardeningKitty does not have a module to rename a user account, you have to rename the account yourself

@tzvi550
Copy link
Author

tzvi550 commented Dec 16, 2024 via email

@0x6d69636b
Copy link
Owner

I noticed that the account names don’t actually change. Are these policies
intended merely to notify me that I need to manually rename the accounts
during the audit mode?

Yes, because there is no module for renaming accounts in HailMary mode. I don't think secedit can be used to rename a local user account, so changing from localaccount to secedit will not work

In backup mode, the value for 0 is returned as None, and HardeningKitty
fails to apply it since it’s not recognized as a valid number. I also
changed the method here to Secedit. Is there an alternative solution to
this issue?

I would use group policies for these settings, either locally or in a domain

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

No branches or pull requests

2 participants