Hi there,
Anonymous enumeration of user accounts is one-way attackers can obtain usernames for use in social engineering or for which they can try to guess the passwords.
An attacker can retrieve the SID of a known user on the domain and use the information to target the Administrator account.
Once the SID for any account or system on the domain is discovered, the attacker could substitute the RID for the Administrator account and discover what the name of the Administrator user account is. To protect your computer or network from even the more dedicated attackers, you can disable the ability to enumerate the SIDs.
Network access: Do not allow anonymous enumeration of SAM accounts and shares https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-access-do-not-allow-anonymous-enumeration-of-sam-accounts-and-shares
-------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–