Skip to main content
Mallory
← Back to News

AI-Enhanced Phishing Campaign Using Obfuscated SVG Files to Steal Credentials

3 sources · Updated 5mo ago · First seen Sep 30, 2025

AI-Enhanced Phishing Campaign Using Obfuscated SVG Files to Steal Credentials

Microsoft Threat Intelligence identified a sophisticated phishing campaign targeting U.S.-based organizations, leveraging artificial intelligence to craft highly convincing and evasive attacks. The campaign was detected in late August 2025 and involved the use of compromised small business email accounts to distribute phishing emails. These emails masqueraded as legitimate file-sharing notifications, enticing recipients to open an attachment that appeared to be a PDF but was actually a Scalable Vector Graphics (SVG) file. The attackers exploited the SVG format's flexibility, embedding dynamic and interactive code that could bypass many traditional security tools. Instead of using standard obfuscation techniques, the malicious payload was hidden within the SVG file by encoding it with a sequence of business-related terms, such as 'revenue,' 'operations,' and 'risk,' making the file appear as standard business data. This approach allowed the attackers to disguise the true intent of the file, which was to redirect users to a fake sign-in page designed to harvest credentials. Microsoft noted that the code within the SVG was likely generated or enhanced using large language models (LLMs), a form of AI that can produce complex, human-like text and code, further complicating detection efforts. The phishing emails also employed a self-addressed tactic, where the sender and recipient addresses matched, with actual targets hidden in the BCC field to evade basic detection heuristics. SVG files are particularly attractive to attackers because they are text-based, scriptable, and support features like invisible elements, encoded attributes, and delayed script execution, all of which can be used to sidestep static analysis and security scanning. Microsoft responded by using its own AI-powered security tools to analyze and block the campaign, highlighting the growing trend of AI versus AI in cybersecurity defense and offense. The campaign underscores the increasing adoption of AI by threat actors to automate the creation of convincing phishing lures and obfuscated malware. The use of compromised business email accounts added legitimacy to the phishing attempts, increasing the likelihood of successful credential theft. The incident demonstrates the evolving threat landscape, where attackers continuously adapt their methods to outpace security defenses. Organizations are advised to enhance their email security protocols, educate users about the risks of unexpected file attachments, and deploy advanced detection tools capable of analyzing complex file formats like SVG. The campaign serves as a warning that traditional security measures may be insufficient against AI-driven threats, necessitating a proactive and adaptive security posture. Microsoft’s public disclosure of the attack provides valuable intelligence for defenders to recognize and mitigate similar threats in the future. The incident also highlights the importance of monitoring for unusual email behaviors, such as self-addressed messages and unexpected file types. As AI becomes more accessible to both attackers and defenders, the arms race in cybersecurity is expected to intensify, with increasingly sophisticated attacks targeting organizations of all sizes.

Why it matters

Impact Assessment

  • Affected organizations: U.S.-based organizations are the primary targets in this campaign. Because delivery relied on compromised small business email accounts and generic file-sharing lures, the risk extends across industries rather than a single vertical.
  • Primary impact: The immediate risk is credential theft through redirection to fake sign-in pages. Successful compromise can enable follow-on account takeover, business email compromise, internal phishing, data access, and fraud.
  • Severity: Moderate to high for exposed organizations. While Microsoft described the campaign as limited in scope and blocked it, the tradecraft materially increases the chance of user interaction and bypass of legacy email/file inspection controls.
  • Why this matters operationally: The use of SVG attachments disguised as PDFs, self-addressed emails, and compromised legitimate senders increases trust and can reduce effectiveness of basic phishing heuristics. If credentials are harvested, downstream impacts may include mailbox compromise, unauthorized SaaS access, data loss, and reputational damage.
  • Scope of exposure: Reported as a limited campaign, not broad indiscriminate mass exploitation. However, the techniques are portable and likely to be reused by other actors.
  • Exploitation status: Yes — this was an active phishing campaign observed in the wild. Microsoft reported detection and blocking, but the story indicates real-world targeting rather than a theoretical risk.
Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Sep 29, 2025
  1. Sep 29, 20251y ago

    Researchers report parallel phishing campaigns using XLAM, XWorm, and themed lures

    In related reporting, Forcepoint described a separate multi-stage phishing attack using .XLAM attachments to deploy XWorm RAT, while Cofense observed phishing lures themed around the U.S. Social Security Administration and copyright infringement delivering other malware. These findings were presented as part of a broader rise in sophisticated phishing tradecraft.

  2. Sep 29, 20251y ago

    Microsoft blocks the limited phishing campaign and warns of broader AI-enabled abuse

    Microsoft said it successfully blocked the observed campaign and warned that similar AI-assisted obfuscation and delivery techniques are increasingly being adopted by threat actors. The disclosure highlighted the use of self-addressed emails and BCC recipient hiding to evade detection.

  3. Sep 29, 20251y ago

    Microsoft identifies AI-driven SVG phishing campaign targeting U.S. organizations

    Microsoft uncovered a limited phishing campaign aimed at U.S. organizations in which attackers used compromised business email accounts and SVG attachments that redirected victims to credential-harvesting pages. The SVG files contained obfuscated, business-themed code patterns that Microsoft said were consistent with large language model-assisted generation.

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.