Closing Security Gaps in Mobile Apps With Source Code Protection

By Pedro Fortuna 3 min read

Close security gaps. Stay ahead of attackers and cybercriminals with source code protection.

The Department of Justice and the Federal Trade Commission have issued more scam alerts since the pandemic began. Attackers create apps that mimic official government apps and distribute these copycats through unofficial channels.

In June, Canadians were tricked into installing a fake COVID-19 contact tracing app that, despite being advertised as Health Canada, covertly installed ransomware, encrypting the user’s files and demanding a ransom payment.

Similarly, researchers found that 12 other fake contact tracing apps in South America, Europe, and Asia installed Trojan horses on users’ devices and stole credentials and other sensitive data.

But contact tracing programs are one of many apps developed by public- and private-sector teams that attackers have imitated or breached.

Often, app developers must meet strict deadlines and may put security on the back burner, intending to address it later.

Application security guidelines

Security is critical for any application that handles sensitive user information. Personally identifiable information is valuable to attackers, and a single security gap can let an app facilitate a data breach. For government apps, this can have countrywide ramifications.

What can be done to ensure in-depth security?

First, these applications, especially government-backed apps, must undergo strict independent security audits before release. This process should start as early as possible in the software development lifecycle.

1. Mobile Security Testing Guide

Development teams should follow well-established application security guidelines, namely the Open Web Application Security Project’s (OWASP) Mobile Security Testing Guide. This guidance describes several possible attack vectors and urges teams to ensure the app isn’t vulnerable on any front.

2. Source Code Protection

Another security concern is protecting source code. When apps are released, their source code is typically shipped in plain text, exposing it to users and attackers alike.

This poses a significant security risk, as the ISO 27001 information security standard states that “program source code can be vulnerable to attack if not adequately protected and can provide an attacker with a good means to compromise systems in an often covert manner.”

As stated in the OWASP Mobile Top 10 Security Risks guide, attackers take exposed code to “directly modify the code, change the contents of memory dynamically, change or replace the system APIs that the application uses, or modify the application’s data and resources. This can provide the attacker with a direct method of subverting the intended use of the software for personal or monetary gain”.

If attackers can easily access an app’s source code, they can distribute dozens or hundreds of copycats via third-party websites or apps, tricking users into installing them by exploiting government agency branding.

To counter this and other security liabilities, development teams must choose resilient source code protection that not only obfuscates code to hinder reverse engineering but also adds runtime defenses to prevent tampering, thwart copycats, and lock attackers out.

Every day, attackers go further to steal valuable user data, so development teams must recognize the responsibility they carry.

With government-backed apps and the private data of millions, no security risk is too small.

Security Gaps: Jscrambler Source Code Protection

To start protecting your mobile app source code, learn more about our technology for JavaScript, Hybrid, or Native Apps, or start a free trial of Jscrambler’s client-side security solution.