Skip to content

PromptLock

PromptLock is a proof-of-concept AI-enabled ransomware prototype, also associated with the academic label Ransomware 3.0.

Profile source: Mallory opens in a new tab

PromptLock

Family profile

PromptLock is a proof-of-concept AI-enabled ransomware prototype, also associated with the academic label Ransomware 3.0. It is written in Go and is notable for embedding a locally accessible large language model into its execution flow rather than relying solely on prebuilt malicious logic. During runtime, it uses a local Ollama-served gpt-oss-20b model to generate Lua scripts on demand, allowing the malware to adapt actions such as filesystem enumeration, file inspection, data selection, exfiltration, and encryption to the victim environment. Reported code also contains indications of unfinished destructive or wipe-oriented functionality.

PromptLock has been described as one of the earliest concrete examples of ransomware using generative AI dynamically during execution. Its generated Lua logic has been reported as cross-platform, with observed variants for Windows and Linux and references to compatibility extending across additional desktop operating systems. The malware’s behavior demonstrates how publicly available local AI tooling can be incorporated into ransomware to increase flexibility and reduce the need to hardcode all malicious functionality into the binary.

Available reporting indicates PromptLock was not observed in real-world criminal deployment and is best assessed as a laboratory prototype or work in progress rather than an operational ransomware family used in active attacks. Multiple accounts link it to controlled research by New York University’s Tandon School of Engineering. Even so, it remains significant as an early demonstration of LLM-orchestrated ransomware design and of how AI can be used to automate reconnaissance, target-file selection, exfiltration decisions, and encryption workflows inside malware.

Capabilities

  • Exfiltration
  • Reconnaissance

Operational record

6
Indicators
1
YARA rules

Published indicators

Sha1

6 total
  • 24BF7B72F54AA5B93C6681B4F69E579A47D7C102
  • AD223FE2BB4563446AEE5227357BBFDC8ADA3797
  • BB8FB75285BCD151132A3287F2786D4D91DA58B8
  • F3F4C40C344695388E10CBF29DDB18EF3B61F7EF
  • 639DBC9B365096D6347142FCAE64725BD9F73270
  • 161CDCDB46FB8A348AEC609A86FF5823752065D2

MITRE ATT&CK

PromptLock in ATT&CK

21 distinct techniques

We appreciate you

Derp wouldn't exist without the work these projects do for the security community. We rely on their data sources to improve the quality and depth of what we publish. Thank you, we're genuinely grateful.