October 4, 2016 By Douglas Bonderud 2 min read

Generally speaking, lockscreen ransomware ranks on the not-so-sophisticated end of the malware spectrum. As noted by Information Age, this type of ransomware can be a mere “nuisance” when confined to a single PC or laptop. When it comes to mobile devices, however, lockscreen attacks can be devastating since users are effectively stonewalled, kept away from contacts, photographs and other digital assets that have become a key part of the bring-your-own-device (BYOD) revolution.

While some variants of lockscreen malware have been relatively easy to reverse engineer, HackRead described a newly updated version of Android.Lockscreen that ups the annoyance factor by making it almost impossible to recover original passcodes. Here’s a look at the new lock on the block.

Lucrative Locks

According to Softpedia, the original version of Android.Lockscreen wasn’t especially complex. Once a device was infected, the malware created a custom PIN code to lock the user out. An on-screen message advised the device owner to call “technical support.” The victim was then compelled to pay for the privilege of having his or her password reset.

Infection vectors were typical — infected third-party apps and malicious links — but the resolution was also straightforward, since the malware source code included the new PIN. This made it possible to extract the code, hand it over to users and avoid paying cybercriminals anything.

Soon enough, however, malware-makers realized their mistake and set about creating a new and improved version of this lockscreen ransomware. The result: pseudorandom number generation and a big headache for Android users.

Pseudorandom PINs

Using the Math.Random() function, attackers were able to design a piece of malware that skipped hard-coded PINs in favor of randomly generated six- or eight-digit numbers to replace existing user passcodes. They’re called pseudorandom because they’re limited in size and therefore occupy a finite set. Still, it’s enough to make the device virtually unlockable since every smartphone or tablet infection generates its own random code.

It doesn’t stop there: The new lockscreen ransomware also uses device admin privileges to modify the user’s existing PIN. It displays a system error screen on every visible user interface, prompting the user to contact the attackers for the new passcode. So far, attempts to deconstruct this attack have been unsuccessful, leaving owners to either wait for a fix or pony up the cash.

Avoiding Lockscreen Ransomware

Thankfully, there are ways to avoid the new lockscreen ransomware. First, get Nougat. The newest Android release prevents calls for PIN or passcode changes from any other apps if the PIN was previously set by the user. While lockscreen larcenists will likely find a way around this protection eventually, for the moment it is a foolproof way to solve the problem.

For users who can’t get Nougat or don’t want the new iteration, staying safe means sticking to reputable app stores, avoiding shady links and, most importantly, paying attention to the permissions requested by a new install. Any app carrying this malware needs permission to lock the screen, change device settings and overlay messages above other applications — a sure sign something isn’t above board.

Lockscreen malware isn’t new and it isn’t always a surefire payday for cybercriminals. The combination of vulnerable mobile devices and pseudorandom number generation, however, makes this ransomware one to watch. For the moment, locked Androids mean lost data and big ransom revenues.

More from

When ransomware kills: Attacks on healthcare facilities

4 min read - As ransomware attacks continue to escalate, their toll is often measured in data loss and financial strain. But what about the loss of human life? Nowhere is the ransomware threat more acute than in the healthcare sector, where patients’ lives are literally on the line.Since 2015, there has been a staggering increase in ransomware attacks on healthcare facilities. And the impacts are severe: Diverted emergency services, delayed critical treatments and even fatalities. Meanwhile, the pledge some ransomware groups made during…

AI and cloud vulnerabilities aren’t the only threats facing CISOs today

6 min read - With cloud infrastructure and, more recently, artificial intelligence (AI) systems becoming prime targets for attackers, security leaders are laser-focused on defending these high-profile areas. They’re right to do so, too, as cyber criminals turn to new and emerging technologies to launch and scale ever more sophisticated attacks.However, this heightened attention to emerging threats makes it easy to overlook traditional attack vectors, such as human-driven social engineering and vulnerabilities in physical security.As adversaries exploit an ever-wider range of potential entry points…

4 trends in software supply chain security

4 min read - Some of the biggest and most infamous cyberattacks of the past decade were caused by a security breakdown in the software supply chain. SolarWinds was probably the most well-known, but it was not alone. Incidents against companies like Equifax and tools like MOVEit also wreaked havoc for organizations and customers whose sensitive information was compromised.Expect to see more software supply chain attacks moving forward. According to ReversingLabs' The State of Software Supply Chain Security 2024 study, attacks against the software…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today