VeriKQL by Kaushik Saha

T1049 System Network Connections Discovery

Discoveryon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0320 Detection of System Network Connections Discovery Across Platforms

AN0903 Windows

Detects usage of commands or binaries (e.g., netstat, PowerShell Get-NetTCPConnection) and WMI or API calls to enumerate local or remote network connections.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell") | where EventID in (4103, 4104, 4105, 4106)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell") | where EventID in (4103, 4104, 4105, 4106)

AN0904 Linux

Detects use of netstat, ss, lsof, or custom shell scripts to list current network connections. Often paired with privilege escalation or staging.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
linux:clicommand loggingNot mapped to Sentinel yet.

AN0905 macOS

Detects shell-based enumeration of active connections using `netstat`, `lsof -i`, or AppleScript-based system discovery.

MITRE log sourceIn Microsoft Sentinel
macos:osqueryprocess_eventsNot mapped to Sentinel yet.

AN0906 ESXi

Detects shell or API usage of `esxcli network ip connection list` or `netstat` to enumerate ESXi host connections.

MITRE log sourceIn Microsoft Sentinel
esxi:hostdcommand logNot mapped to Sentinel yet.

AN0907 Network Devices

Detects interactive or automated use of CLI commands like `show ip sockets`, `show tcp brief`, or SNMP queries for active sessions on routers/switches.

MITRE log sourceIn Microsoft Sentinel
networkdevice:clicommand logsNot mapped to Sentinel yet.
snmp:trapmanagement queriesNot mapped to Sentinel yet.

AN0908 IaaS

Detects enumeration of cloud network interfaces, VPCs, subnets, or peer connections using CLI or SDKs (e.g., AWS CLI, Azure CLI, GCloud CLI).

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailDescribe* or List* API callsNot mapped to Sentinel yet.
azure:activitynetworkInsightsLogs
  • Azure Activity → AzureActivity
    AzureActivity

Content Hub rules tagged with it (1)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1049 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

9 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.