Pegasus
- Type
- Spyware
- Capabilities
- ExfiltrationPrivilege escalationDefense evasion
- Delivery
- SmishingSpearphishingLure
- Platforms
- iOS
Pegasus is commercial mobile spyware developed by Israel-based NSO Group and supplied to government intelligence and law-enforcement customers. It enables covert remote surveillance and extraction of personal data from compromised smartphones. Its capabilities include reading plaintext messages, collecting call records and location information, recording audio, and accessing device cameras. Access to communications on the compromised endpoint allows surveillance without defeating their end-to-end encryption.
Pegasus infection methods have included targeted SMS messages containing malicious links and zero-click exploitation requiring no interaction from the victim. The 2016 targeting of Emirati human-rights activist Ahmed Mansoor used the Trident exploit chain, combining remote code execution, information disclosure, and privilege escalation. Subsequent deployments exploited WhatsApp call processing and Apple's iMessage infrastructure. Documented iPhone infection chains include KISMET and FORCEDENTRY; the latter exploited CVE-2021-30860 through automatically processed malicious content. Some WhatsApp attacks could remove call-log evidence to conceal delivery.
Pegasus has been used against journalists, human-rights defenders, lawyers, activists, political opponents, and officials across multiple countries. Confirmed campaigns include repeated infections of El Faro journalists in Central America and at least 30 Thai civil-society members during 2020–2021. Although Pegasus is associated with government surveillance operations, forensic confirmation of infection does not necessarily identify the customer or agency responsible for an individual campaign.
Associated vulnerabilities
12 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
18 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Pegasus gave unrestricted system access for mass surveillance operations and capabilities like reading plain text messages, recording audio, and logging call records.
We forensically confirmed that at least 30 individuals were infected with NSO Group’s Pegasus spyware. The observed infections took place between October 2020 and November 2021.
The spyware, which appears to be NSO’s Pegasus spyware solution, was capable of employing his iPhone’s camera and microphone to eavesdrop on activity in the vicinity of the device.
Poland’s Central Anti-Corruption Bureau (CBA) — which ran the spyware program — “did not have full control over the Pegasus system” that NSO Group operated.
Amnesty documented that Moroccan authorities deployed NSO Group's Pegasus spyware against civil-society figures from 2017 to 2021, using one-click phishing and zero-click compromise vectors.
Pegasus (NSO Group) : Infection confirmée sur l’iPhone d’un militant étudiant ; indicateurs d’infection à haute confiance entre décembre 2025 et janvier 2026, via un exploit zero-click iMessage.
+12 more in the app. View in Mallory
Techniques & procedures
88 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
8 techniques
Reconnaissance
Surveillance emerged as a key tool in gleaning personal information that could be used to those ends. “There’s often a sliver of truth to a large mass of slander, but that sliver of truth is usually something personal and confidential that can only come from surveillance,” he said.
HLR lookup services are used to test whether a phone number of interest is currently on a network... “You would know that the phone is on” – and hence available for hacking.
We also devised a new way to conduct DNS Cache Probing, and used this method to find likely infections, by identifying Internet Service Providers (ISPs) where one or more user was repeatedly looking up domain names associated with Pegasus C&C servers.
This HTTP GET exposed the device’s UserAgent and x-wap-profile fields... The (MMS) UserAgent is a string that typically identifies the OS and device... x-wap-profile points to a UAProf (User Agent Profile) file that describes the capabilities of a mobile handset.
Effectuer un fingerprinting du dispositif cible (OS, réseau, applications installées, statut de roaming)
Effectuer un fingerprinting du dispositif cible (OS, réseau, applications installées, statut de roaming)
From miniaturizing communication systems to planting a surveillance web, Israel’s ploys of strategic intelligence have opened multiple countersurveillance series in domestic and foreign affairs.
Effectuer un fingerprinting du dispositif cible (OS, réseau, applications installées, statut de roaming) via des lookups HLR
Resource Development
10 techniques
Resource Development
No matter how much an attacker thinks they are varying the behavior of their infrastructure, it is likely that there will be some link between operations carried out with shared tooling in multiple contexts.
« White Services » , responsable de l’enregistrement anonyme de domaines, comptes email, serveurs et comptes WhatsApp/iCloud pour chaque client
The logistics of Morocco’s surveillance relied on a middleman to maintain plausible deniability, according to Safir. The former intelligence officer said a private company acted as an intermediary between the DGST and NSO Group in the procurement and administrative management of the spyware.
« White Services » , responsable de l’enregistrement anonyme de domaines, comptes email, serveurs et comptes WhatsApp/iCloud pour chaque client
Former Member of the European Parliament, Stelios Kouloglou, was repeatedly hacked with NSO Group’s Pegasus spyware while on the committee investigating Pegasus spyware abuses.
Additionally, adversaries may compromise numerous machines to form a botnet they can leverage.
“We also caught them creating test accounts and groups on WhatsApp, which we took down.”
Epeius è uno spyware che può essere installato sugli smartphone e i dispositivi di una persona
The trade in these exploits already fuels a poorly regulated and opaque marketplace of researchers, vendors, and clients, including the mercenary spyware firms mentioned above.
evidence shows that governments have widely abused these systems to target journalists, human rights advocates, lawyers, dissidents, and political opposition, both domestically and abroad.
Initial Access
9 techniques
Initial Access
If chained with a browser renderer exploit, this bug could fully compromise a device through a malicious website.
„Нашата анализа потврди дека е искористена zero-click експлоатација преку iMessage за да се инфицира уредот со шпионскиот софтвер Pegasus на NSO Group“
Foreign journalists who have covered the plight of Moroccan journalists have also been selected as targets and in some cases their phones were successfully infected. The phone of Edwy Plenel... was compromised in the summer of 2019.
Level 10 involves a government partnering with or coercing a service provider to provide information; examples include providers assisting state-run data collection from mobile-phone networks.
SMS from +447797801009: United Nations launches online portal for the independence of Kashmir. To cast your online vote click here https://bit[.]ly/2o487h1
„Се проценува дека zero-click експлоатацијата користена во нападот го таргетирала Apple iMessage“
Amnesty documented the use of sophisticated attack vectors, ranging from “one-click” phishing links requiring user interaction to advanced “zero-click” exploits.
Three Android phones showed signs of targeting, such as Pegasus-linked SMS messages.
The zero-click attack ... “worked by placing a fake WhatsApp phone call to the target”
Execution
6 techniques
Execution
These tools allow the user to track someone’s whereabouts, listen in on their conversations, read their texts and emails, look at their photographs, steal their contacts list, download their data, review their internet search history and more.
The agent loads uglmt.dat as a dex file using DexClassLoader and then calls the “com.media.provapp.DrivenObjClass.perfU” method
Amnesty documented ... advanced “zero-click” exploits capable of compromising devices without any action from the target.
Cette fonctionnalité de sécurité bloque la plupart des pièces jointes aux messages et des aperçus de liens... N’ouvrez pas les liens ni les pièces jointes contenus dans les e-mails ou les SMS provenant d’expéditeurs inconnus.
November 14, 2019 Facebook confirms that “sending a specifically crafted MP4 [video] file to a WhatsApp user,” is a method for installing malicious spyware; exactly as was sent to Mr. Bezos.
From a technical perspective, such spyware campaigns often rely on zero-click exploits, baseband vulnerabilities, or malicious configuration profiles to gain persistent access to mobile systems.
Persistence
1 technique
Persistence
It retrieves the file permissions of “/data/data/com.android.mms/shared_prefs/com.android.mms_preferences.xml” and changes them using the chmod command... permissions are set to read & write (0666).
Privilege Escalation
3 techniques
Privilege Escalation
The libk binary found in the “/res/raw” directory is copied to a new file called “/data/local/tmp/libuml.so”. The shared object is injected (using the addk binary) in the keyboard process identified above...
CVE-2019-2215, which is a use-after-free in Binder in the Android kernel. The bug is a local privilege escalation vulnerability that allows for a full compromise of a vulnerable device.
When an iPhone is compromised, it’s done in such a way that allows the attacker to obtain so-called root privileges, or administrative privileges, on the device.
Stealth
14 techniques
Stealth
Stealth - техники уровня Rootkit (T1014) для сокрытия артефактов ниже уровня ОС.
Attendees will learn about Pegasus’s use of 0-days, obfuscation, encryption, function hooking, and its ability to go unnoticed.
The phone logs of Ghassan Halaika record that a binary was stored at /private/var/db/com.apple.xpc.roleaccountd.staging/smmsgingd , and that a process with the name smmsgingd ran on the phone... There is no legitimate iOS process with the name smmsgingd
Скрытность T1036.008 Masquerade File Type / T1027 Obfuscated Files or Information (Defense Evasion) PSD/PDF маскируются под .gif
The libk binary found in the “/res/raw” directory is copied to a new file called “/data/local/tmp/libuml.so”. The shared object is injected (using the addk binary) in the keyboard process identified above...
The URL containing “rU8IPXbn” is deleted from the Browser history by calling the Browser.deleteFromHistory function.
After successfully upgrading the agent, the following files are deleted by calling the File.delete function: /data/data/com.network.android/upgrade/uglmt.dat ...
The SharedPreferences.Editor.clear function is utilized to remove the following preference files containing configuration data: “NetworkPreferences”, “NetworkWindowAddresess”, and “NetworkDataList”.
Apple также сделала BlastDoor - механизм изоляции и валидации недоверенного контента в сообщениях до его попадания в чувствительные части системы. Это повышает стоимость разработки reliable spyware для iPhone.
One of Pegasus’ features that impressed the researchers the most is the malware’s ability to stay hidden... it’s all about not being detected, [it’s] designed for stealth and to be invisible.
The Pegasus Installation Server examines various characteristics of the request, including the target’s device’s User-Agent header, to determine if the target’s device is supported for infection.
Stalkerware скрывает иконку из launcher (T1564.001, Hidden Files and Directories), но остаётся видимым в Settings -> Apps -> Show all apps и в выводе adb shell pm list packages -3
From a technical perspective, such spyware campaigns often rely on zero-click exploits, baseband vulnerabilities, or malicious configuration profiles to gain persistent access to mobile systems.
We successfully disrupted NSO-linked social engineering attempts... The attempts weren’t subtle: classic spear phishing, luring targets away from the encrypted environment into attacker-controlled territory outside the app’s protections.
Defense Impairment
3 techniques
Defense Impairment
The database files storing the Facebook messages are made accessible to everyone by running the following commands: chmod 0777 /data/data/com.facebook.katana ...
It retrieves the file permissions of “/data/data/com.android.mms/shared_prefs/com.android.mms_preferences.xml” and changes them using the chmod command... permissions are set to read & write (0666).
the surreptitious software also prevents iOS updates once it has found a home on an iPhone.
Credential Access
11 techniques
Credential Access
both countries using surveillance software developed by firms like NSO Group, an Israeli cyber-intelligence firm widely known for creating Pegasus, a tool capable of remotely accessing smartphones
The government deployed ... Pegasus spyware to target civil society figures both domestically and abroad in what Amnesty described as “unlawful surveillance attacks.”
The shared object is injected (using the addk binary) in the keyboard process identified above and will be responsible for the keylogging activity... The captured keystrokes will be stored in a file called “/data/local/tmp/ktmu/ulmndd.tmp”.
Pegasus is a so-called zero-click hacking tool that can invade a target’s mobile phone and extract messages, photos, contacts, messages and video recordings.
The men said their software was capable of listening to calls and downloading WhatsApp messages.
What if the thing you exfiltrate could be really small, like passwords, login cookies, two-factor codes, or tokens to access the victim’s online services?... QuaDream offering a solution to steal passwords and two-factor login codes from devices, and NSO reportedly offering something similar.
Exfiltrer appels, messages, emails, photos, fichiers, credentials, et données cloud
access the victim’s passwords
It retrieves the file permissions of “/data/data/com.android.mms/shared_prefs/com.android.mms_preferences.xml” and changes them using the chmod command... permissions are set to read & write (0666).
The category is intended to identify hacking techniques authorized for real-time communications interception.
From a technical perspective, such spyware campaigns often rely on zero-click exploits, baseband vulnerabilities, or malicious configuration profiles to gain persistent access to mobile systems.
Discovery
8 techniques
Discovery
both countries using surveillance software developed by firms like NSO Group, an Israeli cyber-intelligence firm widely known for creating Pegasus, a tool capable of remotely accessing smartphones
The agent obtains a list of application processes running on the device via a call to getRunningAppProcesses.
The application extracts the Android version string from the “Build.VERSION.RELEASE” property.
The FORCEDENTRY exploit was delivered to the Saudi activist’s phone in 31 iMessage attachments sent from the iMessage account [EMAIL ADDRESS 1], based on an analysis of the activist’s phone logs, including their com.apple.identityservices.idstatuscache.plist file.
One of Pegasus’ features that impressed the researchers the most is the malware’s ability to stay hidden... it’s all about not being detected, [it’s] designed for stealth and to be invisible.
The Pegasus Installation Server examines various characteristics of the request, including the target’s device’s User-Agent header, to determine if the target’s device is supported for infection.
Targeted Applications 1. Facebook ... 2. Kakao ... 3. Skype ... 4. Twitter ... 5. Viber ... 6. WhatsApp ... 7. Gmail ... 8. Android Native Email ... 9. Android Native Browser ... 10. Default Calendar
Pegasus also facilitates access to cloud services—including those based in the United States, such as iCloud, Google Drive, and Facebook Messenger—allowing access to documents and photographs stored on those cloud servers unbeknownst to the phone’s user.
Lateral Movement
1 technique
Lateral Movement
The first phase of the exploit involves the HomeKit functionality built into iPhones (via the homed process), and the second phase of the exploit involves iMessage (via the MessagesBlastDoorService process).
Collection
11 techniques
Collection
“their personal data was accessed and stolen.”
The government deployed ... Pegasus spyware to target civil society figures both domestically and abroad in what Amnesty described as “unlawful surveillance attacks.”
The shared object is injected (using the addk binary) in the keyboard process identified above and will be responsible for the keylogging activity... The captured keystrokes will be stored in a file called “/data/local/tmp/ktmu/ulmndd.tmp”.
“Spyware is noted for its ability to access everything on a device, record screens or take over its microphone.”
Pegasus, uses malicious links in misleading text messages to infiltrate cellphones to monitor emails, contacts and text messages.
NSO Group has not taken adequate action to stop the use of its tools for unlawful targeted surveillance of activists and journalists, despite the fact that it either knew, or arguably ought to have known, that this was taking place.
Pegasus "has the ability to covertly enable the phone’s microphone and camera."
Pegasus "has the ability to covertly enable the phone’s microphone and camera."
From within your pocket, it instantly betrays your secrets and delivers your private conversations, your personal photos, nearly everything about you.
The category is intended to identify hacking techniques authorized for real-time communications interception.
The captured PNG images are compressed to JPG and saved as “ScreenShot-res<Integer>-<Current Time in seconds>.jpg”
Command and Control
10 techniques
Command and Control
The agent constructs the following URL that contains the C2 server, which can be extracted from the initial configuration or a command sent via SMS... The malware adds “SessionId1” and “SessionId2” to the HTTP headers... The HTTP response should be an XML file containing at least the following fields: “response”, “code”, and “message”. | 1. HTTP Communication... The agent constructs the following URL that contains the C2 server... The malware creates an XmlSerializer object that will be encrypted using the AES algorithm and then sent to a C2 server via HTTP.
Moroccan intelligence agents utilized a private intermediary firm to contract with NSO Group ... This arrangement was designed to shield the state from leaving a paper trail directly linking it to NSO Group or the spyware.
This network included proxy servers and relay servers (collectively, “malicious servers”).
As we tried to activate the infection by opening the link from a contained environment, we were instead redirected to a legitimate Saudi Arabian news site, The New Khalij, which indicates a failed attempt at activating any malicious behavior.
The process creates a file called “/data/data/com.network.android/upgrade/uglmt.dat” that will store the upgraded application that is downloaded from the C2 server.
Officials discussed whether and how the technology could support criminal investigations, and a May 2021 document proposed guidelines for possible use while referencing specific criminal matters where personnel believed the tool might apply.
The move to CloudFront also protects NSO somewhat from researchers or other third parties trying to unearth the company’s infrastructure. “The use of cloud services protects NSO Group from some Internet scanning techniques,” Amnesty’s report added.
During the SolarWinds supply chain attack, the trojan employed domain generation algorithms (DGA) to exfiltrate the identities of target machines with subdomains.
SessionId2 = c, which is the AES key used to encrypt the files exfiltrated to the C2 server... b – AES key that is used to encrypt the SessionId1 and SessionId2 fields a – AES IV that is used during the encryption of the SessionId1 and SessionId2 fields.
As in the case of the iOS version, the package can receive commands in SMS messages that are disguised as Google authentication codes... The command structure is “text:[6 digits][Command number]a=[Ack ID]&[Command Arguments]&s=<Message Signature>”.
Exfiltration
3 techniques
Exfiltration
"Data was extracted from both phones."
These tools allow the user to ... steal their contacts list, download their data, review their internet search history and more.
The Android version performs similar spying functionality as Pegasus for iOS, including... Remote control of the malware via SMS
Observables
471 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.