AI-generated PowerShell malware: experimental framework and dataset

Discover how AI-generated PowerShell malware resembles real malware with 84.5% similarity. New framework and dataset for cybersecurity.

miércoles, 1 de julio de 2026 • 2 min read • Q2BSTUDIO Team

Study reveals high similarity between real and AI-generated malware

Artificial intelligence has transformed many fields, but it has also opened new gaps in cybersecurity. Recent studies show that generative models can create PowerShell malware with a very high level of similarity to real malicious code. This represents an urgent challenge for companies that need to protect their digital infrastructures. Instead of focusing on fear, it is worth analyzing how to approach this threat from a technical and strategic perspective.

The experimental framework developed by researchers proposes a sandbox environment for dynamic analysis of AI-generated malware, accompanied by a manually curated dataset with real examples of PowerShell malware annotated in natural language. This resource is key to training and evaluating language models, allowing the offensive capability of code generators to be measured. The results show that 48.4% of AI-generated samples achieve complete overlap with real malware, evidencing the need to strengthen defenses.

For organizations, this reality demands investing in advanced cybersecurity services. At Q2BSTUDIO, as a company specialized in software development and technology, we offer cybersecurity and pentesting solutions that help detect vulnerabilities before they are exploited. We also integrate artificial intelligence into monitoring and response processes, using AI agents capable of identifying anomalous behaviors in real time. This approach is combined with AWS and Azure cloud services to ensure scalable and secure environments.

The use of PowerShell as an attack vector is not new, but automation through AI raises the risk. Companies must adopt a multi-layer strategy: from custom applications that reinforce security to business intelligence solutions such as Power BI to visualize threat patterns. At Q2BSTUDIO we develop custom software that adapts to the specific needs of each client, including early malware detection modules. Likewise, our experience in business intelligence services allows transforming security data into actionable information.

The mentioned dataset and experimental framework are a starting point for the community, but practical implementation requires technology partners with a comprehensive vision. That is why, at Q2BSTUDIO, we offer AI solutions for businesses that go beyond code generation: from process automation to the creation of intelligent agents that strengthen cybersecurity. The threat is real, but with the right tools and technical knowledge, it is possible to stay ahead of attackers.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.