2 remote calls to the SAM database have been denied


New Member
Nov 6, 2021

May I kindly ask you to help me resolve some issue related to SAM database warning?
From time to time in system logs I can see this log:


Could you tell me please how can I check who is trying to enumarate users and from which computer?

Also this is strange that I have suh warning becasue I checked policy and I don't have restrickted access enabled:


Could you help me please?

OS: Windows server 2016 in AD.


To address the SAM database enumeration warnings and identify the source of the unauthorized activity, you can take certain steps within your Windows Server environment. Here are some recommendations to assist you in resolving this issue:

### Analyzing the SAM Database Enumeration Warning:
1. Event Viewer Analysis: Use the Event Viewer to trace the logs and identify which user or machine is making the enumeration requests. Look for related entries that might provide more specific details.
2. EventID 4672: This event is an audit success and usually logged when privileges are elevated. Correlate it with other events to understand the sequence and the root cause.

### Troubleshooting Steps:
1. Security Policies: Check Group Policy settings to ensure that User Rights Assignment policies aren't overly permissive.
2. Network Monitoring: Use network monitoring tools like Wireshark to capture network traffic and identify the source of unauthorized enumeration requests.
3. IP Address Blocking: If you identify a specific IP address or user initiating unauthorized requests, consider blocking that IP at the firewall level.

### SAM Database Security:
1. Restriction Policies: While your policy settings seem fine, consider reviewing all access policies and ensuring that they adhere to security best practices.
2. Password Policies: Ensure strong password and account lockout policies are in place to prevent unauthorized access attempts.

### Additional Considerations:
1. User Permissions: Review user privileges in Active Directory for any anomalies or unauthorized access.
2. Security Solutions: Consider using additional security solutions like endpoint protection, intrusion detection systems, or SIEM tools for better threat detection and prevention.

By carefully analyzing the Event Viewer logs, implementing security best practices, monitoring network traffic, and investigating the root cause of these unauthorized enumeration attempts, you can enhance the security of your SAM database and mitigate potential risks in your Windows Server environment. If needed, consulting with a cybersecurity expert might offer more in-depth insights into strengthening your system's defenses.