Type something to search...
AI for Cybersecurity

AI for Cybersecurity

Introduction

In today’s cybersecurity arms race, threat actors are no longer lone wolves or backroom hobbyists. They are leveraging the full might of generative AI—automating phishing campaigns, writing polymorphic malware, and even crafting convincing deepfakes—all at scale and speed. Meanwhile, defenders remain bogged down by compliance checklists, ethical debates, and procurement cycles. This widening asymmetry should alarm us. This blog dives deep into the lesser-known AI-driven threats we’re already seeing and makes the case for why defenders must embrace generative AI as fast as possible.

Podcast

The AI Arms Race in Cybersecurity

Cyber adversaries are already harnessing the power of generative AI to craft attacks, from ultra-realistic phishing emails to bespoke malware. In fact, researchers have observed a dramatic surge in AI-driven attacks: Zscaler found a year-over-year 60% jump in global phishing attacks in 2023, fueled by generative-AI voice phishing and deepfake schemes. Maintworld reports that roughly 80% of recent phishing campaigns now use GenAI tools, and InfoSecurity Magazine notes a 1,265% increase in such AI-enabled phishing since 2022. These figures underscore that generative AI is democratizing attack capabilities - making it easier for even unskilled actors to launch sophisticated campaigns.

One telling analogy is the rise of 3D-printed “ghost guns.” Affordable 3D printers enabled hobbyists to manufacture untraceable firearms at home, and ghost gun usage in U.S. crimes spiked 1,000% from 2017-2021. Generative AI similarly democratizes cyber-weapons, but without the need for physical components. Just as a 3D printer needed polymer and gunpowder, generative AI needs only compute power. GPU technology—often called the “gold” of AI—is advancing so rapidly that consumer devices are becoming powerful AI platforms. For example, Nvidia’s Jetson Orin Nano dev kit (a palm-sized GPU computer) now costs $249 (down from $499) and delivers high-end generative-AI performance for hobbyists and students.

In general, GPU performance has skyrocketed - roughly 7,000x faster since 2003 and 1,000x faster for AI inference in the last decade. At the same time, model optimization means today’s small LLMs rival the power of much larger models of the past. One analysis found that a 1-billion-parameter model now outperforms a 175-billion-parameter model from just three years ago, and LLM inference costs have dropped by about 1,000x in three years. In short, both the software (AI models) and hardware (GPUs) barriers are falling, making AI-augmented attacks ever more accessible.

AI-Powered Attack Examples

Attackers are already exploiting generative AI in real-world campaigns. In the social-engineering realm, AI can craft highly personalized, error-free phishing lures at scale. Zscaler’s ThreatLabz found that vishing (voice phishing) and deepfake attacks are on the rise, with fraudsters using AI voice tools to impersonate executives. For example, the famous Arup engineering firm case involved a deepfake of a CFO’s video that tricked an employee into authorizing a $25M transfer. And dark-web tools like WormGPT and FraudGPT are explicitly marketed to criminals for these purposes. SlashNext reported WormGPT (a GPT-J based bot) being extensively used in Business Email Compromise (BEC) schemes, and security firm Cybersixgill noted that FraudGPT was sold to over 3,000 buyers by mid-2023, promising code for phishing pages and undetectable malware.

In the malware space, attackers are using AI to generate or obfuscate malicious code. HP’s Wolf Security team observed a recent XWorm RAT campaign where the malicious HTML downloader was essentially crafted using generative AI. The campaign’s loader had detailed, commented code identical to what ChatGPT would produce. Similarly, ransomware-as-a-service gangs are jumping on AI: Check Point Research found the Algerian group FunkSec using AI-assisted development to create more sophisticated ransomware. Even state-backed actors are testing the waters. OpenAI’s internal analysis (done with Microsoft Threat Intel) revealed that Iranian actors code-named “Crimson Sandstorm” used GPT-4 to draft phishing content for spear-phishing campaigns, and Chinese groups (“Charcoal Typhoon”, “Salmon Typhoon”) used it to generate attack scripts. Security firm VMRay reported multiple governments misusing Google’s Gemini model: Iran, China, North Korea, and Russia used it for tasks like malware scripting, payload obfuscation, and finding vulnerabilities in systems. In one example, attackers used AI to produce perfectly formatted PowerShell scripts with comments—a level of precision unlikely from a human intruder. Generative AI is even streamlining reconnaissance: these APTs used LLMs to search for known flaws (like Log4Shell), generate exploit scripts, and craft tailored phishing emails. One report noted an average 62% reduction in the time from vulnerability disclosure to active exploit in 2024—cut from 47 days to just 18—suggesting AI tools are accelerating exploit development.

In short, attackers already have “the keys to the AI kingdom.” They use offshore AI chatbots (including Chinese LLMs like DeepSeek) to write custom malware and craft scams. For instance, security researchers managed to coax the Chinese LLM DeepSeek-R1 into generating credit-card-stealing malware code and even advising on money laundering techniques. (DeepSeek’s chain-of-thought transparency made these attacks surprisingly easy.) And adversaries share tips on subverting models: reports show criminals trading prompts and jailbreaks to make open AI models obey harmful requests. These “malicious-AI-as-a-service” offerings are growing on darknet forums, enabling virtually anyone to launch high-quality attacks without traditional programming skills.

The Democratization of Hacking

A decade ago when 3d printers became consumerized, pundits warned that 3D printers could let anyone manufacture weapons at home. While early plastic “Liberator” guns were crude, the threat was real: the ATF found ghost gun (homemade firearm) usage in crimes increased over 1,000% from 2017-2021. That boom in untraceable guns arose because affordable printers and blueprints made weapon-making accessible to amateurs.

Generative AI is a similar multiplier for cyber-threats. There’s no need to smuggle digital bullets; attackers need only a GPU or cloud token. Today’s GPUs are exponentially more powerful (and affordable in performance terms) than older chips, and open-source LLMs are free to use. In fact, AI compute costs have plunged so steeply that the cost of generating one million tokens with GPT-level quality has fallen from $60 in 2021 to roughly $0.06 today. The result: nearly anyone can run a potent LLM on a laptop or cheap server and churn out attack code or spear-phishing letters.

Importantly, unlike a 3D-printed gun which still needs metal parts or ammunition, AI attacks are limited only by computational resources. As a16z notes, the cost of LLM inference has been dropping 10x per year. And GPUs - often called the rockets of AI - keep getting faster and cheaper. For example, current NVIDIA GPUs boast a 5,600x improvement in price-performance since 2003. Even an ordinary PC with a mid-range graphics card can now run models that were once enormous. In short, the “production cost” for AI-enabled attacks is collapsing. Threat tools that once required expert coders can now be generated semi-automatically with a few prompts. This weapon-grade AI is as easy to obtain as a gun blueprint once was.

Accelerating Threats - Shrinking Defenses

The picture gets grimmer when we consider speed. Cyberattacks have been accelerating dramatically. ReliaQuest’s analysis found that attackers in 2024 could pivot from initial breach to full lateral movement in just 48 minutes on average. (The fastest breakout recorded was 27 minutes.) That’s largely because AI can automate the tedious parts of penetration testing and exploit development. Instead of manually finding and coding exploits, adversaries can task an AI agent to scan for known flaws, write custom scripts (e.g. Nmap, SQLmap with LLM assistance), and even tweak payloads on the fly. ReliaQuest found the time from vulnerability disclosure to exploit plummeted from 47 days in 2023 to just 18 days in 2024 - a 62% reduction likely enabled by AI tools. In practice, this means defenders may have only hours or minutes to react to new threats. Traditional defenses, even when well-staffed, can’t keep pace without automation.

At the same time, social engineering attacks are leveling up. VMRay observed that phishing emails today often come pre-polished by AI: “Polished to a degree likely unattainable for the average attacker without AI assistance,” according to their report. AI spawns highly believable lures tailored to each target. Attackers use tools like ChatGPT or Quillbot to remove typos, perfect grammar, and vary phrasing, all of which defeat rudimentary email filters. As Heimdal Security notes, GenAI can strip the tell-tale signs (mistakes, generic language) that once gave phishing away.

The Defensive Imperative

All this points to a stark conclusion: Cyber defenders must fight fire with fire. The same generative AI capabilities enabling tomorrow’s attacks can power new defense strategies today. In fact, security professionals are already putting AI on the job. LLMs are being integrated into detection tools, incident response automation, and threat hunting. For example, VMRay highlights that defenders have begun using AI to “quickly generate sophisticated malware samples for testing, simulate attack scenarios, and improve reverse engineering”. ChatGPT plugins and security-focused LLM agents can triage alerts, analyze logs, and even draft remediation playbooks in minutes. Sandbox analysis and malware de-obfuscation tools increasingly leverage AI to recognize novel patterns.

In practical terms, organizations should embrace AI-driven security for everything from email filtering to vulnerability management. Zero Trust platforms now advertise AI-powered phishing prevention, and cloud security teams use AI to flag anomalies in user behavior. Automated “AI red teams” can continuously probe defenses with fresh tactics generated by LLMs. The urgency is clear: attackers have removed all barriers to using GenAI - defenders must do the same. Otherwise, threat actors with access to these tools will always operate steps ahead.

Conclusion: Lead, Don’t Follow

The threat landscape is no longer static. As generative AI becomes as ubiquitous as 3D printers once were, cyber-attack capabilities are literally spilling into the hands of anyone with a keyboard. We’ve cited examples from BEC tools (WormGPT) to state-sponsored spear-phishing (OpenAI’s report on “Crimson Sandstorm” and others), and empirical data on skyrocketing phishing and speed of exploits. The key takeaway is that the AI arms race is underway right now. Defenders cannot afford to lag behind. By adopting generative AI in detection, response, and proactive threat hunting, we can regain parity - and hopefully move ahead. As one security report bluntly states: “Cybercriminals are moving faster than ever—so defenders must move faster”. The battle for cyberspace is becoming an AI contest, and we must bring our own AI shield and sword to survive it.

Related Posts

AI Security Maturity - Part 1

AI Security Maturity - Part 1

Artificial Intelligence is rapidly transforming business operations introducing novel AI system risks to the enterprise. Organizations deploying AI solutions face unique security challenges that tradi

read more
AI Security Maturity - Part 2

AI Security Maturity - Part 2

In part 1 of this article, we proposed an AI Security Maturity framework to help organizations address the challenge of evaluating and planning their AI Security

read more
Evolution of OWASP LLM Risks: 2023 to 2025

Evolution of OWASP LLM Risks: 2023 to 2025

As large language models (LLMs) have become deeply embedded in critical enterprise systems and public-facing applications, the security landscape surrounding them has evolved as well. The [OWASP Top 1

read more
Applying Zero Trust to GenAI Apps

Applying Zero Trust to GenAI Apps

Introduction: What is Zero Trust & Why Does it Matter for GenAI? Zero Trust is a security framework based on the principle of "never trust, always verify." Instead of assuming that actors inside a

read more
AI Agent Threat Modelling

AI Agent Threat Modelling

Decoding the Matrix: A CISO's Guide to Threat Modeling Agentic AI The paradigm of Artificial Intelligence is rapidly shifting towards more autonomous systems known as Agentic AI. These AI agent

read more
EchoLeak and the Domino Effect: How Small Flaws Unleash Critical AI Exploits

EchoLeak and the Domino Effect: How Small Flaws Unleash Critical AI Exploits

"Sometimes, the smallest crack can bring down the tallest wall."Executive Summary The recent discovery of "EchoLeak" (CVE-2025-32711) in Microsoft 365 Copilot by Aim Labs has sent ripples thr

read more
Signing AI Models for verification

Signing AI Models for verification

Introduction With the proliferation of AI Models, the need for secure model distribution has become increasingly critical. There are more than million models available on HuggingFace, which has be

read more
AI Security Maturity Model

AI Security Maturity Model

In part 1 and part 2 of our AI Security Maturity series, we explored a framework for organizations to assess, benchmark,

read more