Awwab.md

shippedNov 2026

Watermarking the Control Plane

Attributing YoYo attackers on Kubernetes autoscaling with secret randomized scale-in holds

resultAttacker damage down 45% in simulation; attacker quarantined live with zero benign clients flagged

Watermarked scale-in, as a timing diagramThe autoscaler's replica count steps up when load bursts and steps down only after a secret, randomly drawn hold. A reactive YoYo attacker starts each burst a short, steady lag after every scale-in release. A benign cron job bursts on a fixed period that ignores the releases. A per-client exact randomization test asks whether lag-to-onset tracks the releases; the attacker goes to a one-pod quarantine pool and the cron job is served as normal.replicasattackerbenign cronreleasesecret holdup1steady lagtimeRandomization testper client, exactdoes lag-to-onsettrack releases?yesQuarantine pool1 pod, servednoCron: not flaggedserved as normalsecret scale-in releasereactive attackerbenign cron job
fig. 1How the defence tells a YoYo attacker from a cron job. Scale-in is released after a secret random hold; an attacker reacting to the autoscaler restarts just after each release and a cron job doesn't, so a randomization test on that lag flags only the attacker. Schematic, not measured data.

A research paper written for our Information Security complex engineering problem (CEP): Watermarking the Control Plane: Interventional Attribution and Mitigation of YoYo Attacks on Kubernetes Autoscaling. I’m the first of five authors.

A YoYo attack never takes a service down; it makes it expensive to keep up. An attacker sends well-timed bursts that trip the Horizontal Pod Autoscaler into scaling up, then backs off just as it scales down, so the victim pays for capacity nobody needed. This is economic denial of sustainability. Every request is valid, so ordinary detection has nothing to catch.

Our idea is to make the autoscaler itself the instrument. Scale-in is delayed by a secret, randomized hold. A client that is genuinely reacting to the autoscaler shifts its timing with that hidden signal, and a per-client exact randomization test on lag-to-onset exposes it. Flagged clients are moved to a one-pod quarantine pool. The paper makes three claims:

  • Passive detectors provably can’t separate an attacker from a matched cron job.
  • The randomized hold does the attribution, while cost reduction comes from the quarantine.
  • Open-loop traffic can’t be attributed this way at all.

Simulation. We preregistered the analysis and ran it on 200 held-out seeds. At most 0.25% of benign clients were falsely flagged, compared with 66–100% for passive baselines on an aligned cron job. Attacker damage per thousand requests fell from 131.5 to 71.8 pod-seconds.

Live. On a kind cluster, the attacker was quarantined at 723 s with zero benign flags, and benign success rose from 89.5% to 97.4%.

We report the limits as plainly as the wins. Live pod-seconds didn’t fall, because the quarantine replica is always on. An attacker who adds 40 s or more of restart jitter escapes detection. The earlier iterations that didn’t work are kept in the repository as negative results.