Skip to content
Mobile Write-up Beginner

Unlocking A Android Device Infected By Ransomware Threat Analysis

The article analyses two Android ransomware samples that lock the device screen and demand payment. The author found hardcoded unlock strings in the malware code that can be used to bypass the lock screen.

Harish SG Follow

Published on infosecwriteups.com

I am Harish SG, a security researcher who studies Masters in Cybersecurity at UT Dallas and AI security intern at Cisco,previously hunted on the Microsoft Bug Bounty Program and Google VRP

Harish SG, on infosecwriteups.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 malware authors hardcoded the unlock strings in the app's code instead of using proper encryption or server-side validation.

Impact

An attacker could lock a victim's device and demand payment, but the lock can be bypassed using the hardcoded unlock code, so the ransomware is not effective at encrypting data.

What the attacker needed

Install the malicious app

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.

Ransomware is malicious software that locks your device or files and demands payment to unlock them. This article looks at two Android apps that pretend to be ransomware but actually just show a fake lock screen. The author found that the unlock codes are hardcoded in the app, so you can bypass the lock without paying.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by Harish SG

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.