Skip to content
WETNav
SysmonNetwork ActivityIn-depth analysis

Event ID 3: Network Connection

Sysmon Event 3 logs all TCP and UDP network connections initiated by processes, recording source and destination IPs, ports, and the process responsible. This event is critical for detecting command-and-control communications, data exfiltration, and lateral movement across networks.

Channel
Microsoft-Windows-Sysmon/Operational
Logged by default
No
Written on
Any host
Volume
Very high
Provider
Microsoft-Windows-Sysmon
Needs a SACL
No

To have this event

  • Sysmon installed, with a configuration that includes this event type.

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

UtcTimeUTC timestamp of connection
ProcessGuidProcess GUID for correlation
ProcessIdProcess ID making the connection
ImageProcess executable path
UserAccount running the process
ProtocolNetwork protocol (tcp/udp)
InitiatedConnection direction (true=outbound, false=inbound)
SourceIsIpv6Whether source address is IPv6
SourceIpSource IP address
SourceHostnameSource hostname if resolved
SourcePortSource port number
SourcePortNameSource port service name
DestinationIsIpv6Whether destination address is IPv6
DestinationIpDestination IP address
DestinationHostnameDestination hostname if resolved
DestinationPortDestination port number
DestinationPortNameDestination port service name
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Crucial Fields: Image, User, Protocol, SourceIp, DestinationIp, DestinationPort, Initiated.
  • 02Monitor connections to known malicious IPs/domains (Threat Intel).
  • 03Look for unusual ports or protocols used by standard processes (e.g., svchost to port 80/443, non-browser to 80/443).
  • 04Identify beaconing patterns (regular connections to the same external IP).
  • 05Filter legitimate/noisy connections in Sysmon config (e.g., browser traffic, internal monitoring tools).
  • 06Initiated=false indicates an inbound connection.

In an investigation

Sysmon Event 3 captures every network connection made by processes on the monitored system, providing visibility into outbound and inbound communications that native Windows logging doesn't offer. This event records the initiating process name and ID, the source and destination IP addresses and ports, protocol (TCP or UDP), and whether the connection was initiated or received. This detailed network telemetry enables security analysts to detect malware beaconing to command-and-control servers, identify data exfiltration attempts, monitor lateral movement across the network, and discover unauthorized network services running on endpoints. The combination of process-level attribution with network connection details is powerful for threat hunting - you can see exactly which executable is communicating with external infrastructure or internal systems. For instance, when a document viewer like Adobe Reader suddenly initiates network connections to unknown IP addresses, it likely indicates exploitation or embedded malware. The event is invaluable for detecting living-off-the-land techniques where legitimate system utilities like PowerShell, certutil, or bitsadmin are abused to communicate with attacker infrastructure. By correlating Event 3 with process creation (Event 1) and file creation (Event 11), analysts can trace the complete attack lifecycle from initial execution through network communication to file system changes. Advanced threat hunters use Event 3 to identify beaconing patterns characteristic of specific malware families, detect DNS tunneling through unusual port 53 traffic patterns, and spot data exfiltration through large uploads to cloud storage services or unknown destinations.

What it can reveal

  • Connections to known malicious IPs or suspicious foreign countries from business applications indicate compromise
  • Document viewers or Office applications making network connections suggest exploitation or malicious macros
  • Regular beaconing patterns (connections every N seconds/minutes) reveal command-and-control communication
  • Connections from PowerShell or scripting engines to internet IPs show malware or attacker activity
  • Internal lateral movement via SMB (port 445) or RDP (port 3389) from user workstations indicates spreading

How to detect with it

Implement network connection baselining to understand normal communication patterns for applications in your environment. Alert on network connections from unusual processes, especially document viewers, media players, or other applications that shouldn't initiate connections. Integrate threat intelligence feeds to automatically flag connections to known malicious IPs, domains, and infrastructure. Monitor for beaconing behavior by analyzing connection frequency and regularity, particularly connections that occur at precise intervals characteristic of automated malware callbacks. Detect data exfiltration by tracking upload volume from client systems to external destinations, especially large transfers to newly observed domains. Flag internal lateral movement by monitoring for workstation-to-workstation connections on administrative ports like 135, 139, 445, 3389. Correlate network connections with process execution to identify which parent process spawned the communicating executable.

Attack patterns

  • TrickBot malware generates distinctive Sysmon Event 3 patterns with connections to numerous C2 servers for redundancy
  • C2 beaconing attack pattern: an implant connects to the same external host at a regular interval (often with random jitter), producing a steady series of Event 3 records from one process to one destination
  • Ransomware exfiltration visible in Event 3 as large outbound transfers from victim systems to attacker-controlled storage before encryption

Compared withEvent 3 provides process-level network visibility that native Windows lacks. Combine with Event 22 (DNS Query) to see full connection lifecycle from DNS resolution to TCP/UDP connection.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -FilterXPath "*[System[(EventID=3)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 3 mean?
Sysmon Event 3 logs all TCP and UDP network connections initiated by processes, recording source and destination IPs, ports, and the process responsible. This event is critical for detecting command-and-control communications, data exfiltration, and lateral movement across networks.
Is event 3 logged by default?
No. It must be enabled before it is recorded.
Where is event 3 recorded?
In the Microsoft-Windows-Sysmon/Operational channel on the any host.

Sysmon Event 3 logs all TCP and UDP network connections initiated by processes, recording source and destination IPs, ports, and the process responsible. This event is critical for detecting command-and-control communications, data exfiltration, and lateral movement across networks.