title: Use Get-NetTCPConnection 
id: b366adb4-d63d-422d-8a2c-186463b5ded0
status: experimental
description: Adversaries may attempt to get a listing of network connections to or from the compromised system they are currently accessing or from remote systems by querying for information over the network.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1049/T1049.md#atomic-test-2---system-network-connections-discovery-with-powershell
author: frack113
date: 2021/12/10
logsource:
    product: windows
    category: ps_classic_start
    definition: fields have to be extract from event
detection:
    selection:
        HostApplication|contains: Get-NetTCPConnection
    condition: selection 
falsepositives:
    - Unknown
level: low
tags:
    - attack.discovery
    - attack.t1049