Trident and Pegasus: How iPhone Spyware Chains Work and How to Defend

Trident was a chain of three iOS zero-day vulnerabilities used in 2016 to install NSO Group's Pegasus spyware on iPhones. CVE-2016-4657 was a WebKit memory corruption flaw that gave code execution when a malicious page loaded, CVE-2016-4655 leaked kernel memory to defeat address randomisation, and CVE-2016-4656 corrupted kernel memory to take full control.

May 26, 2025 - 12:44
Updated: 
113.5k

Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Explainer

Trident and Pegasus: How iPhone Spyware Chains Work and How to Defend

Quick answer: Trident was a chain of three iOS zero-day vulnerabilities used in 2016 to install NSO Group's Pegasus spyware on iPhones. CVE-2016-4657 was a WebKit memory corruption flaw that gave code execution when a malicious page loaded, CVE-2016-4655 leaked kernel memory to defeat address randomisation, and CVE-2016-4656 corrupted kernel memory to take full control. Citizen Lab and Lookout found it after a targeted activist received suspicious links, and Apple fixed all three in iOS 9.3.5 on 25 August 2016. Trident needed one tap, so it was one-click. Later Pegasus exploits such as FORCEDENTRY needed no tap at all. Updates and Lockdown Mode are the main defences.

Key takeaways

  • Trident chained three flaws: browser, kernel information leak, kernel corruption.
  • Apple patched them in iOS 9.3.5 on 25 August 2016.
  • Trident required a click; FORCEDENTRY in 2021 was zero-click.
  • Prompt updates close known chains; Lockdown Mode reduces attack surface.
  • Mercenary spyware targets specific people, but anyone can apply the defences.

Table of Contents

What Was Trident?

Trident is the name researchers gave to the exploit chain. Pegasus was the spyware it installed, able to read messages, record calls, track location and collect data from apps. Apple's iOS 9.3.5 advisory credits Citizen Lab and Lookout for the reports.

How Did the Three Vulnerabilities Work Together?

CVEComponentRole in the chain
CVE-2016-4657WebKitMemory corruption gave code execution from a web page
CVE-2016-4655KernelInformation leak revealed kernel memory layout
CVE-2016-4656KernelMemory corruption allowed kernel-level control and jailbreak

Each flaw alone was limited. Together they took a device from a single tapped link to full compromise. CISA's KEV catalogue lists CVE-2016-4657 as known exploited.

How Was Trident Discovered?

In August 2016 a human rights defender in the UAE received SMS messages promising secrets about detainees, with a link. He had been targeted with surveillance tools before, so he was suspicious, and he sent the messages to Citizen Lab instead of tapping. Researchers opened the link on a test iPhone in a controlled lab and watched it silently jailbreak the device and install surveillance software. That careful choice by one person exposed an exploit chain that had likely been sold for a high price and used against others. Citizen Lab and Lookout analysed the chain and reported it to Apple, which released a fix within about ten days. The story is told in Citizen Lab's Million Dollar Dissident report.

How Do Zero-Click Attacks Differ?

AttackYearUser actionFixed in
Trident2016Tap a linkiOS 9.3.5
FORCEDENTRY, CVE-2021-308602021None; arrived via iMessageiOS 14.8

Zero-click exploits target code that processes data automatically, such as message previews and image parsing. Citizen Lab's FORCEDENTRY report showed how this bypassed Apple's BlastDoor sandbox.

How Can iPhone Users Defend Themselves?

  • Install iOS updates promptly and turn on automatic updates.
  • Restart your phone regularly; some spyware does not survive a reboot.
  • If you are a journalist, activist, lawyer or official, enable Lockdown Mode in Settings, Privacy and Security.
  • Take Apple threat notifications seriously and seek expert help.
  • Avoid tapping unexpected links, even from known contacts.

Our guide to spyware attacks and prevention covers other platforms.

What Should Organisations Do?

Enforce minimum iOS versions through mobile device management, offer Lockdown Mode guidance for high-risk staff, and have an incident plan that includes forensic support. In India, report significant incidents to CERT-In within 6 hours. Any testing of mobile devices requires written authorisation under the IT Act 2000, Sections 43 and 66.

What Lessons Does Trident Teach?

Exploit chains combine several smaller bugs, so patching any link breaks the chain. Responsible disclosure works: a cautious target, researchers and a vendor fixed Trident quickly. Platform choice matters less than update speed, as our operating system security comparison notes. To learn mobile security defence, explore our ethical hacking training.

References

Frequently Asked Questions

Trident was a chain of three iOS zero-day vulnerabilities used in 2016 to install NSO Group’s Pegasus spyware on targeted iPhones.

CVE-2016-4657 in WebKit, plus kernel flaws CVE-2016-4655 for information disclosure and CVE-2016-4656 for memory corruption.

Apple fixed all three vulnerabilities in iOS 9.3.5, released on 25 August 2016, crediting Citizen Lab and Lookout.

No. The target had to tap a link. Later Pegasus exploits such as FORCEDENTRY in 2021 required no interaction.

It is an optional Apple setting for people at high risk that disables many features attackers exploit, such as some message attachments.

Mercenary spyware is costly and usually aimed at specific people, but updating promptly protects everyone against known exploit chains.

Signs are rarely visible. Apple sends threat notifications to suspected targets, and specialist organisations can perform forensic checks.

Studying public reports is fine, but testing devices without written authorisation is an offence under IT Act 2000 Sections 43 and 66.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.