H3AD-REF / PLAYBOOKS / NETWORK CONNECTION ALERT

It's Just A Connection.
Until The Pattern Repeats.

An alert triage reference for suspicious outbound or inbound connections: beaconing, C2, unusual port or protocol combinations, and geo-anomalies. What triggers this alert, how to work it in order, what separates a real compromise from routine noise, and when to stop triaging and escalate. For the filter syntax to actually inspect the capture, see Wireshark Display Filters.

Alert Overview

This alert covers suspicious outbound or inbound connections: beaconing, C2 communication, unusual port or protocol combinations, and geo-anomalies. Where it fires from shapes how much you can trust it before you've looked at anything else.

Common Trigger Sources

IDS/IPS signature hit
├── A known-bad pattern matched inline traffic, both the source and destination are worth checking independently
└── Signature confidence varies by vendor and rule age
    // a signature hit tells you what matched, not why the traffic exists

NDR/UEBA beaconing detection
├── Regular time-interval outbound connections, flagged by behavioral analysis rather than a static signature
└── Beaconing detections are probabilistic, built from a statistical model of "normal" for that host
    // worth the extra look even without a signature, this is often the earliest signal available

Threat intel IOC match on destination
├── The destination IP or domain matches an indicator from a feed like VirusTotal, AbuseIPDB, or OTX
└── Match quality depends entirely on the feed's freshness and false positive rate
    // a stale IOC feed produces stale, sometimes wrong, matches

Protocol mismatch on a standard port
├── Traffic that doesn't match the expected protocol for that port, like raw TCP instead of TLS on port 443
└── A classic attempt to blend malicious traffic in with traffic that's normally allowed through
    // port number alone was never proof of protocol, packet inspection is what actually confirms it

Geo-anomaly
├── A connection to a sanctioned country or a region with no legitimate business reason for that org to reach
└── What counts as anomalous depends entirely on the business, a logistics firm and a domestic law office have very different baselines
    // geo rules need tuning per organization, a generic global list produces constant noise

Initial Triage Steps

Work these in order. Each step either rules the alert out or raises confidence enough to justify the next one.

Triage Steps, In Order

1. Identify the alert trigger
├── A signature ID, a threat intel IOC match, or a behavioral anomaly like interval regularity on a suspected beacon
└── The trigger type sets how much you can trust the alert before you dig further
    // a behavioral flag needs more corroboration than a direct IOC match does

2. Identify the source host and, critically, the process
├── Find which binary actually opened the connection, not just which host it came from
└── EDR's process-to-connection mapping is the tool for this, the firewall log alone won't show it
    // the process is usually the fastest way to separate real from routine

3. Check destination reputation
├── WHOIS registration age, threat intel hits across VirusTotal, AbuseIPDB, and OTX, plus the hosting provider or ASN
└── A brand-new domain on a high-abuse ASN reads very differently than one on an established provider
    // reputation checks take minutes and rule out a lot of noise early

4. Check the connection pattern
├── One-off versus recurring, interval regularity consistent with beaconing, and the data volume transferred
└── A single small connection and a recurring session moving real volume are not the same case
    // pattern over time tells you more than any single connection ever will

5. Correlate with other alerts on the same host
├── Recent process execution, PowerShell activity, and persistence changes around the same window
└── A connection alert sitting next to a suspicious execution alert on the same host raises the stakes considerably
    // isolated alerts and correlated alerts get triaged very differently

True Positive Indicators

Signs that point toward an actual compromise rather than routine traffic that happens to look unusual.

TRUE POSITIVE

Confirmed C2 Infrastructure Match

Not a maybe, a match
The destination matches known C2 infrastructure or a specific threat intel indicator of compromise. Treat this as ground truth once it's confirmed against a reputable source, not a single low-confidence blocklist hit.
TRUE POSITIVE

Regular Beaconing Interval

Jitter is normal, silence in the gaps isn't
A pattern of outbound connections at a consistent time interval, allowing for the small variance most malware builds in deliberately. Consistent spacing over hours or days is the signature, not any one connection on its own.
TRUE POSITIVE

Unexpected Process Making The Connection

The binary matters more than the destination
A process with no business reaching the internet doing so anyway, like svchost.exe opening an HTTPS session to a domain nobody in the environment has ever contacted. EDR's process-to-connection mapping is what surfaces this.
TRUE POSITIVE

Low-Age Or DGA-Style Domain

Young and algorithmic together is a strong signal
A destination domain registered days or weeks ago, or with a naming pattern that reads as algorithmically generated rather than chosen by a person. Legitimate infrastructure is rarely this new or this random.
TRUE POSITIVE

Protocol Mismatch On A Standard Port

Port 443 doesn't guarantee TLS
Traffic that doesn't match the protocol a port implies, such as raw TCP or a custom protocol running on 443 instead of TLS. Standard ports get used specifically to blend in, and only packet inspection catches what the port number alone won't.

False Positive Indicators

Signs that point toward normal traffic that happens to trip a rule, not an active compromise.

FALSE POSITIVE

Shared CDN Or Cloud Provider IP

One IP, thousands of unrelated tenants
The destination IP belongs to a major CDN or cloud provider used by many unrelated legitimate services. An IP lookup that stops at ownership without checking what else shares that range produces a lot of avoidable alarms.
FALSE POSITIVE

Known Update Or Telemetry Service

Scheduled, expected, boring
The process making the connection is a recognized update mechanism or telemetry service checking in on its normal schedule. Confirm this against a known-good process list before closing it out, rather than assuming every scheduled check-in is fine.
FALSE POSITIVE

Single One-Off Connection, No Recurrence

One handshake isn't a pattern
A single connection with no repeat activity and no meaningful data transferred. Beaconing and C2 both depend on sustained communication, so an isolated event with nothing following it rarely represents compromise by itself.
FALSE POSITIVE

Approved Business Partner On The Allowlist

Already vetted, already expected
The destination is already documented on an approved partner or vendor allowlist. Confirm the entry is current and still tied to that specific IP or domain before dismissing, since infrastructure changes hands more often than allowlists get updated.

Escalation Criteria

The points where this stops being an alert to triage and starts being an incident to run.

ESCALATE

Confirmed C2 Communication

Escalate to IR immediately, not after more digging
Once C2 communication is confirmed, treat the host as compromised outright rather than merely suspicious. This moves the response from triage to incident handling right away, including isolation and a wider hunt for the same indicator.
ESCALATE

Multiple Hosts Beaconing To The Same Destination

This is spread, not a coincidence
More than one host reaching the same destination on a beacon-like pattern is evidence of lateral movement, not a series of unrelated alerts. Escalate as an incident with a proper scoping investigation, not as tickets closed off one at a time.
ESCALATE

Data Volume Inconsistent With Expected Behavior

Size and direction both matter
An outbound data volume that's large, or simply doesn't match what that host or process should ever need to send, points toward exfiltration. Escalate before spending time trying to explain it away as normal.

Containment Actions

What to do once the alert has crossed the line into confirmed or highly likely compromise.

CONTAIN

Isolate The Host, Don't Power It Off

Cut the network, preserve the memory
Disable the NIC or pull the network cable rather than shutting the host down. Powering off destroys volatile evidence that matters for scoping the incident, and isolation alone already stops the connection from continuing.
CONTAIN

Block At The Firewall, Proxy, And DNS

One layer of blocking gets bypassed
Block the destination IP or domain across the firewall, web proxy, and a DNS sinkhole together. Blocking only one layer leaves a path open if the connection falls back to a different resolution method.
CONTAIN

Capture Traffic While The Session Is Live

Evidence that disappears the moment the connection drops
Pull a full packet capture or NetFlow record of the session if it's still active. This is often the only chance to see exactly what was sent before the host gets isolated and the connection ends for good.
CONTAIN

Hunt For The Same Indicator Environment-Wide

One alert firing rarely means one host affected
Search across EDR, proxy, and DNS logs for the same destination, domain, or connection pattern on other hosts. Confirming a single host and stopping there is how the second host gets missed.