Detecting Covert Communications
What this topic covers
Identify unauthorized shells and netcat-style relays by tracing owning processes, parent chains, and unexpected sockets. Apply targeted egress restrictions and isolate affected hosts while preserving volatile evidence.
How can you tell a netcat relay from normal browser traffic on an endpoint?
Check the owning process and its parent chain. A netcat or command interpreter process opening an unexpected socket, especially one started by a service or an Office application, is suspicious, while browser traffic belongs to a browser process. Isolating the host then stops command-and-control and keeps volatile evidence for review.