Skip to content

PromptLock

PromptLock is an experimental AI-enabled ransomware proof of concept, also referred to as Ransomware 3.0, that embeds a locally accessible large language model into its execution flow.

Profile source: Mallory opens in a new tab

PromptLock

Family profile

PromptLock is an experimental AI-enabled ransomware proof of concept, also referred to as Ransomware 3.0, that embeds a locally accessible large language model into its execution flow. It is written in Go and uses hard-coded prompts to invoke the gpt-oss-20b model through a local Ollama API, dynamically generating Lua scripts at runtime rather than relying solely on prebuilt ransomware logic. The generated scripts perform filesystem enumeration, inspect files, select data for theft, and encrypt targeted content, demonstrating how generative AI can be used to adapt malicious behavior to the victim environment during execution.

PromptLock has been described as the first known ransomware to integrate an LLM directly into active operations, but available reporting indicates it was not observed in real-world criminal deployment and was instead a research prototype closely matching an academic proof of concept developed at New York University’s Tandon School of Engineering. ESET assessed it as a proof of concept or work in progress rather than an operational campaign.

The malware is cross-platform in design. Reporting supports Windows and Linux variants, and some descriptions state the generated Lua logic was intended to be portable across Windows, Linux, and macOS. Its core demonstrated capabilities include data exfiltration and file encryption, with references to unfinished destructive or wipe-oriented logic that did not appear to be implemented in analyzed samples. PromptLock is significant primarily as an early demonstration of runtime LLM orchestration in malware, showing how publicly available local AI tooling could automate reconnaissance, target selection, and ransomware actions while potentially increasing adaptability and complicating static detection.

Capabilities

  • Exfiltration
  • Extortion
  • 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.