Sigma rule: Use Get-NetTCPConnection

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4891a39cd68e, updated 2023-10-27T00:00:00.000Z.

Rule

Title
Use Get-NetTCPConnection
Status
test
Level
low
Author
frack113
Date
2021-12-10
Modified
2023-10-27
File
rules/windows/powershell/powershell_classic/posh_pc_susp_get_nettcpconnection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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.

Log source

product
windows
category
ps_classic_start

Detection

selection:
    Data|contains: 'Get-NetTCPConnection'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.discovery
  • attack.t1049

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_classic/posh_pc_susp_get_nettcpconnection.yml

Sources and licences

  • SigmaHQ

    "Use Get-NetTCPConnection" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_classic/posh_pc_susp_get_nettcpconnection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Use Get-NetTCPConnection",
entity page, dataset version ref-4891a39cd68e, updated 2023-10-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b366adb4-d63d-422d-8a2c-186463b5ded0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b366adb4-d63d-422d-8a2c-186463b5ded0, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.