Possible Use Get-NetTCPConnection - PowerShell Module (via ps_module)

This rule detects threat actors 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.

SigmalowWindowsv1
sigma
title: Possible Use Get-NetTCPConnection - PowerShell Module (via ps_module)
id: e2d3dfd9-8472-5e5d-8bd9-a451806cbdb3
status: stable
description: This rule detects threat actors 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://attack.mitre.org/techniques/T1049/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1049/T1049.md#atomic-test-2---system-network-connections-discovery-with-powershell
author: Huntrule Team
date: 2026-05-10
tags:
    - attack.discovery
    - attack.t1049
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection:
        ContextInfo|contains: 'Get-NetTCPConnection'
    condition: selection
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.