Skip to content

[New Hunt] Unusual Distributed Fan-In Relative to Historical Baseline - #7102

Open
eric-forte-elastic wants to merge 1 commit into
mainfrom
fan_in_hunt
Open

eric-forte-elastic wants to merge 1 commit into
mainfrom
fan_in_hunt

Conversation

@eric-forte-elastic

@eric-forte-elastic eric-forte-elastic commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request

Issue link(s):

Summary - What I changed

Hunts for a recent distributed fan-in spike in Network Packet Capture flow telemetry relative to the historical behavior of the same destination service and capture agent. The query compares distinct external source and flow cardinality in the most recently completed five-minute bucket with a seven-day per-service baseline using median absolute deviation. Results are potential traffic anomalies for investigation and do not independently establish a denial-of-service attack or service impact.

How To Test

See testing for #7097 for similar RTA based traffic.

image

Checklist

  • Added a label for the type of pr: bug, enhancement, schema, maintenance, Rule: New, Rule: Deprecation, Rule: Tuning, Hunt: New, or Hunt: Tuning so guidelines can be generated
  • Added the meta:rapid-merge label if planning to merge within 24 hours
  • Secret and sensitive material has been managed correctly (no credentials or tokens; exclusions use generic non-identifying vendor/install paths — not usernames, hostnames, org names, cluster/agent IDs, IP addresses, or internal workspace/repo trees; cloud/SaaS rules only hard-code vendor first-party or marketplace-listed app/client IDs — never tenant, subscription, account, or project IDs; sample JSON is redacted)
  • Automated testing was updated or added to match the most common scenarios
  • Documentation and comments were added for features that require explanation

Contributor checklist

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the distributed fan-in anomaly hunt.

No open issues 🎉

What changed in this PR

Adds a network hunt that compares recent distributed fan-in against a seven-day baseline for each capture agent and destination service. It identifies traffic anomalies for investigation without treating them as proof of denial-of-service activity.

Changes:

  • Adds an ES|QL query using distinct flow/source counts and median absolute deviation.
  • Documents thresholds, telemetry limitations, and operational considerations.
  • Registers the hunt in both catalog indexes.
File Description
hunting/​network/​queries/​impact_unusual_distributed_fan_in_relative_to_historical_baseline.toml Defines the hunt, query, metadata, and investigation notes.
hunting/​network/​docs/​impact_unusual_distributed_fan_in_relative_to_historical_baseline.md Provides the query and analyst-facing guidance.
hunting/​index.yml Registers the hunt and its MITRE ATT&CK mapping.
hunting/​index.md Adds the hunt to the network catalog.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants