Forum Discussion
NinjaKitty
Mar 08, 2023Brass Contributor
How does MDI monitor DNS Requests?
Hello, the https://learn.microsoft.com/en-us/defender-for-identity/monitored-activities#monitored-user-activities-domain-controller-based-user-operations documentation states that MDI monitors al...
- Mar 22, 2023
The MDI sensor also listens to the network traffic, so it can see the DNS queries from the network packets by the protocol (and/or port).
Martin_Schvartzman
Microsoft
Mar 22, 2023The MDI sensor also listens to the network traffic, so it can see the DNS queries from the network packets by the protocol (and/or port).
NinjaKitty
Mar 23, 2023Brass Contributor
That is interessting. What could be wrong if it doesnt or rather does only get a few of all DNS queries? (not standalone)
- josequintinoMar 27, 2023MCTIf MDI is not capturing all DNS queries or only capturing some of them, there could be several reasons:
1- Configuration issues: Ensure that the MDI sensor is properly installed and configured on the domain controller. Double-check the configuration settings, as incorrect settings may result in incomplete DNS query monitoring.
2- Network issues: MDI captures DNS queries by monitoring network traffic. Network issues or misconfigurations could prevent the MDI sensor from correctly inspecting DNS requests. Verify that the network infrastructure is correctly set up, and the MDI sensor has access to the required network traffic.
3- Firewall or security software: Firewalls or security software may inadvertently block or filter the DNS traffic that MDI needs to monitor. Check the firewall settings and security software configurations to ensure that they are not interfering with MDI's functionality.
4- Packet capture limitations: The MDI sensor may have limitations on the number or size of packets it can capture in a given time. If the domain controller is experiencing a high volume of DNS queries or network traffic, the sensor may not be able to capture and analyze all of them.
5- Filtering settings: MDI might be configured to filter out certain DNS requests based on specific criteria. Review the filtering settings in MDI to ensure that they are not too restrictive.
To resolve this, you can do the following:
1- Verify the MDI sensor's installation, configuration, and health status in the MDI portal.
2- Check the domain controller's event logs for any error messages or warnings related to MDI.
3- Inspect the network traffic on the domain controller to ensure that the DNS requests are
reaching the MDI sensor.
4- Review the MDI documentation and support resources for guidance on resolving known
issues.- NinjaKittyMay 08, 2023Brass ContributorThank you for your reply. I will have my colleagues check these.
- josequintinoMay 10, 2023MCTYou're welcome NinjaKitty