mfa bypass attacks

Stop Mobile Phishing Attacks in iOS and Android

Security tips for mobile app developers – Whitelisting to prevent phishing attacks

Spending much of my career in the security industry, I’m a big fan of whitelisting mobile app security features because they works well when there are a finite number of systems to communicate with. I also know how challenging it can be to stop phishing attacks. When mobile apps came onto the scene phishing came along for the ride, but luckily so did whitelisting for mobile apps. Now if you’re developing a web browser or an equally promiscuous app, this isn’t going to be your go-to solution, there are alternatives and I’ll blog about them later. For now, let’s talk about phishing and how whitelisting can help prevent it on your mobile apps. Happy reading!

What is a phishing attack?

The goal of a phishing attack is to direct a user to a fake but authentic-looking website to gather sensitive information such as login credentials and account information. Phishing attacks has been around since the mid 1990s, but around 2005 it really took off in popularity. Phishing is designed to get a user to click a malicious link that came across email, chat, social media and so on. Despite security awareness we all love to click on links as Sean Gallagher outlined in an article for Ars Technica: So much for counter-phishing training:  Half of people click anything sent to them. Because most of us are “click-happy” phishing continues to work on all device types.

What is URL whitelisting?

Whitelisting provides a method to identify sites that an app can access.  The goal of whitelisting is to provide a safe space for users accessing services via an app.  Most simply, whitelisting includes approved sites. Security professionals generally agree that whitelisting is an important control. NIST even created Special Publication 800-167, A Guide to Application Whitelisting to help detail this topic.

The inverse of whitelisting is blacklisting which includes blocked or unsafe sites. I’m personally not a huge fan of blacklisting because it’s almost impossible to keep a current list of bad IP addresses, URLs, domains, etc., even with solutions that support security intelligence feeds via APIs for example. It’s a bit like Whac-A-Mole. On the other hand, it’s generally accepted practice so have at it.

How Does Whitelisting Prevent Phishing Attacks in iOS and Android apps?

There are a number of ways to add whitelisting to your app via the Appdome Platform.  In fact, we’ve got some pretty cool ways to implement whitelists you should know about should you decide to choose whitelisting as a feature when you build. Here’s a quick intro:

How to Add a URL Whitelist to Any Mobile App on Appdome 

Upload a Mobile App to Your Account 

  1. Go to the Build tab.
  2. Select Security in the top toolbar.
  3. Expand Secure Communication.
  4. Click on the toggle to enable URL Whitelisting.
  5. Click “+ Add” and add the hostname you want to whitelist
  6. You can edit the App Compromise Notification (Optional)
  7. You can use DEV-Events to handle compromises internally in the app.
  8. Click Build My App.

That’s all there is to it.  This prevents phishing attacks because your app will not connect to URLs that are not on the whitelist.  And you can customize these options as you see fit using Appdome DEV-Events.  

Thanks for reading! This blog is part of a series focused on Mobile Security Basics, which is appropriate for readers of any level looking to increase their overall mobile security knowledge.

Build Securely!

Avi Yehuda

Avi is Appdome's co-founder and CTO. He has a long history in cybersecurity and leads the security and mobile research team at Appdome.

Have a Security Project?

We Can Help!

TomWe're here to help
We'll get back to you in 24 hours to schedule your demo.

Quick Links for This Blog

Want to learn more?

Stay up to date with the DevSecOps Evolution.

Subscribe to our Mobile DevSec Blogs

More To Explore

Build What You Love Automate What You Don’t

Drop us a line and keep in touch

Search Appdome Solutions

3f0fcc71 0fcd 4d11 8187 0554f04e965e

How to Comply with the OWASP MASVS Standard

The OWASP MASVS (Mobile Application Security Verification Standard) is a standard that establishes mobile app security requirements for developers to build secure mobile apps and security teams to test mobile apps. On Appdome, brands can easily comply with the OWASP MASVS standard.

Spear Phishing Attacks Blog

AI Has Democratized Spear Phishing Attacks, Now What?

Spear phishing attacks used to be limited to high-profile targets such as CEOs, politicians, and other influential individuals. These attacks required extensive research, preparation, and coordination, making them a…