---
title: "Protection Highlight: Stopping Obfuscated Script-Based Malware Before It Executes"
url: https://www.broadcom.com/20250604-protection-highlight-stopping-obfuscated-script-based-malware-before-it-executes
description: "Protection Highlight: Stopping Obfuscated Script-Based Malware Before It Executes"
---

# Protection Highlight: Stopping Obfuscated Script-Based Malware Before It Executes

June 03, 2025

As the threat landscape evolves, the complexity and frequency of cyberattacks continue to increase. Traditional defensive measures often fall short against the rapidly advancing techniques employed by attackers. This dynamic environment demands tools that not only react to known threats but also proactively predict and mitigate emerging risks. The Symantec **Static Data Scanner** (SDS) is designed to meet these security challenges by integrating multiple sophisticated technologies to provide comprehensive protection against a wide array of cyber threats.

Key features of SDS include:

- **PE and nonPE Emulators**: Emulation fools malware into thinking it's running on a regular computer. By analyzing the behavior, our scanner can determine whether it performs unauthorized actions.
- **URL Extraction and Analysis**: By automatically extracting and analyzing URLs embedded within files, our scanner can immediately identify potential threats prior to any interaction with the user.
- **Advanced Machine Learning**: By training machine learning models with some of the trillions (yes, *trillions*) of metadata that are part of a global intelligence network, a "signatureless" technology can block new malware variants at the pre-execution stage.
- **Rules Engine**: By recording the actions performed by the target samples from multiple perspectives, this comprehensive monitoring allows the scanner to accumulate results, providing a robust assessment of each threat's potential risk.
- **File Parser Technology**: Automatically parsing objects within files allows us to identify file type-specific suspicious objects for further analysis. Our scanner not only flags these objects but as above also queues them for emulation, machine learning and obtaining scores based on rules, ensuring a thorough examination of potential threats embedded deep within file structures.

## Obfuscated Script-Based Malware

Since early 2025, we've observed an increasingly sophisticated malware distribution campaign that uses compressed archive files as the first stage of infection. These emails often include attachments in formats like ZIP, GZIP, RAR, or TAR. Once opened, the archive reveals an obfuscated batch (BAT) script. In some variants, the archive instead contains JavaScript (JS) or VBScript (VBS) files that act as droppers, generating and executing BAT scripts at runtime. We've even seen the use of disk image containers, such as ISO or IMG files, to further evade detection.

**Writing the obfuscated batch (BAT) file to disk and executing it**

![Image](https://www.broadcom.com/media/blt4ac44e0e6c6d8341/bltce82c708c394f13f/683cdccb8b1229601020b7bd/image.png)

These droppers ultimately deliver a range of well-known malware families, including AgentTesla, AsyncRAT, Remcos, XWorm, DonutLoader, Masslogger, ModiLoader, and Snake Keylogger. This campaign is notable not just for the variety of payloads, but for the heavy use of obfuscation and staging techniques that aim to bypass traditional detection.

## Static Data Scanner Acts Early

SDS stops these attacks as early as possible, before the first line of script is executed. With many different emulators built-in, we emulate and deobfuscate common script types such as BAT, JS, VBS, and PowerShell. We unpack multiple layers of encoding, detect suspicious logic, and identify embedded payloads or command structures. Our static scanner provides fast, deterministic protection at the point of initial access. Whether the threat is embedded in a dropper, hidden in a disk image, or concealed under several layers of obfuscation, our engine dissects and neutralizes it without needing to run it.

In the past few weeks alone, our static scanner has intercepted hundreds of malicious script-based droppers, many of them part of this ongoing campaign. The flexibility of our static data scanner allows us to adapt quickly to new script patterns, obfuscation styles, and file container tricks used by threat actors.

**Static Data Scanner blocks of malicious script-based droppers**

![Image](https://www.broadcom.com/media/blt4ac44e0e6c6d8341/bltc49ff6c58ae1550f/6838eb1e8b1229640220a459/image.png)

Click [here](https://techdocs.broadcom.com/us/en/symantec-security-software/endpoint-security-and-management/endpoint-security/sescloud.html) to learn more about Symantec Endpoint Security.

Click [here](https://techdocs.broadcom.com/us/en/symantec-security-software/endpoint-security-and-management/endpoint-protection/all/Using-policies-to-manage-security/preventing-and-handling-virus-and-spyware-attacks-v40739565-d49e172/how-does-use-advanced-machine-learning-v120625733-d47e275.html) to learn more about how Symantec Endpoint Protection uses Advanced Machine Learning.

Click [here](https://techdocs.broadcom.com/us/en/symantec-security-software/endpoint-security-and-management/endpoint-security/sescloud/Protection/How-file-inspection-technologies-protect-your-device.html) to learn more about how file inspection technologies protect your device with Symantec Endpoint Security.
