RL Blog

Topics

All Blog PostsAppSec & Supply Chain SecurityDev & DevSecOpsProducts & TechnologySecurity OperationsThreat Research
Mario Vuksan

Gartner® Named RL a Software Supply Chain Security Visionary. Here’s What We See Coming

The first Magic Quadrant™ for Software Supply Chain Security comes as, we feel, the demand for greater supply chain visibility explodes.

Read More about Gartner® Named RL a Software Supply Chain Security Visionary. Here’s What We See Coming
Gartner® Named RL a Software Supply Chain Security Visionary. Here’s What We See Coming

Follow us

XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBluesky

Subscribe

Get the best of RL Blog delivered to your in-box weekly. Stay up to date on key trends, analysis and best practices across threat intelligence and software supply chain security.

The inaugural Gartner® Magic Quadrant™ for Software Supply Chain Security is outGET THE REPORT
Skip to main content
Contact UsSupportBlogCommunity
reversinglabsReversingLabs: Home
Solutions
Secure Software OnboardingSecure Build & ReleaseVerify AI Supply ChainIntegrate Safe Open SourceGo Beyond the SBOM
Increase Email Threat ResilienceDetect Malware in File Shares & StorageAdvanced Malware Analysis SuiteICAP Enabled Solutions
Scalable File AnalysisHigh-Fidelity Threat IntelligenceCurated Ransomware FeedAutomate Malware Analysis Workflows
Products & Technology
Spectra Assure®Software Supply Chain SecuritySpectra DetectHigh-Speed, High-Volume, Large File AnalysisSpectra AnalyzeIn-Depth Malware Analysis & Hunting for the SOCSpectra IntelligenceAuthoritative Reputation Data & Intelligence
Spectra CoreIntegrations
Industry
Energy & UtilitiesFinanceHealthcareHigh TechPublic Sector
Partners
Become a PartnerValue-Added PartnersTechnology PartnersMarketplacesOEM Partners
Alliances
Resources
BlogContent LibraryCybersecurity GlossaryConversingLabs PodcastEvents & WebinarsLearning with ReversingLabsWeekly Insights Newsletter
Customer StoriesDemo VideosDocumentationOpenSource YARA Rules
Company
About UsLeadershipCareersSeries B Investment
EventsBlack Hat 2026
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu
Threat ResearchAugust 5, 2026

How to Leverage Spectra Analyze's Search for SVG Analysis

Here's how to use Spectra Analyze to hunt for malicious SVGs, from setting up queries and evaluations of samples to tips for investigation.

Zaria Vuksan
Zaria Vuksan, Threat Intelligence Researcher, ReversingLabsZaria Vuksan
FacebookFacebookXX / TwitterLinkedInLinkedInblueskyBlueskyEmail Us
Leveraging the Spectra Analyze Search Function for SVG Analysis

For this installment of Spectra Analyze in Action, the threat intelligence research team at ReversingLabs explores hunting for Scalable Vector Graphics (SVGs) files. SVGs are a sneaky way attackers can target your organization. Due to their nature as image files, they are typically seen as benign, but recently they have been used as a vector for credential phishing sites, malicious redirection, and infected downloads. 

To aid in protecting your organization, you can use Spectra Analyze to hunt and investigate these files. Not only can you find and explore samples in Spectra Analyze, there are strategies to handle further research into malicious SVG files by downloading and exploring samples directly. 

Scalable Vector Graphics (SVGs) are an image filetype used across the internet to generate images utilizing XML, and they are currently being leveraged by threat actors in a variety of campaigns. While SVGs are typically used for logos, graphics, and other visual purposes, but due to their ability to run JavaScript, they can be used for malicious purposes. In a previous blog post, the team explored these possibilities, and dove into examples from recent files submitted Spectra Analyze.

Here's a look into the process of using Spectra Analyze for SVG analysis, from how to set up queries, to initial evaluations of samples within Spectra Analyze, and finally tips for investigating samples. 

Setting Up a Search

A search in Spectra Analyze begins with a query in the search bar. Use “filetype:*svg*”. Using wildcard asterisks on either side broadens our options. The wildcards allow for additional symbols of any type on either side, so you see anything that has the string “svg” mentioned anywhere in the filetype (see Search and Advanced Search documentation).

Spectra Analyze search bar

Figure 1.1, Spectra Analyze search bar filled with “filetype:*svg*” query.

If you are already familiar with Spectra Analyze search, feel free to skip to the next section. 

From the search page, a few more things should be done to narrow down the files to ones that are relevant to our investigation. First of all, you want to switch from local files to cloud files, which can be done on the top left, in the second line of text under the search bar.

Query results set to cloud. There are 1.3M samples within the last month

Figure 1.2.1, Query results set to cloud. There are 1.3M samples within the last month.

Close up of the Local/Cloud sample buttons

Figure 1.2.2, Close up of the Local/Cloud sample buttons.

This search leaves us with a lot of files, so you can do a lot to narrow things down. The most important is going to the far right side of the screen and selecting “Public Samples Only”. This will make sure that our search results are something you can investigate further.

the search results page set to public samples only

Figure 1.3.1, the search results page set to public samples only.

close up of the public “Samples Only Switch”

Figure 1.3.2, close up of the public “Samples Only Switch”.

This reduces the amount of search results significantly, but more filters can be added to narrow down the search results to what you need. One of the most helpful filters is classification, allowing us to search for files tagged as malicious, suspicious, goodware or unknown. This dropdown is found near the top right, to the left of the “Public Samples Only” switch.

the classification selection menu.

Figure 1.4, the classification selection menu.

For this analysis, the team searched for malicious files, but you can select based on your own needs. For this search, narrowing down to malicious files usually only leaves a few hundred, a much more manageable amount of samples.

Another helpful feature is to filter by time period. By default, the files searched for are from within the past month. This timeframe can be reduced to past week or day, increased to three months or a year, or you can pick a specific time frame you are most interested in to search through.

Spectra Analyze timeframe filter options

Figure 1.5, Spectra Analyze timeframe filter options.

To narrow down our results further, the team examined samples from the past week. Our final results page looks like this:

 final page of search results, filtered to cloud samples within the past week that are malicious and public

Figure 1.6, final page of search results, filtered to cloud samples within the past week that are malicious and public.

Initial Evaluation

Now that our search is complete, you can begin looking at samples in depth. The search page already contains some information about the file we can use to help inform our decision as to what to look into, like the threat type, format, and file size. Clicking into the first file of this list, hash 592b1a954d1d5e4063f74b01f6e79e4c8b5b3be2, brings up the analysis page. To start, you want to click “Fetch & Analyze”

Initial page for analyzing the sample.

Figure 2.1, Initial page for analyzing the sample.

page after sample had been analyzed locally.

Figure 2.2, page after sample had been analyzed locally.

This gives us more information to work with. There are many tabs to explore, but the most insightful for SVGs is “Preview/Visualizations”. This screen allows us to view the actual XML that makes up the SVG file. You can directly see any vector drawing or Javascript related text.

Preview Sample / Visualization page.

Figure 2.3, Preview Sample / Visualization page. 

Scrolling through this allows a look into the gist of the file. If you are looking for the presence of anything specific, like emails, comments, or otherwise, this is a great place to look for initial screening. For relevant files, return to “Report Summary”, and go to the dark gray “Actions” drop down. From there, you can download the sample for further investigation.

actions drop down.

Figure 2.4, actions drop down.

When downloading a sample, a screen shows up to set the password for the zip folder the sample will be installed in. This password control grants more control over how you engage with the file. The default password is infected, but you can change it if you wish

Zip password menu.

Figure 2.5, Zip password menu.

Sample Exploration

Once the sample is downloaded, many options open up for analysis. It is advised any samples be viewed in a sandbox or virtual machine environment, to keep them separate from important systems. Taking said environment offline is also a recommended precaution, especially since SVGs frequently attempt to redirect or pull scripts from websites. For this guide, a Kali Linux virtual machine was used, but no specific system is required for this analysis.

To start investigating, the file should be extracted into a folder where it can be accessed easily. This can be done by right clicking the ZIP file to bring up the following menu. The password for the ZIP file will need to be entered before extraction can occur.

picture of right click menu of the ZIP file.

Figure 3.1, picture of right click menu of the ZIP file.

From there, right click the file, and open it with a text editor like Notepad or Mousepad. Setting the text editor as the default application is useful.

right clicking the extracted file to open the file with a specific program.

Figure 3.2, right clicking the extracted file to open the file with a specific program.

Looking at the sample in Mousepad gives a full view of the text, with formatting, to look over. This is also a safer method for interacting with SVGs, since simple text editors aren’t designed to run JavaScript. In order to be safe, ensure your editor of choice will not run Javascript.

Once the file is open, you can look for points of interest.

screenshot of the text of the sample in Mousepad.

Figure 3.3, screenshot of the text of the sample in Mousepad. Note: Email in sample was edited out, previous was in the windows.dawa variable.

Things to look out for include domains, emails, snippets of code like EventListener, comments, or anything base64-encoded. Many files are highly obfuscated, but deobfuscation is out of the scope for this blog. 

Better Understand Patterns with Spectra Analyze

This blog post walked through utilizing Spectra Analyze to find and investigate SVG malware. SVGs are an under-discussed malicious file type, because their intended function is so far from anything malicious. Being able to research SVG files and better understand their patterns is crucial to keeping your organization safe. For further information on malicious SVGs, see the research team's recent Researcher’s Notebook post.

Join the free Spectra Assure Community today to get hands-on with RL's binary analysis-based software supply chain security platform.

Keep learning

  • Learn how Gartner® named RL a supply chain security 'visionary.' Download: Gartner® Magic Quadrant™ for Software Supply Chain Security.
  • Get key insights into why Gartner® said binary analysis is a must-have control in its recent CISO Playbook for Commercial Software Supply Chain Security.
  • Get up to speed on the Agentic Development Security tools landscape in this webinar with Forrester Sr. Analyst Janet Worthington.
  • Take a deep dive on the state of software security with RL's Software Supply Chain Security Report 2026. Plus: See the the webinar discussing the findings.

Explore RL's Spectra suite: Spectra Assure for software supply chain security, Spectra Detect for scalable file analysis, Spectra Analyze for malware analysis and threat hunting, and Spectra Intelligence for reputation data and intelligence.

Tags:Threat ResearchSpectra Analyze In Action

More Blog Posts

How SVGs Carry Dangerous Scripts

Hidden in plain sight: How SVGs carry malicious scripts

SVGs are difficult to detect, can be snuck into content — and can do malicious and legitimate actions. Here's how malicious SVGs work.

Learn More about Hidden in plain sight: How SVGs carry malicious scripts
Hidden in plain sight: How SVGs carry malicious scripts
Trust ClickFix

ClickFix doesn't attack your knowledge. It attacks your trust.

One of the most effective attack methods I've analyzed this year runs on legitimate tools and willing users — and AV and EDR is blind to it.

Learn More about ClickFix doesn't attack your knowledge. It attacks your trust.
ClickFix doesn't attack your knowledge. It attacks your trust.
The tale of ClickFix: 5 takeaways from RL’s new threat report

The tale of ClickFix: 5 takeaways from RL’s new threat report

New RL research explains why ClickFix attacks are multiplying — and why reliable detection requires going beyond AV and EDR.

Learn More about The tale of ClickFix: 5 takeaways from RL’s new threat report
The tale of ClickFix: 5 takeaways from RL’s new threat report
three men sitting in front of monitors

31 Red Hat npm packages backdoored by Miasma in 72 seconds

RL has discovered the Miasma supply chain attack affecting 9.8M total downloads across Red Hat's Hybrid Cloud Console JavaScript ecosystem.

Learn More about 31 Red Hat npm packages backdoored by Miasma in 72 seconds
31 Red Hat npm packages backdoored by Miasma in 72 seconds

Spectra Assure Free Trial

Get your 14-day free trial of Spectra Assure for Software Supply Chain Security

Get Free TrialMore about Spectra Assure Free Trial
Blog
Events
About Us
Webinars
In the News
Careers
Demo Videos
Cybersecurity Glossary
Contact Us
reversinglabsReversingLabs: Home
Privacy PolicyCookiesImpressum
All rights reserved ReversingLabs © 2026
XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBlueskyRSSRSS
Back to Top