Scaling Self-Improving Cyber Defenses

§ 1Abstract

In the next few years, cybersecurity will dramatically transition from relying on human experts to relying on autonomous systems. In conjunction, society will become increasingly reliant on technology. These confounding factors both raise significant safety risks while creating tremendous opportunities. At Incalmo, we are building the next generation of autonomous cybersecurity systems to ensure that this transition is safe and secure.

What Incalmo doesA generator creates a vulnerability chain in an environment and a defender tries to detect it. In a self-play loop the chain is adjusted until the defender fails consistently. The loop produces cyber environments. Those environments go to partner frontier labs and are used to post-train cyber-capable models.GeneratorDefendervulnerabilitychaincreatesdetectsadjust until the defender fails consistentlyproducesCyberEnvironmentspartnerpost-trainFrontier labsCyber-capablemodels
Fig. 1. Self-play between a generator and a defender produces cyber environments used to post-train models for partner labs.

§ 2Environments

Incalmo builds infrastructure for training cyber capabilities. One form of this infrastructure is RL environments that task models with solving realistic security challenges. These environments are high-fidelity, difficult, and verifiable, enabling models to learn and generalize to real-world security tasks. For instance, Incalmo uses self-play in emulated networks to create cyber reinforcement learning environments that train models in frontier defensive capabilities.

Network Defense
  1. 01 GenerateThe generator creates an attack on an enterprise network.
  2. 02 InvestigateThe defender gathers evidence from the hosts.
  3. 03 RespondIt contains the attack by isolating what was compromised.
  4. 04 EvaluateIf the defense holds, the generator creates a harder attack.
  5. 05 LearnIf it fails, the incident becomes a training example and the defender is updated.
01 Generate02 Investigate03 Respond04 Evaluate05 Learn
An attacker spreads through a network while a defender investigates and contains itThree attacks target an enterprise network with a VPN, workstation, identity server, application, database and backup host. The first is blocked at entry. The second reaches the workstation and identity server before containment. The third succeeds: the defender fails to contain the attack, leaving persistent access on the backup host. The failed incident becomes a training example, flows into the defender, and updates the model. Red lines trace attacks; blue lines carry evidence to the defender and containment actions back to the hosts.Enterprise networkblockedattacker succeeds → retain the incidentvpnisolatedworkstationisolatedidentityisolatedappisolateddbisolatedbackuppersistenceGeneratorcreates attacksDefenderNetwork Defenseaccess survives

(b) Procedure

  1. attack ← generator.create()
  2. evidence ← environment.run(attack)
  3. response ← defender.respond(evidence)
  4. result ← evaluate(response)
  5. if success: generate a harder attack
  6. else: retain failed incident
  7. defender ← train(defender, incident)

(c) Attack curriculum

#New challengeDefender
01Initial accessStopped at entry
02Lateral movementStopped midway
03Persistent accessFailed

Misses persistent access

Fig. 2. Incident-response self-play across an enterprise network. The first attack is stopped at entry. The second reaches the middle of the network. The third succeeds: the defender fails to contain the attack. The failed incident becomes a training example that updates the defender.

§ 3Join Us

Action

Interested in joining us or learning more? Reach out to hello@incalmo.ai.