Sigma rule: Use Get-NetTCPConnection - PowerShell Module

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b15245e910f3, updated 2022-12-02T00:00:00.000Z.

Rule

Title
Use Get-NetTCPConnection - PowerShell Module
Status
test
Level
low
Author
frack113
Date
2021-12-10
Modified
2022-12-02
File
rules/windows/powershell/powershell_module/posh_pm_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_module
definition
0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection

selection:
    ContextInfo|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_module/posh_pm_susp_get_nettcpconnection.yml

Sources and licences

  • SigmaHQ

    "Use Get-NetTCPConnection - PowerShell Module" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_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 - PowerShell Module",
entity page, dataset version ref-b15245e910f3, updated 2022-12-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/aff815cc-e400-4bf0-a47a-5d8a2407d4e1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule aff815cc-e400-4bf0-a47a-5d8a2407d4e1, 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.