T1049 / TECHNIQUE

System Network Connections Discovery

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. An adversary who gains access to a system that is part of a cloud-based environment may map out Virtual Private Clouds or Virtual Networks in order to determine what systems and services are connected. The actions performed are likely the same types of discovery techniques depending on the operating system, but the resulting information may include details about the networked cloud environment relevant to the adversary's goals. Cloud providers may have different ways in which their virtual networks operate. Similarly, adversaries who gain access to network devices may also perform similar discovery activities to gather information about connected systems and services. Utilities and commands that acquire this information include netstat, "net use," and "net session" with Net. In Mac and Linux, netstat and lsof can be used to list current connections. who -a and w can be used to show which users are currently logged in, similar to "net session". Additionally, built-in features native to network devices and Network Device CLI may be used (e.g. show ip sockets , show tcp brief ). On ESXi servers, the command esxi network ip connection list can be used to list active network connections.

Category
ATT&CK Enterprise
Version / scope
ATT&CK 20.1; object 2.5
Affected / relevant technologies
ESXi / IaaS / Linux / macOS / Network Devices / Windows
Evidence
Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.

Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.

Mechanism and prerequisites

Assess the documented platform and access context with the asset owner. This is a descriptive reference, not an execution recipe.

Potential impact

Publisher tactic context: discovery

Versioned source scope

This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.

Publisher: MITRE. Release: ATT&CK 20.1; object 2.5. Source checked: 2026-11-18.

Source object: attack-pattern--7e150503-88e7-4861-866b-ff1ac82c4475. Object created: 2017-05-31T21:30:45.139Z. Object modified: 2026-05-12T15:12:00.652Z.

Attribution and source terms (© The MITRE Corporation; reproduced with permission)

Detection and investigation

Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.

Mitigation and response

Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.

Related technical context

Existing read-only CLI diagnostics

Protocol-associated candidates projected from the existing CLI Library. They are not a detection recipe or proof of this security condition. Verify the original platform, version and mode.

Juniper Junos — TCP stack counters

show system statistics tcp

Inspect retransmission and connection counters when management services behave intermittently.

Open original CLI command

Hirschmann HiOS — Inspect Modbus TCP integration

show modbus-tcp

Inspect Modbus TCP integration. Check configured role, operational state and peer information against the approved industrial topology.

Open original CLI command

tcpdump — Inspect recorded TCP sessions

tcpdump -nn -r capture.pcap -c 100 'tcp'

Inspect recorded TCP sessions. Compare flags, sequence numbers and both directions.

Open original CLI command

tshark — Locate suspected TCP retransmissions

tshark -n -r capture.pcapng -c 100 -Y 'tcp.analysis.retransmission'

Locate suspected TCP retransmissions. Inspect frame number, endpoints, decoded protocol details and timestamps. TCP analysis flags are heuristics, not proof of network fault.

Open original CLI command

iproute2 — Diagnose transport-aware route selection

ip route get 192.0.2.10 ipproto tcp dport 443

Diagnose transport-aware route selection. Compare table, prefix, next hop, source and policy ordering; lookup results do not generate a connectivity test.

Open original CLI command

tcpdump — Investigate recorded BGP transport sessions

tcpdump -nn -r capture.pcap -c 100 'tcp port 179'

Investigate recorded BGP transport sessions. Check connection establishment and resets; encrypted transport hides payload.

Open original CLI command

Related security reading

Continue directly to another reference. Editorial reading connections do not assert official CWE/CAPEC/ATT&CK/OWASP equivalence or mappings.

Publisher-defined relationships

These directed relationships come from the pinned publisher data. They describe framework context, not guaranteed prevention, detection coverage or equivalence between entities.

Authoritative sources and attribution

Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.

Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.