Skip to content
Business logic Write-up Intermediate

Browser-Only Ransomware: From LLM Hallucinations to a Practical Attack Technique

A malicious web page can use the browser's File System Access API, after the user approves a folder picker, to read, exfiltrate and encrypt files in the chosen directory and then show a ransom note. The researchers built a working proof of concept on Android Chrome disguised as an AI photo upscaler, though the original AI-generated sample was incomplete.

stcpresearch Follow

Published on research.checkpoint.com

Over the past several years, large language models have reshaped software development, and malware development has followed the same path. Check Point Research has documented this trend from early experiments showing that AI systems could generate offensive components, to cases of cybercriminals using ChatGPT to…

stcpresearch, on research.checkpoint.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the File System Access API grants a web page read and write access to a user-chosen directory, and the permission prompt is easy to rationalise in a plausible workflow, so a malicious page can encrypt files without any native payload.

Impact

On Android Chromium browsers a victim who approves the prompt could have a photo directory encrypted and exfiltrated, but the attack needs social engineering, is limited to Chromium browsers, and cannot reach sensitive system locations such as the home directory or Downloads.

What the attacker needed

Chromium browser (Chrome 132+ on Android); victim opens attacker page; victim approves folder picker; convincing AI-tool lure

The fix

The text gives no vendor fix; it advises users to treat folder-access prompts as high-stakes, avoid granting sites access to sensitive folders, keep browsers updated and maintain backups.

How it was found

  1. Open a page disguised as an AI photo or avatar upscaler.
  2. Select an image, then choose a folder for saving the 'enhanced' results.
  3. Approve the browser prompt allowing the site to edit files in that folder.
  4. During a fake processing step the page encrypts the pictures in the selected directory.
  5. The page shows a ransom-style overlay demanding payment.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Modern browsers let a website ask your permission to read and write files in a folder you pick, so that web apps can work like normal programs. If a site tricks you into approving that for a folder full of photos, it can scramble those files and demand payment. No app is installed and no browser flaw is used; the whole attack is a convincing page plus one permission click.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by stcpresearch

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.