Mobile Anti-Spyware Guide: A Complete Breakdown of Apple Lockdown Mode, Google Advanced Protection Program, and More

How Apple, Google, and Meta's anti-spyware security modes work and how to use them
This article addresses the threat of commercial spyware like Pegasus targeting high-risk users and provides a detailed overview of three major tech companies' defense solutions: Apple's Lockdown Mode reduces the attack surface by disabling high-risk features, Google's Advanced Protection Program enforces system-level restrictions on app installation and data transfer, and Meta hardens WhatsApp's communication gateway with IP protection and account security enhancements. These features are primarily designed for high-risk groups such as journalists and activists.
Introduction
Targeted spyware attacks have become a serious threat for high-risk groups such as journalists, activists, and political figures. From NSO Group's Pegasus to QuaDream's Reign, these commercial spyware tools can completely take over a device without the user's knowledge — stealing communication records, eavesdropping on calls in real time, and even remotely activating the camera.
These tools represent the pinnacle of Commercial Spyware technology, typically developed by private intelligence companies and sold to government agencies under legitimate licensing agreements. Pegasus was first discovered by Citizen Lab in 2016, and its core capabilities include: leveraging Zero-day Exploits for interaction-free infection, full extraction of encrypted communications, real-time GPS tracking, and remote activation of microphones and cameras. Even more dangerous is the Zero-Click attack technique — attackers don't need the target to click any link or attachment. A single specially crafted message is enough to compromise the device, and the victim remains completely unaware throughout the process.
Facing this reality, Apple, Google, and Meta have each rolled out dedicated security protection modes to provide an extra layer of defense for high-risk users. This article breaks down each feature's protection mechanism, applicable scenarios, and step-by-step activation instructions.

Apple Lockdown Mode: The Most Aggressive Protection on Any Consumer Device
Feature Overview
Apple introduced Lockdown Mode in iOS 16, making it the most aggressive security solution available on any consumer device today. Its core philosophy stems from Attack Surface Reduction, a fundamental principle of security engineering. The attack surface refers to the sum of all possible entry points an attacker could exploit in a system, including open network ports, executable code paths, parsable data formats, and more. Spyware typically infiltrates devices by parsing maliciously crafted media files, exploiting compiler vulnerabilities, or hijacking device management protocols. Lockdown Mode disables these features, compressing the device's attack surface to the minimum viable set — even if an attacker has discovered a vulnerability in a particular component, that component simply won't run under Lockdown Mode, rendering the vulnerability unexploitable.
Specific Protection Measures
Once Lockdown Mode is enabled, the device enforces the following restrictions:
- Messages app: Most attachment types other than images are blocked, and link preview functionality is disabled
- Web browsing: Advanced JavaScript compilation technologies like JIT are disabled; some websites may load slower or have limited functionality
- FaceTime: Incoming calls from contacts you haven't previously called are automatically blocked
- Wired connections: Wired connections to computers or accessories are blocked when the device is locked
- Configuration profiles: MDM configuration profiles cannot be installed, and the device cannot be enrolled in device management
These restrictions may seem harsh, but each one corresponds to a real-world spyware attack vector. For example, Pegasus has launched attacks through zero-click vulnerabilities in iMessage, and Lockdown Mode directly seals off this entry point.
The security risk of JIT (Just-In-Time) compilation technology deserves special explanation. JIT compilers dynamically compile JavaScript into native machine code at runtime, a process that requires creating executable regions in memory. Attackers can trigger logic flaws in the JIT compiler through carefully crafted JavaScript code, injecting malicious code into these executable memory regions and thereby bypassing the operating system's memory protection mechanisms (such as ASLR and DEP). Multiple Pegasus attack chains have historically included WebKit JIT vulnerabilities as their initial entry point. With JIT disabled, JavaScript falls back to interpreted execution mode — performance drops by approximately 50%, but this entire class of attack paths is completely eliminated.
How to Enable It
On iPhone or iPad: Go to Settings → Privacy & Security → Scroll to the bottom to find Lockdown Mode → Tap to enable. The device will restart to apply the new security policies. Mac devices also support this feature, accessible via System Settings → Privacy & Security → Lockdown Mode.
Google Advanced Protection Program: A System-Level Defense for the Android Ecosystem
Feature Overview
Google's Advanced Protection Program was originally designed as a security enhancement for Gmail accounts, but has since expanded to encompass the entire Android system, providing comprehensive controls from app installation to data transmission.
Core Protection Capabilities
- App installation restrictions: Only allows app installation from the Google Play Store and device manufacturer pre-installed stores, completely eliminating sideloading risks
- Google Play Protect always on: Continuously scans for malicious behavior on the device, and users cannot manually disable it
- Chrome Enhanced Safe Browsing: Enables the highest level of web security detection
- Account recovery hardening: Uses stricter identity verification processes, effectively resisting social engineering attacks
- USB debugging disabled by default: Prevents data extraction through physical connections
Among these, the prohibition on Sideloading is particularly critical. Sideloading refers to installing APK application packages from sources outside the Google Play Store, and it has been a long-standing security concern in the Android ecosystem. Unlike iOS's closed app distribution model, Android allows users by default to enable "Unknown sources" installation permissions, providing a direct distribution channel for spyware. Attackers can disguise malware as legitimate tools (such as VPNs or news clients) and trick targets into installing them via phishing links. The Advanced Protection Program minimizes the exposure of this attack vector by forcibly narrowing installation channels.
Who Is It For?
Google officially states that this program is designed for journalists, human rights workers, political campaign team members, and other users facing targeted attacks. While ordinary users can also enable it, the app installation restrictions and changes to the account recovery process may affect the day-to-day user experience.
Meta Enhanced Security Features: Guarding the Communications Gateway
WhatsApp's Spyware Protection
WhatsApp has been exploited multiple times as an attack vector for spyware like Pegasus. The zero-click voice call vulnerability (CVE-2019-3568) disclosed in 2019 was a landmark event in the history of commercial spyware attacks: the vulnerability existed in WhatsApp's VOIP (Voice over IP) protocol stack. An attacker only needed to initiate a specially crafted voice call request to the target to trigger a Buffer Overflow on the target device, enabling arbitrary code execution — even if the target never answered the call, the attack was already complete. This incident affected approximately 1.4 billion users worldwide and directly led to Meta filing a lawsuit against NSO Group. WhatsApp subsequently conducted a deep overhaul of its underlying communication protocol, and the following enhanced features announced by Meta are a continuation of this series of security improvements:
- IP address protection: During calls, users can opt to relay the connection through Meta's servers, preventing their real IP address from being exposed to the other party
- Account security notifications:
Related articles
TutorialsChatGPT Plus Subscription Guide: Are GPT-5.5, image-2, and Codex Worth the Upgrade?
A detailed look at ChatGPT Plus features — GPT-5.5, image-2, and Codex — with a Plus vs Pro comparison and a complete step-by-step subscription guide for users outside the US.
TutorialsHarness AI Engineering in Practice: Using Claude Code to Master Enterprise-Level E-Commerce Development
Deep dive into Harness AI Engineering: master enterprise e-commerce development with Claude Code using the Rules, Skills, Wiki, and Changes framework.
TutorialsCursor + Codex Dual-IDE Collaboration: A Practical Methodology for Open-Source Project Customization
A complete methodology for open-source project customization based on real-world experience, detailing the Cursor+Codex dual-IDE workflow, seven-stage process, MVP validation, and AI source code reading techniques.