Hello Nimantha , It looks like you Microsoft Sentinel setup is mislabeling inbound traffic as outbound, impacting security monitoring. This likely stems from incorrect log configuration (source misidentification, NAT issues, asymmetric routing, schema mismatch), or Sentinel configuration errors (KQL query flaws, analytics rule logic, data connector problems). I suggests you troubleshoot by inspecting raw logs, simplifying queries, focusing on specific examples, network analysis, checking for updates and verify data connectors and ensure accurate TrafficDirection field interpretation.
It sounds like there might be a misconfiguration or an issue with how traffic direction is being interpreted by Microsoft Sentinel. Here are a few steps you can take to troubleshoot this:
- Ensure that the logic used to determine traffic direction (inbound vs. outbound) is correctly implemented in your queries and rules. For example, you can check if the source IP is an internal IP and the destination IP is an external IP to determine if the traffic is outbound.
Example query:
SecurityEvent
| where SourceIP startswith "10." // internal IP range
| where DestinationIP !startswith "10." // external IP range
| project SourceIP, DestinationIP, Direction = "Outbound"
- Verify that the data sources providing the traffic logs are correctly configured and that they include accurate source and destination IP information.
- Modify your queries to double-check the traffic direction. For example, you can add additional filters or conditions to ensure that the traffic direction is correctly labeled.
SecurityEvent
| extend Direction = case(
SourceIP startswith "10." and DestinationIP !startswith "10.", "Outbound",
DestinationIP startswith "10." and SourceIP !startswith "10.", "Inbound",
"Unknown"
)
References:
- Microsoft Sentinel Documentation
- https://learn.microsoft.com/en-us/azure/sentinel/connect-cef-syslog-ama
- https://docs.azure.cn/en-us/sentinel/cef-syslog-ama-overview
Let me know if you need more help after your checks.
If the information helped address your question, please Accept the answer. Luis