Research

We show our homework.

Offsys Signals is built on self-exciting point processes, not vibes. This page explains every model we run, how we validate them, and where they fall short. If a signal can't beat a naive baseline, we don't ship it.

The model

Why a Hawkes process?

Ransomware attacks cluster. One listing on a leak site often triggers more — copycat groups ramp up, the same exploit kit hits multiple targets, or a single initial-access broker sells the same batch of credentials to multiple affiliates. A naive model that assumes incidents arrive independently at a fixed rate misses this clustering entirely.

A Hawkes process is a self-exciting point process: each event raises the probability of the next one. The conditional intensity (the instantaneous event rate at time t) is:

λ(t) = μ + n·β·Σ e-β(t - tj) + γ·βe·Σ mk e-βe(t - sk)

μBackground rate — the baseline number of incidents per day that would happen regardless of recent activity.
nBranching ratio — how many child events each parent event triggers on average. Bounded below 1 (sub-critical) to ensure the process doesn't explode.
βSelf-excitation decay — how quickly the clustering effect fades after each event. A half-life of roughly 1/β days.
γ, βeExogenous excitation — how much external events (new CVE exploits, KEV additions) accelerate the rate, and how quickly that effect decays.
mkExogenous mark — severity weight of each CVE event, derived from EPSS percentile (m = 1 + percentile). Higher-severity vulnerabilities produce stronger excitation.

CVE excitation

When a vulnerability goes live, attacks follow.

Our model goes beyond simple self-excitation. We feed in an exogenous stream of CVE events from CISA KEV and NVD, weighted by their EPSS exploitation probability. When a high-severity CVE is added to KEV, the model's intensity spikes — and we can quantify exactly how many additional incidents to expect.

This lets us answer scenario questions: "If a new critical CVE drops tomorrow, how many additional ransomware incidents should we expect in the next 30 days?" The answer is computed both analytically (closed-form impulse response) and by Monte Carlo simulation, and they agree.

FittingExact maximum likelihood via L-BFGS-B with multi-start optimisation. No neural networks, no approximations — the likelihood has a closed form for exponential kernels.
ForecastingMonte Carlo via the branching (cluster) representation: simulate background arrivals, lingering excitation from history, and future exogenous events at the trailing 90-day rate. 1,000 paths per forecast → full count PMF.
Goodness of fitTime-rescaling theorem: if the model is correct, inter-compensator gaps are Exp(1). We run a Kolmogorov-Smirnov test on every fit and report the p-value.
DecompositionEM-style attribution: every historical event is decomposed into background, self-excited and exogenous shares. This tells you what fraction of recent activity was "organic" versus triggered by exploit availability.

Data

What goes in.

The models train on 29,400+ deduplicated incidents collected from 2,700+ sources since 2021, covering 500+ ransomware groups across 147 countries. Every incident passes through:

Entity resolutionVictim names are normalised ("Acme Pvt Ltd" = "ACME PRIVATE LIMITED") using a multi-step pipeline: case folding, suffix stripping, abbreviation expansion, token sorting. This prevents the same victim from inflating counts.
Cross-source deduplicationThe same incident reported by multiple trackers is merged by matching on normalised victim name + source URL, with cross-source conflict resolution for disagreements on dates and attribution.
Date hygienePublished dates are built through a dedicated pipeline — never directly from source dates or crawl timestamps. Future dates are treated as leak countdowns (publish deadlines), not event dates. Estimated dates are flagged.
NowcastingRecent days are systematically under-counted because incidents haven't been ingested yet. We estimate a reporting-delay distribution using the Lynden-Bell estimator (the standard NPMLE for right-truncated data) and adjust recent counts before feeding them to forecasters.

Validation

Rolling-origin backtesting.

Every model is validated with a rolling-origin, as-of backtest — the gold standard for time-series forecast evaluation. For each historical date, we ask: "given only the data we actually had at the time, what would we have forecast?" Then we score against reality.

"As-of" is the critical detail. Incidents that were backfilled later — crawled weeks after they appeared on leak sites — are excluded from the training window at each origin. Without this filter, every model looks better than it is because it's training on data it wouldn't have had in real time.

CRPSContinuous Ranked Probability Score — the proper scoring rule for probabilistic forecasts. Measures the full predictive distribution, not just the point forecast. Lower is better.
Skill1 − CRPSmodel / CRPSnaive. Positive means the model beats the naive baseline (last window's count). Paired: compared on exactly the same forecasts.
CoverageHow often the 50% / 80% / 95% prediction intervals actually contain the truth. Nominal: 50 / 80 / 95%. Under-coverage means overconfident intervals.
PIT histogramProbability Integral Transform — should be uniform if the forecast is calibrated. A U-shape means underdispersed (too narrow). An inverted-U means overdispersed.
Log score−log p(y) — the negative log probability assigned to the actual outcome. Harshly penalises assigning near-zero probability to what actually happened.
Brier scoreBinary calibration: for each series, "will next window exceed the median of recent windows?" With Murphy decomposition into reliability (calibration error) and resolution (discrimination).

Backtests run across four dimensions (global, per-gang, per-sector, per-country) and three horizons (7, 14, 30 days). Only series with at least 5 historical events are forecast — we don't pretend to predict rare or new groups.

Baselines

What we have to beat.

Every signal must outperform three reference baselines. If it can't, we don't ship it — a model that loses to a two-line formula is worse than useless because it gives false confidence.

NaivePoisson with mean = count in the most recent window of the same length. "Last week had 12 incidents, so next week will too." Hard to beat at short horizons.
Seasonal naiveSame as naive but one period back (weekly for 7-day horizons). Captures any weekly seasonality in leak-site posting patterns.
EWMAPoisson with mean = exponentially weighted moving average of the last 8 windows (α = 0.5). Adapts to trends faster than the naive but slower than the Hawkes.

Calibration

Live in the platform, not just in backtests.

The platform runs continuous calibration scoring. Every forecast made by the Hawkes models is logged with its full probability distribution, then scored against the actual outcome once the horizon elapses.

Platform users see:

Calibration chartsBrier score decomposition into reliability (calibration error) and resolution (discrimination), with per-bin predicted-vs-observed frequencies.
Parameter drift monitoringμ, n, β tracked over time for each series. When the background rate or branching ratio shifts significantly, the model is flagged for review. Ecosystem regime changes (a new major exploit kit, law enforcement takedowns) show up here first.
Exo-Hawkes calibrationSeparate calibration for the CVE-exogenous model: did the CVE impulse response match reality? Scored per-dimension with CRPS, coverage, and AIC comparison against the endogenous-only model.

Contagion detection

When a campaign jumps sectors.

The Hawkes model's self-excitation is fitted per dimension (sector, country, gang). When the fitted intensity in a dimension exceeds 2× its baseline rate, we flag it as an active contagion cascade. This catches cross-sector spread — a campaign that started in healthcare and is now hitting manufacturing — before the volume becomes obvious in raw counts.

Contagion alerts fire from a Celery Beat task running against the live Hawkes fits. The alert carries the dimension, current intensity multiple, and which recent events are driving the excitation.

Honest limits

What we can't predict.

Leak sites show victims who didn't pay, from groups that run leak sites. We see a biased sample of the ransomware ecosystem, and we are honest about it.

No individual targetingWe forecast sector-level volumes and gang activity patterns. We do not predict which specific company will be hit next — and we are sceptical of anyone who claims to.
Observation biasOnly groups with leak sites appear. Gangs that don't run leak sites, and victims who pay before being listed, are invisible to our models.
Regime changesLaw enforcement takedowns, new exploit kits, major group rebrands — these create structural breaks that backward-looking models can't anticipate. Parameter drift monitoring catches them after the fact.
Small-sample seriesNew gangs and niche sectors don't have enough history to forecast. We require a minimum of 5 events before attempting a prediction, and even then the intervals are wide.

Implementation

Built on numpy and scipy, not a black box.

The entire forecasting stack is pure numpy + scipy. No deep learning frameworks, no opaque libraries, no GPU requirements. The Hawkes process likelihood is computed with O(N) recursions; fitting is L-BFGS-B with analytic-gradient multi-start; forecasting is branching-representation Monte Carlo.

This is a deliberate choice. A model you can read in a single Python file, whose every parameter has a physical interpretation (background rate, branching ratio, decay time), is a model you can audit, debug, and explain to a regulator. We chose interpretability over complexity because, for this problem, it also happens to win on accuracy.

numpy + scipy
L-BFGS-B
KS goodness-of-fit
Lynden-Bell NPMLE
CRPS + Brier
ICD 203

Probability assessments follow ICD 203 (Words of Estimative Probability) — the intelligence community standard for expressing uncertainty. Every forecast maps to a WEP band (Remote, Unlikely, Even Chance, Likely, Very Likely) with the associated probability range, so analysts can use the output in their own reporting without translation.

See the signals in action.

Every signal described here is live in the Offsys Intel platform today.