Tech Insights

Manual offensive security perspective from Redbot Security.

Tech Insight | Mobile Security

Android Malware: Threat Landscape, Detection & Defense

Android Malware
Executive + Technical Read
Malware / Ransomware
Android ransomware

What is Android malware? Android malware is malicious code, such as droppers, spyware, or banking Trojans, hidden in apps or side-loaded packages that steal data or hijack devices. Mitigate it by validating app sources, enforcing MDM policies, and monitoring outbound traffic.

This article is to demonstrate a high-level process malicious threat actors use to create malware specifically for the Android platform. This article is to help readers understand the dangers of Android ransomware and is intended for educational purposes only.

Ransomware is a Nightmare!

For anyone who has been a victim of mobile device ransomware, you know that this is a true statement.

Growing device exposure

There are over 5.22 billion smartphone users in the world, representing 66% of the global population. The population of users grew by 93 million in 2020, with an annual growth rate of 1.8%.

Mobile fraud risk

According to RSA’s Current State of Cybercrime whitepaper, about 70% of fraudulent transactions originated from mobile platforms, with popular mobile attack vectors including malware, data tampering, and data loss.

How Easy Is It to Create Android Malware?

Malware and ransomware generators are growing more popular and readily available for bad actors.

Ransomware is a Nightmare!

For anyone who has been a victim of mobile device ransomware, you know that this is a true statement. For those readers that have never been a victim, there is a sincere hope that your security awareness skills are on point because malware and ransomware generators are growing more popular and readily available for malicious actors.

There are over 5.22 billion smartphone users in the world, representing 66% of the global population. The population of users grew by 93 million in 2020, with an annual growth rate of 1.8%. Mobile subscriptions have exceeded six billion, while the number of new smartphones used daily is more than one million. [1]

Furthermore, according to the RSA’s Current State of Cybercrime whitepaper, about 70% of fraudulent transactions originated from mobile platforms, with popular mobile attack vectors including malware, data tampering, and data loss. [2]

One last note for a clearer perspective. The average household in the United States is likely to have two or more cell phones, which often outnumber laptops or workstations and is part of the average 10 connected smart devices per family. [1]

Payload Generation

The likelihood of a cyber attack on a mobile platform is significantly high, but how difficult is it for a malicious actor to generate malware? You might be surprised. As shown in Figure 1, a simple search on GitHub (https:// github.com) for the string, Android ransomware, returned nine (9) code repositories.

Figure 1. GitHub Search Results for Android Ransomware Code Repositories
Figure 1. GitHub Search Results for Android Ransomware Code Repositories

While most of the publicly available repositories were updated within the last year, Redbot Security observed one (1) updated as recently as July 22, 2023 (Figure 2).

Figure 2: Active Development
Figure 2: Active Development

GitHub stores code repositories, and the individual projects typically include detailed instructions on installing, configuring, and using the publicly available code. Furthermore, other simple internet searches return blogs and content about how to effectively deploy the ransomware, while video tutorials are located on YouTube.

Still think it might take some deep-level skill? Think again. Most of the ransomware observed on GitHub is a derivative of the Simple Android Ransomware Attack (SARA) project, which includes a guided walkthrough and ‘Fill in the Blank’ prompts. On a Kali Linux VM, Redbot Security generated a deployable Android Package (APK) within minutes.

Figure 3: Successfully Compiled APK and Ready for Deployment
Figure 3: Successfully Compiled APK and Ready for Deployment

Deployment strategies can differ between malicious threat actors, but payload creation is beyond easy!

Other Notable Mention

The above example was just one of many. However, for further awareness, it’s a good time to mention another tool, StormBreaker, which is also available on GitHub and publicly accessible.

This particular tool operates more as a web application with a suite of tools for Social Engineering. More importantly, it can extract the victim’s browser and IP information, GPS location, enable the microphone, and access the camera.

The skill required to discreetly operate [red team style], requires a fair bit of knowledge, but many videos and guides are available to reduce the learning curve.

Protections to Avoid Ransomware

Security Awareness
Install Endpoint Protection for Mobile Devices
Avoid Giving Out Personal Information
Use a Pin, Password, or Pattern to Lock Your Device
Download Apps Only from Trusted Stores
Backup You Data
Keep the Operating System Updated
Log Out of Sites and Applications After Use
Turn off Wi-Fi and Bluetooth When Not in Use

And this goes without saying … Don’t click on untrusted links.

Lastly, if you are a parent of a child with a smartphone or an elderly family member, take the time to educate them on the potential dangers of smartphones, potential scams, and the dangers of sharing your personal information.

Conclusion

In conclusion, ransomware poses a significant and ever-growing threat to individuals, businesses, and organizations across the globe. As we have discussed, ransomware attacks continue to increase in frequency and sophistication, leaving victims with devastating consequences such as financial loss, reputational damage, and operational disruptions.

The rapid evolution of ransomware techniques, including advanced encryption algorithms and social engineering tactics, makes it essential for everyone to protect their digital assets proactively.

To mitigate the risks posed by ransomware, adopting a multi-layered cybersecurity approach is crucial. A few things you can do to protect your data include:

Regularly backing up data to offline or off-site locations.
Implementing robust security measures such as firewalls and antivirus software.
Conducting security awareness training for employees.
Staying up to date with the latest security patches and updates.

Additionally, collaborating with cybersecurity professionals and investing in advanced threat intelligence solutions can provide organizations with the expertise and tools to effectively detect, prevent, and respond to ransomware attacks.

By prioritizing cybersecurity and implementing preventive measures, we can minimize the impact of ransomware and safeguard our digital infrastructure. Remember, no organization or individual is immune to ransomware attacks. Ransomware incidents are not only a financial burden but also compromise sensitive data and erode trust.

As the threat landscape grows, we must remain vigilant and proactive in our cybersecurity efforts. By doing so, we can protect ourselves, our businesses, and our communities from dangerous and pervasive ransomware threats.

About the Author

Andrew Bindner

Andrew has 20+ years of hands-on security experience leading teams or working individually on highly technical engagements for a wide variety of commercial and government industries in IT and OT security.

Need help validating real-world mobile and application security risk?

Redbot Security helps organizations identify exploitable weaknesses across applications, networks, and critical environments before malicious actors do.

References

  1. Number of Smartphone Users Worldwide
  2. RSA Current State of Cybercrime
  3. Redbot Security — Android Malware Threats & Defense Guide