Post

Defender's Remote Connections Blind Spot: FourToSixMapping

Microsoft Defender XDR’s DeviceNetworkEvents table logs external IPv4 connections via dual-stack sockets as ‘FourToSixMapping’ (IPv6-mapped format ::ffff:x.x.x.x) rather than ‘Public’, causing detection queries that filter on RemoteIPType == ‘Public’ to silently miss C2 and exfiltration traffic. The article demonstrates how standard KQL constructs like ipv4_is_private() return null for FourToSixMapping values, creating false negatives, and provides a normalization fix: either strip the ::ffff: prefix before filtering or explicitly include FourToSixMapping in RemoteIPType constraints. This is a practical detection gap affecting large-scale Defender deployments.

Read original article

This post is licensed under CC BY 4.0 by the author.