Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

Sysmon · Network

Sysmon 3 · Network connection detected

Sysmon Event ID 3 records TCP/UDP connections together with the process image and user that made them. It answers the question firewall logs cannot: which process talked to that IP, which is essential for confirming C2, malicious downloads and unexpected outbound tools.

low prioritySysmon logNetworkMITRE T1071

Where it is logged

Microsoft-Windows-Sysmon/Operational on endpoints and servers. The Sysmon config must enable NetworkConnect; most configs include it with heavy exclusions (browsers, update services) because it is noisy. Hostname resolution fields depend on reverse DNS and may be empty.

Key fields to read

FieldWhat it tells you
ImageProcess that made the connection.
UserAccount context of the process.
Initiatedtrue for outbound connections, false for inbound.
DestinationIpRemote IP address.
DestinationPortRemote port; uncommon ports or 443 from non-browser processes are interesting.
DestinationHostnameReverse-resolved hostname when available.
SourceIpLocal IP of the host making the connection.
Protocoltcp or udp.

Sample event

Sysmon 3 — synthetic example
Log Name: Microsoft-Windows-Sysmon/Operational
EventID: 3
UtcTime: 2026-11-19 10:27:56.402
Computer: NW-FIN-WS07.northwind.local
ProcessGuid: {4f1c2b7e-a2b1-6740-4a05-000000002200}
Image: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
User: NORTHWIND\l.brandt
Protocol: tcp
Initiated: true
SourceIp: 10.20.30.57
SourcePort: 53122
DestinationIp: 203.0.113.45
DestinationHostname: cdn-update-check.example
DestinationPort: 443

How to triage it

  1. 1Identify Image and decide whether this process should talk to the internet at all (scripting engines, Office, rundll32, regsvr32 usually should not).
  2. 2Check DestinationIp/DestinationHostname reputation and whether the destination is new to the environment.
  3. 3Look at timing: regular intervals with small jitter across hours suggests beaconing.
  4. 4Pivot via ProcessGuid to Sysmon 1 to see how the process was started and to Sysmon 22 for the DNS lookup that preceded it.
  5. 5Scope: search for the same destination from other hosts and in proxy/firewall logs.

Benign vs suspicious

Usually benign

  • Browsers, Teams, OneDrive and update services making constant HTTPS connections.
  • Management agents and EDR sensors connecting to their cloud backends.
  • PowerShell used by IT scripts to call internal APIs.

Red flags

  • powershell.exe, mshta.exe, rundll32.exe, regsvr32.exe or Office apps connecting to external IPs.
  • Unsigned binaries in AppData/Temp connecting out on 443 or uncommon ports (4444, 8080, 8443).
  • Periodic connections to the same IP at fixed intervals (beaconing).
  • Workstations initiating SMB (445), WinRM (5985/5986) or RDP (3389) to many other workstations (lateral movement).

Hunt for it: Splunk & KQL

Splunk SPL
index=sysmon EventCode=3 Initiated=true
  (Image="*\\powershell.exe" OR Image="*\\mshta.exe" OR Image="*\\rundll32.exe" OR Image="*\\regsvr32.exe" OR Image="*\\WINWORD.EXE")
  NOT (DestinationIp="10.*" OR DestinationIp="192.168.*" OR DestinationIp="172.16.*")
| stats count min(_time) AS first max(_time) AS last values(DestinationPort) AS ports BY host, Image, DestinationIp
| convert ctime(first) ctime(last)
Sentinel KQL
// Defender for Endpoint DeviceNetworkEvents: scripting engines and LOLBins connecting to public IPs
DeviceNetworkEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~ ("powershell.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "winword.exe")
| where RemoteIPType == "Public"
| summarize Connections = count(), First = min(Timestamp), Last = max(Timestamp), Ports = make_set(RemotePort)
    by DeviceName, InitiatingProcessFileName, RemoteIP, RemoteUrl
| order by Connections desc

Field names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.

Interview question

“Your firewall shows a workstation connecting to a suspicious IP every 60 seconds. How does Sysmon help?”

✓ Strong answer sketch

Firewall logs tell me the host and destination, but not which process made the connection. Sysmon 3 gives me the Image, User and ProcessGuid for each connection, so I can see whether it is a browser tab or something like rundll32.exe from a temp folder. With the ProcessGuid I pivot to Sysmon 1 for the command line and parent, and to Sysmon 22 for the DNS name it resolved. A regular 60-second interval from an unusual process is a strong beaconing indicator, so I would isolate and escalate.

More SOC interview questions

See it in a real investigation

Frequently asked questions

Why is Sysmon Event 3 often missing for browsers?

Most Sysmon configs exclude high-volume, trusted processes like browsers and update services from NetworkConnect logging to control volume. Check your config if expected events are absent.

Does Sysmon 3 log every packet?

No. It logs connection events (one per connection attempt or flow, with some caching), not packet contents or byte counts.