Data Analysis Skills for Security Analysts: What CySA+ Expects

Security operations is a data problem before it is a technical one. An analyst who can query, aggregate and reason about distributions finds things a signature never will, and the skills involved are closer to basic data analysis than to data science. This is what those skills look like in practice and where they appear on the CySA+ objectives.

Baselining

Almost every useful detection is a deviation from normal, which means normal has to be established first. What does this host usually connect to, how much data does this user usually move, when does this service account usually run, how many failed logins does this application usually see on a Tuesday.

Two mistakes recur. Baselining over too short a window captures an atypical period and produces alerts every month-end. Baselining a whole population instead of a role produces a "normal" that fits nobody — a developer's workstation and a receptionist's behave nothing alike, and averaging them describes neither.

Baselines also decay. A detection tuned eighteen months ago against a network that has since moved half its services to cloud providers is measuring a world that no longer exists.

Aggregation beats inspection

The single most useful habit is summarizing before looking. Counting events by source, by destination, by user and by hour turns an unreadable log into a short table where the anomaly is visible.

Ratios carry more information than counts. Failed logins rising is ambiguous; the ratio of failed to successful logins rising across a service is a signal, because it is independent of overall traffic volume — the reasoning behind the detections under credential stuffing.

Cardinality matters too: how many distinct destinations did this host contact, how many distinct accounts did this address attempt. One host touching five hundred internal addresses is the lateral movement signature, and it is a count of distinct values rather than a count of events.

Distributions, not averages

Averages hide exactly what you are looking for. A mean response time of 200 milliseconds is consistent with every request taking 200 milliseconds and with most taking 50 while a handful take 30 seconds — and the second case is the interesting one.

Use percentiles. Look at the shape of the distribution, and treat a bimodal distribution as a sign that you are measuring two different things and should split them.

Standard deviation-based outlier detection works where data is roughly normal and misleads where it is not, which for network and log data is most of the time — traffic volumes and connection counts are typically heavily skewed. Percentile-based thresholds are safer, and plotting the data before choosing a method is worth the two minutes.

Time series and periodicity

Most security data has strong daily and weekly cycles, and a detection that ignores them alerts every weekday morning and misses genuine activity at 3am Sunday. Compare against the same hour of the same weekday rather than against a flat threshold.

Periodicity is also a detection in its own right. Human-driven traffic is irregular; automated traffic is not. A connection recurring at a consistent interval for days is the beaconing pattern described under flow collectors, and finding it is a matter of measuring the intervals between connections and looking at their variance.

Correlation, causation and base rates

Two cautions that decide whether analysis is useful or actively misleading.

Correlation is not causation. Two metrics moving together frequently share a cause rather than causing one another. In incident analysis this produces confident wrong conclusions about root cause, and the fix is the discipline described under the intelligence cycle — look for evidence that would disconfirm your hypothesis, not evidence that supports it.

Base rates decide alert quality. A detection that is 99 percent accurate sounds excellent and is useless when the thing it detects occurs in one event in a million: almost every alert it produces is a false positive. This is why broad, low-specificity rules drown teams, and why narrowing a detection to a rarer, more specific behaviour improves it far more than improving its accuracy would.

What is worth learning

Query language for your platform, above everything else. Enough scripting to pull, join and summarize data the console cannot — a language with a data frame library handles most of it. Basic statistics: distributions, percentiles, variance, and why averages mislead. And visualization, because a plot communicates a distribution to a colleague faster than a paragraph, which matters when you are reporting findings in the terms described under security metrics.

Exam angles

Know baselining as establishing normal behaviour before detecting deviation, and recognize that baselines must be role-specific and periodically refreshed. Understand aggregation, ratios and distinct-value counts as analysis techniques, trend and periodicity analysis for time series, and outlier detection with its assumptions. Know that correlation does not establish causation and that a low base rate makes even an accurate detection produce mostly false positives.

Comments