Webinar | Team Burned Out on Phishing Analysis? Here's How to Help.
Reduce Alert Noise and False Positives
Boost your team's productivity by cutting down alert noise and false positives.
Automate Security Operations
Boost efficiency, reduce burnout, and better manage risk through automation.
Dark Web Monitoring
Online protection tuned to the need of your business.
Maximize Existing Security Investments
Improve efficiencies from existing investments in security tools.
Beyond MDR
Move your security operations beyond the limitations of MDR.
Secure with Microsoft 365 E5
Boost the power of Microsoft 365 E5 security.
Secure Multi-Cloud Environments
Improve cloud security and overcome complexity across multi-cloud environments.
Secure Mergers and Acquisitions
Control cyber risk for business acquisitions and dispersed business units.
Operational Technology
Solve security operations challenges affecting critical operational technology (OT) infrastructure.
Force-Multiply Your Security Operations
Whether you’re just starting your security journey, need to up your game, or you’re not happy with an existing service, we can help you to achieve your security goals.
Detection Investigation Response
Modernize Detection, Investigation, Response with a Security Operations Platform.
Threat Hunting
Locate and eliminate lurking threats with ReliaQuest GreyMatter
Threat Intelligence
Find cyber threats that have evaded your defenses.
Model Index
Security metrics to manage and improve security operations.
Breach and Attack Simulation
GreyMatter Verify is ReliaQuest’s automated breach and attack simulation capability.
Digital Risk Protection
Continuous monitoring of open, deep, and dark web sources to identify threats.
Phishing Analyzer
GreyMatter Phishing Analyzer removes the abuse mailbox management by automating the DIR process for you.
Integration Partners
The GreyMatter cloud-native Open XDR platform integrates with a fast-growing number of market-leading technologies.
Unify and Optimize Your Security Operations
ReliaQuest GreyMatter is a security operations platform built on an open XDR architecture and designed to help security teams increase visibility, reduce complexity, and manage risk across their security tools, including on-premises, clouds, networks, and endpoints.
Blog
Company Blog
Case Studies
Brands of the world trust ReliaQuest to achieve their security goals.
Data Sheets
Learn how to achieve your security outcomes faster with ReliaQuest GreyMatter.
eBooks
The latest security trends and perspectives to help inform your security operations.
Industry Guides and Reports
The latest security research and industry reports.
Podcasts
Catch up on the latest cybersecurity podcasts, and mindset moments from our very own mental performance coaches.
Solution Briefs
A deep dive on how ReliaQuest GreyMatter addresses security challenges.
White Papers
The latest white papers focused on security operations strategy, technology & insight.
Videos
Current and future SOC trends presented by our security experts.
Events & Webinars
Explore all upcoming company events, in-person and on-demand webinars
ReliaQuest ResourceCenter
From prevention techniques to emerging security trends, our comprehensive library can arm you with the tools you need to improve your security posture.
Threat Research
Get the latest threat analysis from the ReliaQuest Threat Research Team. ReliaQuest ShadowTalk Weekly podcast featuring discussions on the latest cybersecurity news and threat research.
Shadow Talk
ReliaQuest's ShadowTalk is a weekly podcast featuring discussions on the latest cybersecurity news and threat research. ShadowTalk's hosts come from threat intelligence, threat hunting, security research, and leadership backgrounds providing practical perspectives on the week's top cybersecurity stories.
July 25, 2024
About ReliaQuest
We bring our best attitude, energy and effort to everything we do, every day, to make security possible.
Leadership
Security is a team sport.
No Show Dogs Podcast
Mental Performance Coaches Derin McMains and Dr. Nicole Detling interview world-class performers across multiple industries.
Make It Possible
Make It Possible reflects our focus on bringing cybersecurity awareness to our communities and enabling the next generation of cybersecurity professionals.
Careers
Join our world-class team.
Press and Media Coverage
ReliaQuest newsroom covering the latest press release and media coverage.
Become a Channel Partner
When you partner with ReliaQuest, you help deliver world-class cybersecurity solutions.
Contact Us
How can we help you?
A Mindset Like No Other in the Industry
Many companies tout their cultures; at ReliaQuest, we share a mindset. We focus on four values every day to make security possible: being accountable, helpful, adaptable, and focused. These values drive development of our platform, relationships with our customers and partners, and further the ReliaQuest promise of security confidence across our customers and our own teams.
Key Points
In the ever-evolving landscape of cybersecurity, scripting languages such as PowerShell, JScript, and VBScript have emerged as dual-edged swords. While they are indispensable tools for legitimate system administration, web development, and automation tasks, their powerful capabilities also make them attractive to malicious actors. This report will discuss why threat actors use malicious scripts, analyze several popular scripting languages abused by adversaries, and provide actionable recommendations for organizations to harden systems against the misuse of these versatile tools.
Scripting languages have been a popular way to facilitate the execution of malicious code for years: In 2023, 64.9% of critical security incidents observed by ReliaQuest involved the abuse of command and scripting interpreters. The prevalence of script-based attacks underscores the critical need to understand what makes them so effective and what defensive measures can help prevent these attacks. Scripting languages provide many advantages for threat actors, including:
1. Prevalence and accessibility: These scripting languages are embedded within all modern versions of Windows. Their ubiquity ensures that attackers have a ready-made execution environment on potential target systems without needing to deliver or install additional software that could be blocked or detected.
2. Stealth and evasion: Script-based malware variants often exhibit a smaller footprint than traditional executable files, making them harder for conventional antivirus solutions to detect. Scripts can be obfuscated, encoded, or delivered in small chunks to evade detection mechanisms. PowerShell and VBScript, for instance, can execute directly from memory without writing to the disk (“fileless” execution), significantly reducing the chances of detection by file-based scanning mechanisms.
3. Versatility and power: These languages provide powerful access to system resources, network interfaces, and user data. PowerShell, for example, has direct access to the .NET framework, allowing attackers to perform complex tasks like network discovery, credential theft, and system manipulation with relative ease.
4. Ease of modification and adaptation: Scripts are relatively easy for attackers to modify, update, or tailor to specific targets or environments. This flexibility allows threat actors to quickly adapt their tactics to evade detection, exploit new vulnerabilities, or target specific systems or applications.
PowerShell is a powerful scripting language and command-line shell developed by Microsoft. It is built on the .NET framework, which makes it a highly versatile and capable tool for performing complex tasks like network discovery, credential theft, and system manipulation. During 2023, ReliaQuest observed the use of PowerShell in nearly a quarter of all critical detections for malware execution.
PowerShell is used by many commercial and open-source offensive security tools as well as custom tools developed by threat actors. Post-exploitation frameworks such as Empire, Nishang, and PowerSploit are based entirely on PowerShell, while several others, including Metasploit and Cobalt Strike, support the use of PowerShell for in-memory execution and various post-exploit actions. FIN7—a financially motivated cybercrime organization affiliated with various ransomware groups including Darkside, REvil, and Clop—has been known to rely heavily on PowerShell in its operations. Many of its custom tools are PowerShell-based.
Given PowerShell’s deep integration into the Windows ecosystem and its powerful capabilities, an attacker could theoretically conduct an entire intrusion solely using PowerShell. It is rare to see an incident in which PowerShell is not used at some stage of the intrusion. The widespread use of PowerShell by threat actors emphasizes the importance of monitoring and controlling its use within organizational networks.
Constrained Language Mode
Constrained Language mode restricts PowerShell’s scripting environment to a subset of its functionality, limiting access to potentially dangerous operations. It prevents the use of certain language elements and object types that could be abused by an attacker. By doing so, it reduces the attack surface available to a malicious script, making it harder for such scripts to execute harmful actions, evade detection, or escalate privileges.
Execution Policies
PowerShell execution policies are designed to control the conditions under which PowerShell scripts are allowed to run. These policies help to prevent the execution of malicious scripts by imposing conditions that help ensure safe script execution. There are several execution policies, including:
Combining to Reduce Threats
When used together, Constrained Language mode and execution policies can significantly reduce the threat of malicious PowerShell scripts. However, these features may impact legitimate scripting activities. Organizations should assess their security needs against operational requirements to find a balance that maintains security without unduly hindering productivity.
To identify script-based malware, ReliaQuest offers the detection rules to customers. These rules will alert defenders to suspicious PowerShell execution that could be related to malware. To remediate suspicious activity, associated GreyMatter Respond Plays can be executed by ReliaQuest customers or by the ReliaQuest team on a customer’s behalf.
Script-based malware has proven to be particularly effective due to its deep integration with the Windows operating system. Languages like PowerShell, JScript, and VBScript can interact closely with system processes and configurations, enabling attackers to execute complex malicious activities. We predict, with high confidence, that the use of script-based malware will not decrease in the long term. Given this inherent risk, organizations must go beyond default security measures to protect their endpoints. It is essential to implement additional security technologies, such as advanced threat protection solutions, endpoint detection and response (EDR) systems, and custom security configurations tailored to these specific threats.
Get a live demo of our security operations platform, GreyMatter, and learn how you can improve visibility, reduce complexity, and manage risk in your organization.