AI-Generated Malware Variants Evade Detection In 88% Of Cases

Image by pvproductions, from Freepi

AI-Generated Malware Variants Evade Detection In 88% Of Cases

Reading time: 3 min

Recent research has revealed that AI could potentially generate up to 10,000 new variants of malware, evading detection in 88% of cases, as reported by The Hacker News.

In a Rush? Here are the Quick Facts!

  • LLMs rewrite malware to evade detection by creating natural-looking code variations.
  • Researchers’ iterative rewriting algorithm maintains malicious functionality while bypassing detection systems.
  • LLM obfuscation outperforms traditional tools by mimicking original code more effectively.

This breakthrough highlights the growing risks of using large language models (LLMs) for malicious purposes.

The research, led by cybersecurity experts at Palo Alto Networks, employed an adversarial machine learning algorithm to create new, undetectable forms of malware. By using LLMs to rewrite malicious JavaScript code, the team was able to generate thousands of novel variants without altering the core functionality of the malware.

The primary challenge was to bypass the limitations of traditional malware detection tools, which often struggle with obfuscation techniques like variable renaming or code minification.

One of the most concerning findings was that these AI-generated variants could easily avoid detection by security tools such as VirusTotal, which only flagged 12% of the modified samples as malicious.

The LLM’s ability to perform multiple, subtle code transformations—such as dead code insertion, string splitting, and whitespace removal—made it possible for attackers to rewrite existing malware into a form that was nearly indistinguishable from benign code.

These transformations were so effective that even deep learning models failed to detect them, lowering the malicious score from nearly 100% to less than 1%.

The research also highlighted a significant advantage of LLM-based obfuscation over traditional tools. While existing malware obfuscators are widely known and produce predictable results, LLMs create more natural-looking code, making it much harder for security systems to identify malicious activity.

This organic transformation makes AI-generated malware more resilient to detection, underscoring the importance of adapting detection strategies in response to evolving threats.

To counter these sophisticated LLM-based attacks, the research team implemented a defensive strategy by retraining their malicious JavaScript classifier using tens of thousands of LLM-generated samples.

This retraining improved detection rates by 10%, significantly enhancing the ability to identify newly generated malware variants. Despite these efforts, the findings underscore the urgent need for continuous innovation in cybersecurity to keep pace with the evolving capabilities of AI-driven cybercrime.

Moreover, a parallel surge in macOS-targeted malware has been driven by generative AI tools. As macOS market share grew 60% in three years, malware-as-a-service (MaaS) made it cheaper and easier for attackers to target sensitive data, like cryptocurrency wallets and Keychain details.

Additionally, AI-powered robots have become a potential security concern. Researchers discovered that jailbreaking AI-controlled robots could lead to dangerous actions, such as crashing self-driving cars or using robots for espionage.

The development of RoboPAIR, an algorithm that bypasses safety filters, demonstrated a 100% success rate in manipulating robots to perform harmful tasks, including weapon use and locating explosive devices.

As cybercriminals increasingly leverage AI for more sophisticated attacks, organizations and individuals alike must stay vigilant, continuously update their defense

Did you like this article? Rate it!
I hated it I don't really like it It was ok Pretty good! Loved it!

We're thrilled you enjoyed our work!

As a valued reader, would you mind giving us a shoutout on Trustpilot? It's quick and means the world to us. Thank you for being amazing!

Rate us on Trustpilot
0 Voted by 0 users
Title
Comment
Thanks for your feedback
Loader
Please wait 5 minutes before posting another comment.
Comment sent for approval.

Leave a Comment

Loader
Loader Show more...