T1049 · System Network Connections Discovery
GetNetTcpconnection with PowerShell
About this detection
The following analytic identifies the execution of powershell.exe with the Get-NetTcpConnection command, which lists current TCP connections on a system. This detection leverages data from Endpoint Detection and Response (EDR) agents, focusing on process names and command-line executions. Monitoring this activity is significant as it may indicate an adversary or Red Team performing network reconnaissance or situational awareness. If confirmed malicious, this activity could allow attackers to map network connections, aiding in lateral movement or further exploitation within the network.
Sysmon event coverage
Sysmon XML
Loading configuration…