The SecOps platform has had a lot more mathematical analytics capabilities built into it but working with it has its own learning curve, Iβve found.Β To help with that, I created a new βStats Hunterβ skill:
https://github.com/GooGKush/secops-statistical-hunter
Β
Iβve tried to make the skill work with someone to find the right kind of search, guiding the users to methodologies and choices before generating a multi-stage YARA-L stats search.Β It also tried to give you guidance on noise thresholds.Β Β
Β
For example:
Β
> Using the stats hunter skill, can you help me identify low prevalence domains over the last month?
βΈ Thought for 3s, 906 tokens
Analyzing Query Approaches
To identify low prevalence domains over the last month using the SecOps Statistical Hunter (secops-statistical-hunter) methodology, we model this threat hunting workflow around
Fleet-Wide Entity Prevalence (P β€ 2 internal endpoints) and Query Volume Dispersion over raw telemetry (UDM_EVENTS).
ββββββ
### 1. Threat Archetype & Statistical Model
β’ Threat Archetype: LOW_PREVALENCE_INFRASTRUCTURE / C2_STAGING_DETECTION
β’ Telemetry Source: UDM_EVENTS (NETWORK_DNS) (with optional pivot to NETWORK_HTTP / NETWORK_CONNECTION)
β’ Mathematical Primitive: Enterprise-wide unique host count P = count_distinct (principal.asset.ip) aggregated per domain over a rolling 30-day window.
β’ Hypothesis: Legitimate services (CDNs, OS update servers, major SaaS tools) exhibit high enterprise prevalence (P gg 10 hosts). In contrast, targeted adversary infrastructure
(stealthy C2 callbacks, staged payloads, spear-phishing destinations) typically resolves on only 1β2 endpoints.
ββββββ
### 2. Semantic Sensitivity Tiers
Before running across 30 days of telemetry, select a sensitivity boundary that balances signal coverage against analyst triage capacity:
Tier β Host Prevalence (P) β Query Volume Floor / Ceiling β Physical Interpretation & False Positive Profile
βββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
CONSERVATIVE β P = 1 host β 10 β€ Queries β€ 500 β Single-Host Persistent Beaconing: Surfaces domains queried repeatedly by exactly one host. Filters
β β β out ephemeral one-shot lookups and widespread SaaS.
BALANCED (Recommended) β P β€ 2 hosts β 3 β€ Queries β€ 500 β Targeted Infrastructure & Initial Access: Captures staging and C2 callbacks across isolated hosts
β β β while filtering transient single-packet noise.
AGGRESSIVE β P β€ 5 hosts β Queries β₯ 1 β Broad Outlier Sweep: Surfaces every low-volume domain across the fleet. High analyst triage volume;
β β β includes typos and ephemeral CDN nodes.
β NOISE CLIFF β P > 10 hosts β No volume floor β Normal enterprise web traffic. Do not hunt at this threshold.
ββββββ
Then it gave me some options - both multi-stage and βclassicβ YARA-L and asked what I wanted to do next.Β I went with a test probe to help it calibrate
The Skill is designed to help filter out noise and you see it doing that and clustering types of findings:Β

For the output I tried to come up with summary views by default:

Β
Whereas if youβre using an MCP client that supports Javascript graphical renderings, it can generate charts like it did here for a different query:
Β

Β
Iβve had some interesting results with broad questions like βCan you help me identify shadow AI in my environment leveraging my EDR and Network logs?β
Please give it a try and let me know how it works out?


