.. / Get-NetTCPConnection

Gets TCP connections


Functions:
Type:
Toolsets:

Network

Enumerate listening TCP ports

Get-NetTCPConnection -CimSession $s -State Listen
Usecase
Recon on listening services

Comments
Mitre Att&ck
T1047

List established connections

Get-NetTCPConnection -CimSession $s -State Established
Usecase
Recon on current network and Internet activity

Comments
Mitre Att&ck
T1047




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)