Sub topic 9
Containing and preventing mobile security problems
This chapter assumes you know how to spot a compromised phone or tablet, as covered in the previous chapter. It also assumes you know the basics of Android and iOS settings. Here the focus shifts from recognizing a problem to containing it and preventing the next one.
Controls at a glance
Mobile security controls fall into two groups. Preventive controls reduce the chance of a compromise. Containment controls limit the damage once one has happened. The exam often asks which control fits a situation, so learn what each one does.
| Control | What it does | Typical use |
|---|---|---|
| Screen lock | Requires a PIN, password, pattern or biometric to use the device | Stops casual access to a lost or stolen device |
| Trusted app sources | Limits installs to the official app store | Prevents sideloaded or spoofed apps |
| Mobile anti-malware | Scans apps and files for known threats | Finds and removes malicious apps |
| MDM | Central management of company devices | Enforces policy across many devices |
| Remote wipe | Erases the device over the network | Lost or stolen device holding sensitive data |
| Locator apps | Show the device's location and can sound an alarm | Finding a misplaced device |
Screen locks
A screen lock is the first line of defense. A PIN or password is stronger than a swipe pattern, because patterns can be guessed or seen from smudges on the screen. Biometrics, such as a fingerprint or face scan, add convenience. Most devices fall back to a PIN when biometrics fail.
You can also set the device to erase itself after a number of failed attempts (for example, 10). Combine this with a short auto-lock timeout so the device locks soon after it is left idle.
Trusted app sources and updates
Install apps only from the official stores: Google Play or the Apple App Store. These stores review apps, though not perfectly. Avoid sideloading, which means installing an app from outside the store. Also be wary of apps with near-identical names to popular ones, because these may be spoofed copies.
Keep the OS and apps updated. Updates patch known vulnerabilities. On Android, check for unfamiliar apps with this command, which lists third-party apps on a device with USB debugging enabled:
adb shell pm list packages -3Mobile anti-malware
Anti-malware apps scan installed apps and downloads. They are useful on Android, where users can install apps from several sources. If an app is flagged, uninstall it, run a scan, and check the device for signs of lingering problems, such as high data use or battery drain.
MDM and remote wipe
Mobile device management (MDM) is software that lets an organization manage phones and tablets from one console. An administrator can:
- Require a screen lock and a minimum PIN length.
- Block installs from untrusted sources.
- Push apps and settings.
- Separate work data from personal data.
- Lock, locate or wipe a device.
A remote wipe sends a command that erases the device. If the device is offline, the wipe usually runs when it next connects. Use it when a device is lost or stolen and holds sensitive data. It is a drastic step, so first check whether a simple lock or locator action will do. A selective wipe, which removes only work data, is a good choice for a personal device enrolled in a company program.
Containing a compromised device
When you suspect a compromise, act in this order of thinking:
- Disconnect the device from Wi-Fi and cellular data, or turn on airplane mode. This stops data leaving the device.
- Identify the suspicious app and uninstall it. Check the list of installed apps and device administrator permissions.
- Run an anti-malware scan.
- Change passwords for accounts used on the device, from a clean device.
- If the problem persists, back up personal data and perform a factory reset.
- Document what happened and report it to the security team if the device is company owned.
Exam tips
Choose the least destructive action that solves the problem. A factory reset is usually a later step, not the first one. Choose a remote wipe when the scenario says the device is lost or stolen and holds company data. Choose MDM when the scenario involves enforcing policy on many devices.
Exercise
A salesperson reports that a company phone holding customer data was left in a taxi. The phone has a PIN lock. What is the best next step?
Show answer
Use the MDM console to locate the device and, if it cannot be recovered quickly, send a remote wipe. The PIN slows access but does not protect the data if the device is attacked. Wiping protects the customer data, and a restore from backup recovers the user's own data.
Exercise
A user's phone shows excessive ads and high data usage after installing an app from a link in an email. Which two actions come first?
Show answer
Isolate the phone, for example with airplane mode, and uninstall the suspicious app. Then run an anti-malware scan. A factory reset is only needed if the symptoms continue.