Sub topic 17
Mobile threats and hardening: app sources, rooting, and updates
This chapter assumes you know what a screen lock and biometrics do on a phone, and that you understand the idea of MDM (mobile device management) from the previous chapters. Here you will look at what attackers do to mobile devices, and the settings that reduce that risk. The chapter is roughly 1,100 words and maps to the A+ Core 2 objectives on mobile malware symptoms and mobile hardening.
The working model: why phones are different
A phone is a small computer with a strict app sandbox. A sandbox is a restriction that keeps each app in its own area, so one app cannot read another app's data or change the operating system. Most mobile attacks try to get around that sandbox in one of three ways:
- Trick the user into installing a malicious app.
- Remove the manufacturer's restrictions, so the sandbox no longer protects anything.
- Use a known flaw in an operating system (OS) that has not been patched.
Hardening a mobile device means closing each of those paths. The sections below follow that order.
App sources: official stores versus sideloading
Official app stores, such as Apple's App Store and Google Play, review apps before listing them. They also scan for malware after listing, and they can remove an app from the store. This review is not perfect, but it catches much more than no review at all.
Sideloading means installing an app from outside the official store. On Android, you install an APK (Android Package) file, often downloaded from a website. On Android this requires allowing installs from unknown sources. In current Android versions this is a per-app permission, such as letting a browser or file manager install packages. On iOS, sideloading is limited by Apple, which is one reason jailbreaking exists (covered below).
Sideloaded apps have not been reviewed, so they may contain malware. Attackers often distribute trojanized copies of popular apps, cracked paid apps, or fake "utility" apps this way.
A related risk is the developer mode and USB debugging features on Android. USB debugging lets a computer control the phone over a cable. Leave it off unless you are developing apps, because a stolen or compromised connection could then give broad access.
| Source | Reviewed before listing? | Typical risk |
|---|---|---|
| Official store | Yes, plus ongoing scanning | Low, but not zero |
| Enterprise or MDM-managed store | By the organization | Depends on the organization's process |
| Sideloaded APK or third-party store | No | High: malware, tampered apps |
Rooting and jailbreaking
Rooting (Android) and jailbreaking (iOS) are ways of gaining administrator-level control over the OS. Users do this to remove carrier or manufacturer limits, install unapproved apps, or customize the system.
The cost is security. A rooted or jailbroken device:
- Loses the sandbox protection, so a malicious app can read other apps' data.
- Often cannot receive official OS updates safely, or loses them entirely.
- May lose access to some apps, such as banking apps, which check for root.
- Can be blocked by an organization's MDM, which treats it as non-compliant.
- May void the manufacturer's warranty.
Do not confuse these with bootloader unlocking. On Android, unlocking the bootloader allows custom firmware to be loaded. It is often a step toward rooting, and it weakens the device's trusted startup process.
Updates and patching on mobile
Mobile OS updates fix vulnerabilities, which are flaws an attacker can exploit. Apps also need updates, because app flaws are patched the same way. There are two kinds of update to know:
- OS updates. Delivered by Apple or by the Android device maker or carrier. Android updates can be delayed because the manufacturer and carrier must prepare them.
- App updates. Delivered through the app store. Turning on automatic app updates is a simple hardening step.
A device that no longer receives security updates is called end of life. It stays exposed to every flaw discovered after its last patch, and the best fix is to replace it.
Common mobile threats and their symptoms
The A+ exam asks you to recognize mobile malware by its symptoms. Learn to match the symptom to the likely cause.
| Symptom | Likely cause |
|---|---|
| Battery drains much faster than normal | Malicious app running in the background, such as a cryptominer |
| Device is hot or slow | High background processing |
| Sudden spike in data usage | App sending data out, or unauthorized use of the connection |
| Unexpected pop-ups or ads | Adware, or a malicious notification permission |
| Apps you did not install | Sideloaded or unwanted software |
| Unexpected charges or texts to premium numbers | Malware that sends premium-rate messages |
| Leaked personal data or accounts | Spyware or a compromised app |
| Unable to update the OS, or apps crash | Rooting, or a corrupted installation |
Other mobile threats include:
- Smishing. Phishing by text message (SMS). A message links to a fake login page or malicious download.
- Malicious or over-permissioned apps. An app asks for access to contacts, microphone, camera, or location that it does not need.
- Unsecured public Wi-Fi. An attacker on the same network can intercept traffic. Using a VPN reduces this risk.
- Bluetooth attacks. Leaving Bluetooth discoverable can allow unwanted pairing. Turn it off when not in use.
- SIM swapping. An attacker persuades a carrier to move your number to their SIM, so they receive your text-based verification codes.
Hardening checklist
Apply these settings to reduce risk:
- Install apps only from the official store. Keep "install unknown apps" off.
- Install OS and app updates promptly, and enable automatic app updates.
- Do not root or jailbreak the device.
- Review app permissions. Remove access to location, camera, microphone, and contacts for apps that do not need it.
- Use a screen lock and biometrics, as covered earlier.
- Turn off Bluetooth, NFC, and Wi-Fi when not needed. Avoid unknown public Wi-Fi, or use a VPN.
- Turn off USB debugging and developer options unless you need them.
- Install mobile antimalware if your organization requires it, and enable the device-finding and remote wipe features.
- Back up data regularly, so a wipe or replacement does not lose it.
Common errors
- Assuming the official store is always safe. Malicious apps occasionally pass review. Check ratings, the developer, and the permissions requested.
- Treating a slow phone as a hardware fault only. On the exam, unusual battery drain, heat, and data use point to malware.
- Ignoring updates on older devices. A device that no longer gets patches is a risk even if it still works.
- Leaving sideloading on "just in case." Turn it off after a one-time install.
- Mixing up rooting and jailbreaking. Rooting is Android. Jailbreaking is iOS. The security impact is the same.
Worked example
A user reports that a work phone has become hot, the battery lasts three hours, and the data meter shows far more use than usual. You check the app list and find two apps the user does not recognize. The user admits installing a free version of a paid game from a website.
- Symptoms (heat, battery drain, data spike) plus unknown apps suggest malware from a sideloaded app.
- Disconnect the phone from the network. Turn off Wi-Fi and mobile data.
- Uninstall the unknown apps. If they cannot be removed, boot in safe mode or perform a factory reset after backing up data.
- Install pending OS and app updates.
- Turn off "install unknown apps" and explain to the user why.
- If the phone is managed, report the incident so MDM can check its compliance.
Exercise
A technician finds an Android phone that drains its battery in two hours, runs hot, and shows several apps the user did not install. The user says they installed a game from a website. Name the most likely cause, and give two settings or actions that reduce the chance of it happening again.
Show answer
The most likely cause is malware from a sideloaded app, which runs in the background and consumes battery, processing, and data. To reduce the risk, turn off "install unknown apps" so only the official store can be used, and install OS and app updates promptly. Reviewing app permissions and not rooting the device are also correct.
Exercise
Why is a rooted or jailbroken phone a security concern for a company that uses MDM?
Show answer
Rooting or jailbreaking removes the OS restrictions and the app sandbox, so a malicious app could read other apps' data, including corporate data. The device also may not receive official updates. MDM policies therefore usually mark such devices as non-compliant and block access or wipe them.