Quantifying Evasion Efficacy and Attack Impact
Back to Academy
19Practice·Advanced

Quantifying Evasion Efficacy and Attack Impact

Measure EDR/AV evasion and attack impact with defensible statistics — confidence intervals, significance, and effect sizes.

7 min read Practice June 9, 2026

Full Guide

Executive Summary

Claiming "90% EDR bypass" or "our attack is highly effective" without statistics is the single fastest way to get an otherwise-strong offensive paper rejected for soundness. A percentage with no sample size, no uncertainty, and no significance test is a marketing number, not a scientific one. The reviewer's question is always the same: given your data, how confident should I actually be in that number?

This module covers the inferential statistics that turn evasion experiments into defensible claims: confidence intervals (the honest version of a percentage), significance tests (is the difference real or noise?), and effect sizes (is the difference big enough to matter?). It is the quantitative payoff of all the rigor in Tracks 3 and 4.

The one-line mental model: Never report a bare percentage. Report it with an interval, a test against a baseline, and an effect size — that triplet is what "rigor" means in an evaluation.

Learning Outcomes

By the end of this module you will be able to:

  • Quantify evasion rate against multiple defenders with uncertainty.
  • Apply confidence intervals and significance tests correctly.
  • Report effect sizes, not just p-values.
  • Account for defender configuration variance.

1. The Confidence Interval: Honest Percentages

A point estimate ("78% evasion") hides its own reliability. The confidence interval exposes it: with small n, the interval is embarrassingly wide, which is exactly the information a reviewer needs.

text
SAME 78% — VERY DIFFERENT CLAIMS  (Wilson 95% CI for a proportion)   n = 9    : 78%  ▕────────●────────▏  CI [45%, 94%]   (basically noise)   n = 30   : 78%  ▕───●───▏           CI [60%, 89%]   n = 100  : 78%  ▕─●─▏               CI [69%, 85%]   n = 1000 : 78%  ●                   CI [75%, 80%]              0%        50%        100%

For evasion rates (proportions), use the Wilson or Clopper-Pearson interval, not the naive normal approximation, which misbehaves near 0% and 100% — precisely where evasion results often live. The headline of your evaluation should be "78% (95% CI [60%, 89%], n=30)", never a naked "78%."


2. Significance: Is the Difference Real?

When you claim your technique beats a baseline, you are claiming a difference — and differences can arise from chance. A significance test estimates the probability your observed gap is just noise.

diagram — rendering…
flowchart TD
    H["Your technique 78% vs<br/>baseline 55% evasion"] --> T{"Pick the test"}
    T -->|two proportions| C["Chi-square / Fisher's exact<br/>(Fisher if small n)"]
    T -->|paired per-product| M["McNemar's test<br/>(same products, two techniques)"]
    T -->|continuous (time-to-detect)| MW["Mann-Whitney U<br/>(non-normal latencies)"]
    C & M & MW --> P["p-value + effect size + CI"]

    style H fill:#0c2a22,stroke:#10e793,color:#d1fae5
    style P fill:#1a230c,stroke:#fca311,color:#fef3c7

Test choice matters: because you typically run the same EDR products under two techniques, your data is paired, so McNemar's test is more appropriate (and more powerful) than treating the groups as independent. Time-to-detect latencies are skewed and right-censored, so a non-parametric test (Mann-Whitney) beats a t-test. Using the wrong test is a soundness flaw reviewers spot.


3. Effect Size: Is It Big Enough to Matter?

A p-value tells you a difference is real; it does not tell you it is large. With enough trials, a trivially small difference becomes "statistically significant." Reviewers now demand effect sizes to guard against this.

QuestionStatistic answers itStatistic does NOT
Is the difference real (not chance)?p-valuesize, importance
How big is the difference?effect size (h, OR, Cliff's δ)whether it's chance
How precise is my estimate?confidence interval—
text
TRAP: significance without size  n = 5000 per arm. Technique A: 55.0% evasion, B: 56.2%.  p = 0.03  → "significant"!  Effect size (Cohen's h) = 0.024 → utterly trivial.  Honest claim: "a statistically detectable but negligible 1.2-point                 difference (h=0.02); the techniques are practically                 equivalent."

Always pair every p-value with an effect size and a CI. For proportions use Cohen's h or the odds ratio; for rank/latency data use Cliff's delta. The sentence "significant (p<.05) and large (h=0.8)" is worlds apart from "significant (p<.05) but negligible (h=0.02)" — and only the effect size distinguishes them.


4. Multiple Comparisons and Per-Product Variance

Evaluating one technique across nine EDRs means running many tests, and running many tests inflates the chance of a spurious "significant" result. You must correct for it — and you must resist hiding per-product variance inside a single pooled number.

text
PER-PRODUCT, NOT POOLED  (a pooled mean can lie)   EDR        evasion%   95% CI        detected?   A          97%       [83, 99]        rarely   B          93%       [78, 98]        rarely   C          90%       [74, 97]        rarely   D          12%       [4, 30]         almost always  ← the story!   ...   POOLED     73%       [65, 80]        ← hides that D is immune    Multiple tests (9 products): control family-wise error   (Bonferroni / Holm) so 1-in-20 luck doesn't manufacture a finding.

Two disciplines: report per-product results with their own CIs (the pooled 73% conceals that product D is essentially immune — which is the most interesting finding), and apply a multiple-comparison correction (Holm-Bonferroni) so that, across nine tests, you don't celebrate a false positive. Per-product reporting also directly serves external validity (Module 09): readers can judge transfer to their product.


5. Putting It Together: The Evaluation Claim

A complete, reviewer-proof quantitative claim bundles all four elements. Build a template and fill it for every headline number.

diagram — rendering…
flowchart LR
    PCT["Point estimate<br/>78%"] --> CLAIM["Complete claim"]
    CI["+ CI [60,89]"] --> CLAIM
    N["+ n=30"] --> CLAIM
    TEST["+ test vs baseline<br/>McNemar p=.004"] --> CLAIM
    ES["+ effect size<br/>h=0.51 (medium)"] --> CLAIM

    style CLAIM fill:#0c2a22,stroke:#10e793,color:#d1fae5
"Across 9 EDR products (n=30 trials each), our syscall-layer technique evaded detection in a mean 78% of trials (95% CI [60%, 89%]), versus 55% for the userland baseline — a significant (McNemar, p=.004, Holm-corrected) and medium-sized (Cohen's h=0.51) improvement. Per-product results (Fig. 4) show product D remains immune (12%, CI [4%, 30%])."

That single sentence answers every soundness question a reviewer can raise: how much, how uncertain, how many, versus what, is it real, is it big, and where does it fail. Write your evaluation so its headline reads like this.


Step-by-Step Practical Exercise

Goal: Run the full statistical pipeline on your dataset and produce one reviewer-proof evaluation claim.

Time: ~80 minutes. You need: the labeled dataset from Module 17 (≥ two conditions, multiple targets) and a stats tool (Python statsmodels/scipy or R).

Step 1 — Compute CIs for each rate (15 min). For each condition × product, compute the evasion proportion and its Wilson 95% CI (§1). Note how width tracks your n.

Step 2 — Choose and run the right test (20 min). Decide paired vs. independent (§2). Run McNemar (paired proportions) or Fisher/chi-square; for any latency metric, run Mann-Whitney. Record the p-value.

Step 3 — Compute effect sizes (15 min). For your main comparison, compute Cohen's h (proportions) or Cliff's δ (ranks). Interpret it in words (negligible/small/medium/large) — don't let a small p masquerade as a big effect (§3).

Step 4 — Correct + de-pool (15 min). Apply Holm-Bonferroni across your family of tests (§4). Build the per-product table with individual CIs. Identify the most interesting per-product result.

Step 5 — Write the bundled claim (15 min). Fill the §5 template into one sentence carrying point estimate, CI, n, test, effect size, and the per-product exception.

Deliverable: per-condition CIs, a correctly-chosen test with p-value, an effect size with interpretation, a multiplicity-corrected per-product table, and one bundled evaluation sentence. This is the quantitative core of your Evaluation section.


Where to go next

Related reading on the blog: "Stop Reporting Naked Percentages" and "The Pooled Mean That Hid the Immune EDR".