Microsoft wants you to rethink your approach to cyber defense
When finding vulnerabilities and generating targeted exploits is a 21-minute job that costs just $3.61, itâs time to scrap outdated best practices and âhand-to-hand combat with attackers,â warns Redmondâs AI security lead.
Cyber defenders need to shake off traditional best practices and switch from reactive patching to building inherently resilient systems in the face of AI-accelerated vulnerability discovery, according to a senior security manager at Microsoft.
David Weston, group manager in the Windows team at Microsoft, told delegates at Black Hat USA that traditional approaches to vulnerability remediation fail to work in an era when AI tools are making vulnerability discovery and exploit development cheaper, faster, and more scalable.
Westonâs keynote â entitled âThe End of Rare: Defending When Offense Is Cheapâ â challenged industry vulnerability best practices that Weston said where from a time when developing exploits and mounting attacks was time consuming and expensive. Thatâs no longer the case, he said.
As evidence, Weston explained how the Microsoft Security Response Center (MSRC) is doubling the number of vulnerabilities it processes and patches every six weeks. âThat is an incredible number,â he said. âWeâre nine times the vulnerability volume that we were in March.â
The accelerating pace of vulnerability discovery is âhighly correlatedâ to rising use of increasingly capable AI tools, and presents a cross-industry problem, he said.
âThese are serious vulnerabilities, the kind that I used to take a year to bespoke craft,â Weston pointed out. âTheyâre being spit out at industrial speed, and itâs not [just] Windows. You look at Linux, you look at any other operating system out there, I think youâll see a pretty strong correlation.â
Microsoftâs MDASH, short for Multi-model Agentic Scanning Harness, found roughly 200 Linux kernel vulnerabilities in the companyâs internal Azure Linux distribution that Microsoft is working with the community to fix.
Microsoft also added a new module to MDASH to help its engineers triage vulnerabilities. The technology is capable of turning a static analysis result into proof-of-concept exploit code.
âThatâs worked much better than we ever thought,â said Weston, who leads Microsoftâs AI vulnerability-discovery and frontier-model research. âOf the 200 vulnerabilities, we can automatically generate 182 crash-level POCs. Many of them are fully working exploits. Iâm talking root exploits automatically spit out from vulnerability.â
The average computing cost of detecting those vulnerabilities and generating their exploits was just $3.61, with a time to generation of 21 minutes.
Microsoftâs work provides further evidence that developing an exploit from a security vulnerability is not likely a factor holding back any attackers with access to advanced AI-based security tools.
âBy the end of the year, weâll be looking at automatic exploit generation being pretty commonplace and pretty commodity,â Weston warned.
Traditional mitigations failing
Nondeterministic mitigations that introduce randomness or unpredictability, such as ASLR (Address Space Layout Randomization), may continue to be an obstacle for attackers but are not likely to stem the rising tide of AI-mediated vulnerability discovery for long.
Enterprises have historically relied heavily on threat detection for defense, but that layer of protection assumes attackers face cost and time challenges in changing the tools and techniques they use. Those comforting assumptions are also being undermined by AI, Weston said.
The idea used to be that itâs âsuper expensive to code a framework or an implant, so people just keep using packers and obfuscation tools on the same stuff, and they keep using the same TTP, so weâll work against that. And thatâs gonna give us durability in detection,â Weston said.
âInstead of having to retrain the operator, which would have been expensive for cyber operations, we can just use autonomous operations,â he noted of attackersâ evolving mentality. âInstead of obfuscating, we can create a bespoke set of tools or frameworks per target.â
How to turn the table on attackers
In response to the changing economics of security, the industry must adopt memory-safe computer programming languages such as Rust alongside the use of AI-based tools to improve the resilience of existing code bases.
âWe donât wanna go vulnerability for patch,â Weston argued. âWe donât want to go exploit for detection, evasion for detection. Hand-to-hand combat with attackers will cause us to lose in defense.â
About 70% of vulnerabilities that are patched today, at least by the major vendors, are memory safety issues. Safer computer programming languages, such as Rust and Golang, âeliminate those,â according to Weston. For example, Google reduced memory safety flaws from 76% of Android vulnerabilities in 2019 to below 20% in 2025 after it switched to Rust.
More recently, Microsoft rewrote the Azure hypervisor, the software that isolates virtual machines from one another, using Rust, and scaled it across 1.5 million virtual machines without any adverse incident.
A project from the Defense Advanced Research Projects Agency, called Tractor, automates the conversion of legacy C code into Rust. Microsoft Researchâs AI-based project RustAssistant, introduced last year, uses AI-based technology to detect and suggest remedies for Rust compilation errors.
Weston added: âWe can shift left and make more secure software. Thatâll limit vulnerability.â
Detection of attacks is still important but no longer sufficient. Both enterprises and vendors should be investing in durability.
âWe can move to more prevention mechanisms,â Weston said. âAnd we can use secure by construction and even formal methods to get the deterministic safety. If we can do that along a realistic timeline, then we can turn the tables and drive this problem towards attackers.â
Vulnerability research in the age of AI
Yan Shoshitaishvili, an associate professor at Arizona State University and well-known vulnerability researcher, presented a Black Hat USA keynote on how agentic AI is drastically reducing the cost and time required to discover and exploit vulnerabilities.
The talk â âVulnerability Research in the Agentic Ageâ â offered a companion piece to Westonâs presentation. AI tools have shifted the human skills in bug hunting toward developing better search strategies, validation pipelines, and exploitability checks.
âGoing from asking GPT to find bugs, to having an agentic pipeline thatâs vulnerability-aware requires human innovation, human understanding of the threat models, of the vulnerability space,â Shoshitaishvili said.
He and his research student Hong Kai Chen applied these techniques to a study on OpenHarmony, the open-source foundation behind parts of Huaweiâs commercial HarmonyOS ecosystem for mobile devices.
âWe found dozens of flaws, ranging from Bluetooth, device takeovers, to privacy leaks, location, all of this, very fun stuff, in Open Harmony, because we started from the vulnerability properties that we extracted from Android bugs,â Shoshitaishvili said. âNow weâre doing this agentically, and the results are incredible.â
With agentic pipelines, Shoshitaishviliâs team is finding vulnerabilities far faster than they can responsibly disclose with accompanying documentation and proposed fixes.
Shoshitaishvili tested the âjust rewrite everything in Rustâ idea using agentic code generation on a Rust rewrite of coreutils
shipped with Ubuntu. His team found that memory-safety bugs (buffer overflows, use-after-free) were largely gone but logic vulnerabilities, such as time-of-checkâtime-of-use (TOCTOU) races and cryptographic, reappeared.
Rewriting in a safer language removes some classes of bugs but not the underlying design-level weaknesses unless active steps to rewrite problematic code are undertaken, Shoshitaishvili concluded.
How it works
Once you click Generate, Ollama reads this article and crafts 5 comprehension questions. Your answers are graded against the article content â general knowledge won't be enough. Score 70+ to count toward your certificate.
Questions are cached â you'll always get the same 5 for this article.