The first AI-powered ransomware has been discovered — "PromptLock" uses local AI to foil heuristic detection and evade API tracking

AI hacking
(Image credit: Shutterstock)

ESET today announced the discovery of "the first known AI-powered ransomware." The ransomware in question has been dubbed PromptLock, presumably because seemingly everything related to generative AI has to be prefixed with "prompt."

ESET said that this malware uses an open-weight large language model developed by OpenAI to generate scripts that can perform a variety of functions on Windows, macOS, and Linux systems while confounding defensive tools by exhibiting slightly different behavior each time.

Lua might seem like an odd choice of programming language for ransomware; it's mostly known for being used to develop games within Roblox or plugins for the NeoVim text editor. But it's actually a general-purpose language that offers a variety of advantages to the ransomware operators—including good performance, cross-platform support, and a focus on simplicity that makes it well-suited to "vibe coding."

PromptLock "uses the gpt-oss:20b model from OpenAI locally via the Ollama API to generate malicious Lua scripts on the fly," which helps it to evade detection. The fact that the model runs locally also makes it so OpenAI can't snitch on the ransomware operators—if they had to call an API on its servers every time they generate one of these scripts, the jig would be up. The pitfalls of vibe coding don't really apply, either, since the scripts are running on someone else's system.

Follow Tom's Hardware on Google News to get our up-to-date news, analysis, and reviews in your feeds. Make sure to click the Follow button.

TOPICS
Nathaniel Mott
Freelance News & Features Writer

Nathaniel Mott is a freelance news and features writer for Tom's Hardware US, covering breaking news, security, and the silliest aspects of the tech industry.

  • bit_user
    ESET said:
    PromptLock leverages Lua scripts generated from hard-coded prompts to enumerate the local filesystem, inspect target files, exfiltrate selected data, and perform encryption,
    Wasn't TensorFlow originally written partly in Lua? I think it's not, any more (probably 2.0 changed that), but I seem to recall that was a weird thing about it.

    Maybe it's Torch that I'm thinking of, or maybe they both were?

    I'm still waiting for an AI virus that infects machines with the goal of replicating and improving itself. Once that happens, it's pretty much over, folks.
    Reply
  • lmcnabney
    Thanks crypto.

    We wouldn't all be a target if not for a non-bank method of sending non-reversible assets.
    Reply
  • jg.millirem
    How the hell do you defend against this?
    Reply
  • acadia11
    Saying AI is useless is just plan xxxb, saying we are at the beginning of having AI capable of meeting the productivity, creativity and reasoning of a human is in its infancy is the accurate. Be that as it may be … this use case is …. Up. But it’s pretty darn cool at the same time.
    Reply