Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 866 Bytes

OutboundConhostConnection.md

File metadata and controls

31 lines (26 loc) · 866 Bytes

List oubound conhost connections

Query Information

Description

List outbound conhost connections.

Risk

It is unexpected that conhost makes connections to external domains.

References

Defender For Endpoint

let ValidDomains = dynamic(['.microsoft.com', '.digicert.com']);
DeviceNetworkEvents
| where InitiatingProcessFileName =~ "conhost.exe"
| where not(ipv4_is_private(RemoteIP) or RemoteIP == "127.0.0.1")
| where not(RemoteUrl has_any (ValidDomains))

Sentinel

let ValidDomains = dynamic(['.microsoft.com', '.digicert.com']);
DeviceNetworkEvents
| where InitiatingProcessFileName =~ "conhost.exe"
| where not(ipv4_is_private(RemoteIP) or RemoteIP == "127.0.0.1")
| where not(RemoteUrl has_any (ValidDomains))