Skip to content
PromptLock: What AI-Powered Ransomware Means for Businesses

PromptLock: What AI-Powered Ransomware Means for Businesses

Industry Updates

By Patricia A. Pramono • Studio 1080, Published on May 5, 2026

For years, ransomware has been one of the most disruptive cyber threats facing organizations. It can lock critical files, stop business operations, trigger regulatory concerns, and put companies under intense pressure to recover quickly.

Also read: Understanding Malware Threats

But what happens when ransomware no longer depends only on pre-written code?

What happens when it can use artificial intelligence to scan files, generate attack scripts, decide what to encrypt, and even create a ransom note based on what it finds inside a victim’s system?

That is the concern raised by PromptLock, a new type of ransomware discovered by ESET researchers in August 2025. While it has not been observed in actual attacks and is currently believed to be a proof-of-concept or work in progress, PromptLock still gives businesses an important warning, that AI-powered cyber threats are no longer just theoretical (ESET, 2025; WeLiveSecurity, 2025).

And sometimes, a proof-of-concept is enough to show where the threat landscape may be heading next.

What is PromptLock?

PromptLock is described by ESET as the first known AI-powered ransomware. Unlike traditional ransomware that relies on fixed malicious code, PromptLock uses generative AI to create malicious Lua scripts in real time. These scripts can be used to scan local files, inspect their contents, exfiltrate selected data, and encrypt information (ESET, 2025; WeLiveSecurity, 2025).

.
To put it simply, Lua scripts act like small sets of instructions. They are lightweight, flexible, and can be used to tell a system what actions to perform. In the context of PromptLock, these Lua scripts become the attack instructions generated by AI in real time, helping the malware search for files, read file contents, copy data, or encrypt information.

Technically, PromptLock is written in Golang, which allows it to work across multiple operating systems. It also uses SPECK 128-bit encryption and communicates with an open-source AI model, gpt-oss:20b, through the Ollama API to execute step-by-step instructions (ThaiCERT, 2025).

Golang, or Go, is the programming language used to build the main body of the malware. Known for being fast, lightweight, and cross-platform, Golang allows software to run across different operating systems such as Windows, macOS, and Linux. In PromptLock’s case, this helps the malware become more adaptable across different environments.

But the real concern is not only what PromptLock does, it is how it does it.

Instead of carrying every malicious instruction inside the malware from the beginning, PromptLock uses predefined prompts to make an AI model generate parts of the attack during execution. In simpler terms, the malware asks AI to help create parts of the attack as it goes.

Why PromptLock is different from traditional ransomware

Most ransomware follows a more predictable flow. It enters a system, looks for files, encrypts them, and leaves a ransom note. Security teams can often study the malware, identify patterns, and build detection rules based on known signatures, file hashes, or repeated behavior.

PromptLock makes that harder.

Because its malicious scripts are generated dynamically, the code may vary from one execution to another. This could cause Indicators of Compromise, or IoCs, to change each time the code runs, making detection and mitigation more difficult (ThaiCERT, 2025).

For businesses, if yesterday’s ransomware could be detected by recognizing its repeated patterns, tomorrow’s ransomware may be harder to identify because it can change its shape.

It is a bit like trying to recognize an intruder who changes clothes, route, language, and method every time they enter a building. You may still know something is wrong, but the usual wanted poster becomes less useful.

How PromptLock executes its attack

PromptLock’s attack flow can be understood in several key stages:

.

  1. The malware uses hardcoded prompts to instruct an AI model to generate Lua scripts. These scripts are designed to perform specific malicious tasks, such as file discovery, data analysis, exfiltration, encryption, and ransom note generation.
  2. It scans the local file system to identify valuable or sensitive files. This is where the AI-powered element becomes important. Instead of blindly encrypting everything, PromptLock can inspect the system and decide which files may be worth stealing or encrypting.
  3. PromptLock may exfiltrate selected data. This means the attack may also involve stealing sensitive information before encryption, opening the door to double extortion scenarios where attackers pressure victims with both operational disruption and potential data leakage, on top of locking data. 
  4. The malware can encrypt files using SPECK 128-bit encryption. A destructive function was already embedded in the code when this happens, although it appeared inactive at the time of discovery.
  5. PromptLock can use the AI model to compose ransom notes personalized based on details found in the victim’s system, making the extortion attempt feel more specific and potentially more intimidating.

This is why PromptLock feels different, because it is able to automate ransomware, showing that it can adapt.

Is PromptLock already attacking businesses?

PromptLock has not been observed in real-world attacks.

PromptLock was not spotted in actual attacks and is instead believed to be a proof-of-concept or work in progress. ESET also later updated its findings after being contacted by the authors of an academic study whose research prototype closely resembled the PromptLock samples discovered on VirusTotal. This supported ESET’s belief that PromptLock was a proof-of-concept rather than fully operational malware deployed in the wild.

A proof-of-concept can still be a preview. It shows what is technically possible before the same idea is refined, copied, or adapted by real attackers.

Why PromptLock matters for businesses

With AI, attackers may not need to manually build every part of the malware. AI can help generate scripts, analyze environments, identify valuable files, and automate parts of the attack process. A well-configured AI model could make complex, self-adapting malware easier to create and harder for defenders to detect.

For businesses, this creates several important implications:

  1. If malicious code can vary every time it is generated, organizations need stronger behavior-based detection
  2. Response speed becomes more critical. AI-powered ransomware could potentially operate at machine speed, creating challenges for security teams that rely heavily on manual investigation and response.
  3. Sensitive data governance becomes even more important. PromptLock’s structure shows how AI could be used to identify which files are valuable. For companies handling customer data, financial records, healthcare information, intellectual property, or operational data, this raises the stakes.
  4. AI itself becomes part of the security conversation and strategy. As organizations adopt more AI tools, they also need to think about who can access those tools, what data is being exposed, and how AI-related activity is being monitored.

Also read: Understanding AI Governance: Risks, Rules, and Best Practices

What should businesses do now?

Businesses need to move from reactive security to continuous, adaptive defense. That means combining prevention, detection, response, and recovery in a way that can keep up with evolving threats.

One important step is to strengthen behavior-based detection. Security tools should be able to detect unusual file access, mass file modification, suspicious encryption behavior, unexpected script execution, and abnormal outbound traffic. This becomes even more important when static indicators are no longer enough.

Another step is to monitor sensitive file changes. Ransomware often leaves traces before it creates full damage. If a system suddenly modifies, copies, deletes, or encrypts critical files, that activity should trigger immediate investigation. This is where File Integrity Monitoring, or FIM, can play an important role.

Also read: What is File Integrity Monitoring in SOC?

Organizations also need to strengthen access control. If ransomware enters through a user account with broad access, the impact can spread quickly. Least privilege, segmentation, and access control help limit how far an attack can go.

AI usage inside the organization should also be secured. Companies need visibility over which AI tools are being used, what data is being shared, and whether internal AI systems are properly monitored.

Finally, businesses need to prepare for a faster response. When attacks move faster, the response must also move faster. Security teams need automation, clear escalation paths, tested incident response playbooks, and reliable backup recovery procedures.

Fighting AI-powered threats with AI-powered defense

There is a simple lesson behind PromptLock, that attackers are experimenting with AI. So, defenders need to evolve too.

Defenders can also use AI to simulate attacks, strengthen analysis, and automate response. In this context, AI is not only a risk. It can also become part of the defense, as long as it is used with proper oversight and human validation.

This is where a modern Security Operations Center becomes highly relevant.

With Cisometric’s AI-powered SOC, organizations can strengthen their ability to monitor threats, detect suspicious behavior, analyze incidents, and respond more efficiently. AI can help security teams process large volumes of alerts and identify patterns that may be difficult to catch manually.

Cisometric also uses File Integrity Monitoring, which helps detect suspicious or unauthorized changes to critical files. If files are being deleted, copied, modified, or encrypted unexpectedly, FIM can help raise alerts before the damage becomes more significant.

Of course, FIM is not a standalone solution to ransomware. It should work together with broader security controls such as endpoint protection, access management, backup strategy, incident response planning, and continuous monitoring.

To learn more about how Cisometric’s AI-powered SOC and File Integrity Monitoring can help your business detect, respond to, and stay ahead of evolving cyber threats, contact us for further information.

.

Schedule a free consultation with our experts today to discuss your security needs, click here.

For more updates on digital scams, cybersecurity insights, and expert tips, follow our social media:

LinkedIn: Cisometric

Instagram: @cisometric

Youtube: @Cisometric 






Reference: 

ESET discovers PromptLock, the first AI-powered ransomware

“PromptLock”: First-Ever Ransomware Leveraging AI for File Encryption Discovered - Thailand Computer Emergency Response Team (ThaiCERT)

PromptLock: AI Ransomware That Writes Its Own Attack Code in Real Time

First known AI-powered ransomware uncovered by ESET Research

PromptLock Ransomware

You may like this...

We use cookies to enhance your browsing experience, analyse site traffic, and deliver relevant content. Choose which cookies you allow. Privacy Policy