Artificial Intelligence

PromptLock: First AI-Powered Ransomware Emerges

Proof-of-concept ransomware uses AI models to generate attack scripts in real time.

AI-powered malware is closer than expected, as the first known ransomware family to rely on AI systems for local operations has been discovered.

According to ESET, which discovered the threat, the AI-powered ransomware is only proof-of-concept (PoC) or work-in-progress for now, but appears to be designed with all the functionality of traditional ransomware.

Dubbed PromptLock, the malware is written in GoLang and relies on OpenAI’s GPT-OSS:20b, an open-weight model that can be used without proprietary restrictions.

The threat, ESET explains in a series of posts on social media, relies on hard-coded prompts to generate Lua scripts on the fly, and uses these scripts to perform operations such as filesystem enumeration, file inspection, data exfiltration, and encryption.

Both Windows and Linux variants of Promptlock have been observed, and the generated Lua scripts are cross-platform compatible, ESET warns. The ransomware uses the SPECK 128-bit algorithm for file encryption

“Based on the detected user files, the malware may exfiltrate data, encrypt it, or potentially destroy it. Although the destruction functionality appears to be not yet implemented,” the cybersecurity firm notes.

Advertisement. Scroll to continue reading.

While the idea of AI-powered ransomware roaming around sounds frightening, Promptlock attacks would require several pre-conditions that are unlikely to be met in typical networks.

First, Promptlock uses the  GPT-OSS:20b model locally via the Ollama API, which means that Ollama needs to be running on the victim’s system. This would require resources that typical computer systems do not have.

ESET observed Promptlock sending requests on the local network, hypothesizing it is reaching either to a locally running Ollama server, or to an internal proxy redirecting those requests to an external Ollama server.

As security researchers have pointed out, the success of a Promptlock attack also depends on the victim having poor network segmentation and failing to implement prompt guardrails, or allowing outgoing traffic aimed at LLM ports and protocols.

However, ESET has pointed out that the malware appears to be only a concept and not fully operational, and that it has not been deployed in the wild yet.

“We believe it is crucial to raise awareness within the cybersecurity community about such emerging risks. […] The rise of AI-powered malware represents a new frontier in cybersecurity. By sharing these findings, we hope to spark discussion, preparedness, and further research across the industry,” ESET said.

Related: Sophisticated Koske Linux Malware Developed With AI Aid

Related: Microsoft Dissects PipeMagic Modular Backdoor

Related: Cloudflare Puts a Default Block on AI Web Scraping

Related: Flaws in Software Used by Hundreds of Cities and Towns Exposed Sensitive Data

Related Content

Artificial Intelligence

Anthropic said the users did not succeed in “fielding an operational device” but did carry out a failed test of a guided rocket.

Artificial Intelligence

Anthropic reveals how criminal groups are increasingly targeting AI vendors' own infrastructure, including to steal a pre-release Claude model.

Artificial Intelligence

Both Anthropic and OpenAI have seen high-profile resignations in recent years that were tied to safety concerns.

Artificial Intelligence

Anthropic is most concerned about Claude Mythos 5’s reckless behavior after recent incidents in which real systems were hacked.

Malware & Threats

The high-severity, unauthenticated vulnerability tracked as CVE-2025-25249 was patched in January 2026.

Compliance

The company will increase its US market presence and will expand its engineering and go-to-market teams.

Artificial Intelligence

Criminal and state-sponsored adversaries are increasingly using AI to automate and scale their attacks, according to GTIG.

Artificial Intelligence

Distillation is an ‘attack’ against an AI model designed to capture outputs, understand reasoning processes, and subsequently train a different model.

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version