Skip to content
Submit incident
AII-1001-36383
ConfirmedA court, a regulator or the organization itself has stated the core facts, or the record cites a court or regulator source.Supporting sources are pending verification.

Microsoft discovers AI-generated code used to obfuscate malware in phishing campaign

Microsoft researchers discovered a phishing campaign using AI-generated code to obfuscate malware hidden in SVG files disguised as PDF documents. The attackers used complex, verbose code and invisible dashboard elements to evade traditional security defenses before attempting credential theft.

24 September 2025 Β· Security and cyberattacks
24 September 2025
AII-1001-36383
Quick facts
Category
Security and cyberattacks
Country
United States
Date
24 September 2025
Drafted by
Raidu Incident Detection

What happened

Hackers used artificial intelligence-generated code to obfuscate malware in a phishing campaign, according to Microsoft research released on September 24, 2025. The phishing emails employed self-addressing tactics to hide actual targets in the BCC field and contained SVG file attachments disguised as PDF documents to bypass detection systems.

The malicious SVG files contained invisible elements designed to resemble legitimate business analytics dashboards, with chart bars and month labels rendered invisible through zero opacity settings. When targets opened the SVG file, they were redirected to a webpage prompting CAPTCHA completion, a social engineering tactic intended to build trust before presenting fake sign-in pages.

Reported impact

Microsoft Security Copilot analysis determined the code was "not something a human would typically write from scratch due to its complexity, verbosity and lack of practical utility," indicating AI-generated obfuscation designed to evade traditional security analysis.

Index analysis

The attackers used business-related language and dummy dashboard elements rather than cryptographic obfuscation to disguise malicious activity, leveraging SVG format features including invisible elements, encoded attributes and delayed script execution to evade static analysis and sandboxing.

Classification

Category
Security and cyberattacks
Industry
Digital security
Country
United States
Harm status
Potential harm
Intent
Intentional
Timing
Unknown
Harm types
Economic or property
Harmed
Consumers
Failure modes
Manipulation or dark pattern
Consequences
None recorded
AI systems
Microsoft Security Copilot

Sources and evidence

Sources not yet published

This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.

How sources are verifiedSuggest a source for this incident