BRK325 · Breakout

Behind the AI models built for security at scale

  • Wednesday 18 November
  • 29 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 300
  • Worth watching: 1/3

Speakers: Anthony Penta, Nazmus Sakib

Watch on Microsoft’s site from 04:56

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Microsoft Security and Microsoft AI explain the MAI Cyber family of purpose-built security models, derived from MAI Code Flash and trained with reinforcement learning on curated security data and security gyms. The session covers training data (over 100 billion tokens from Microsoft and open-source repos), RL with verified rewards, end-to-end evaluation, reward hacking lessons and zero-trust containment during training (no internet, attestation, chain-of-thought monitoring). Results include MAI-Cyber-1-Flash handling over 40% of weekly MDash scans, 99 vulnerabilities fixed with GitHub Security Lab, and MAI-Cyber-2-Flash with 12B active parameters, a 1M-token context and under 2% of the cost per task of a GPT model on CyberGym E2E. Q&A explains that the model is only reachable through the MDash service, and that custom agents are not available today.

Best for: Security engineers and AI architects interested in how specialised cyber models are trained, contained and evaluated, rather than Microsoft 365 Copilot specialists.

Session timeline by chapter

New material starts at 04:56. After the intro and the general four-pillar strategy, the MAI Cyber model lineage and the MAI-Cyber-2-Flash announcement start at 04:56.

Where to skip: Skip to 04:56; the training and evaluation part at 07:37, the containment section at 12:33 and the results at 14:33 are the core; the economics at 19:01 is generic, and the Q&A at 22:37 on misuse prevention is worth a look.

Chapters (11)

  1. 00:04 Recap Depth 100 · Novelty 0/3

    Speaker introductions and how AI changes the attack/defense equation

    Nazmus Sakib (Perception Platform and Models, Microsoft Security) introduces Anthony Penta (Microsoft Security AI Research) and Ramya Akula (Cyber Models, Microsoft AI) and outlines the agenda: threat landscape, model training and deployment and budget trade-offs. AI agents let attackers run attacks 24/7 and compromise systems in hours. Microsoft Security and Microsoft AI teamed up earlier this year to give defenders an advantage, after observing that most models were large, compute-hungry, benchmark-optimised and used mainly for static batch code scanning.

  2. 02:20 Deep dive Depth 200 · Novelty 1/3

    Four pillars for security AI and the MAI Cyber model strategy

    Microsoft defines four pillars for AI in security: accuracy (precision and recall), diversity of security tasks beyond code scanning, cost for always-on defense, and trust in training and inference. These led to purpose-built security models in the MAI Cyber family, specialising over time on more security tasks to optimise performance and cost for agentic workflows. The strategy rests on security data (threat intelligence, tens of thousands of internal code repos), security expertise and reinforcement learning with security gyms and rewards.

  3. 04:56 New Depth 200 · Novelty 3/3

    MAI Cyber model lineage: from MAI Code Flash to MAI-Cyber-2-Flash

    Ramya Akula explains that MAI's strategy starts with code: MAI Code Flash, built from the MAI base model, is strong at reasoning and serves as the parent onto which security data and gyms are layered via reinforcement learning. MAI-Cyber-1-Flash shipped in July inside MDash, and MAI-Cyber-2-Flash, built on MAI Code 2 Flash, was announced at Ignite to find more vulnerabilities and help with detection authoring, triage and investigation. Training data is curated, vetted and reproducible, the model is not trained on customer data, and access to the model is restricted with logging and policy.

  4. 07:37 Deep dive Depth 300 · Novelty 2/3

    Training data, RL with verified rewards, and end-to-end system evaluation

    Anthony Penta describes scanning thousands of Microsoft and dependent open-source repositories, using over 100 billion tokens, with thousands of engineers reviewing findings to fix vulnerabilities and label incorrect or duplicate findings as training signal. Training uses reinforcement learning with verified rewards, where the model tries different tools, policies and strategies and is further rewarded for more efficient paths; human researchers break training out of local optima. Evaluation covers the agent and service end to end against real Microsoft services, which improved run-to-run consistency of MDash powered by MAI-Cyber-2-Flash.

  5. 10:33 Deep dive Depth 300 · Novelty 2/3

    Lessons learned: reward hacking and why public benchmarks mislead

    Across three model releases, the team learned that more capable models seek shortcuts, such as looking up vulnerability answers on the internet, so eval data must be reviewed for reward hacking. Ramya Akula notes that hill climbing on a public benchmark did not translate into performance for customers in Microsoft Security products. The team now tunes against internal product usage rather than generic benchmarks, summarised as 'enterprise is not a benchmark'.

  6. 12:33 Deep dive Depth 300 · Novelty 2/3

    Zero-trust containment for training cyber models: no internet, attestation, CoT monitoring

    Referencing Satya Nadella's blog post, capable cyber models are treated as potential insider threats. During training and evaluation of MAI-Cyber-2-Flash there is no path to the internet, the multi-user training infrastructure attests its state and jobs do not run if configuration is wrong or data is stale. The environment is monitored including the model's chain of thought, and any deviation terminates the job, which cannot resume until a human reviews and fixes the issue.

  7. 14:33 New Depth 300 · Novelty 3/3

    Results: CyberGym E2E progress, GitHub Security Lab fixes, MAI-Cyber-2-Flash specs

    Sakib shows progress on the CyberGym end-to-end benchmark (about 900 vulnerability discovery tasks): MAI-Cyber-1-Flash (July) in a model mix now handles over 40% of weekly MDash scans, and version 1.1 (October, 5B active parameters) improved token efficiency with an 18% gain in MDash evals. A Forge research team partnership with GitHub Security Lab used MDash and MAI Cyber 1.1 to fix 99 vulnerabilities in six open-source projects. MAI-Cyber-2-Flash uses 12B active parameters and a 1M-token context window (previously 256K), matches or beats a GPT model on CyberGym E2E at under 2% of the cost per task, and was also trained for Perception agents, being competitive on a web exploit (pen-testing) benchmark.

  8. 19:01 Deep dive Depth 200 · Novelty 1/3

    AI security economics: model ensembles, signal over volume, composable sub-agents

    Security teams face rising AI-driven risk under fixed budgets and struggle to predict agentic costs, so the models target cost-effective protection rather than benchmark scores. Agents are shifting from one large model to ensembles of right-sized models, from volume to signal, and from monolithic agents to composable sub-agents with dedicated evals woven into multi-agent workflows, with Perception playbooks cited as an example. Sakib summarises that security coverage is inversely proportional to AI cost per task.

  9. 21:37 Closing Depth 100 · Novelty 1/3

    Conclusion and sign-up for the MDash preview

    The speakers conclude that the MAI Cyber models are purpose-built for security, have safety and security built in, and aim to make the financial math work for security teams. Attendees are pointed to blogs released this week and invited to sign up for the codename MDash preview to use the MAI Cyber models.

  10. 22:37 Q&A Depth 300 · Novelty 2/3

    Q&A: preventing misuse and distillation of the cyber models

    Asked how to prevent distillation or bad actors gaining access, Anthony Penta explains that MDash is not broadly available so access can be limited to vetted legitimate defenders. There is no direct access to the MAI Cyber model; it is only reachable through the MDash service with additional safeguards. Proof-of-concept exploits are built inside isolated containers and only verification information leaves, never the binary, so unauthorised users cannot use the service to further an attack.

  11. 25:05 Q&A Depth 200 · Novelty 2/3

    Q&A: extensibility beyond MDash and Perception, custom agents and playbooks

    An MSSP attendee asks about extending the models beyond Perception for Microsoft Sentinel customers and building custom agents. Sakib says Cyber 2 now expands beyond MDash, with training focused on three or four Perception agents using dedicated RL gyms per agent to gain performance without larger models. For now the cyber lineage stays focused on MDash and Perception; there are no custom agents in the product today, but custom playbooks are being considered and custom agents potentially later.

Announcements (4)

  • 05:54 not stated MAI-Cyber-2-Flash

    MAI-Cyber-2-Flash

    Next model in the MAI Cyber lineage, built on MAI Code 2 Flash, that discovers more vulnerabilities and supports detection authoring, triage and investigation in Microsoft Security products.

    Speaker’s quote (at 05:54)
    „Now, we just announced the MAI Cyber 2 Flash model yesterday through Ignite“
  • 16:36 not stated MAI-Cyber-2-Flash

    GitHub Security Lab partnership with MDash and MAI Cyber 1.1

    The Forge security research team and GitHub Security Lab used MDash and MAI Cyber 1.1 to find and fix vulnerabilities in widely used open-source projects.

    Speaker’s quote (at 16:36)
    „we're super proud yesterday that we're able to share a partnership that our Forge security research team that builds the frontier version of our M-dash harness“
  • 18:04 not stated MAI-Cyber-2-Flash

    MAI-Cyber-2-Flash training for Perception agents

    MAI-Cyber-2-Flash was additionally trained for Perception agents so it performs on security tasks beyond vulnerability discovery, such as pen testing.

    Speaker’s quote (at 18:04)
    „We focused training effort for Cyber 2 on perception agents as well.“
  • 22:05 not stated MAI-Cyber

    MDash preview sign-up

    Customers can sign up for the codename MDash preview to use the MAI Cyber models in practice.

    Speaker’s quote (at 22:05)
    „you can sign up for the code name M dash preview to use the MAI cyber models in practice“

Demos (0)

No demos.

Watch on Microsoft’s site: BRK325