-
Q: Where did the vulnerable WebP code originate before being included in ImageIO?A: The vulnerable WebP code originated from Google, where it was released as open source for lossless image compression. Apple included this code into ImageIO on iOS devices. Christopher Crowley noted that having open source code embedded inside a closed source entity provides a significant angle for exploit development and finding potential memory manipulation opportunities. This integration created an attack surface where known algorithms could be analyzed to find novel flaws like the Huffman table overflow.
-
Q: Which specific iOS version introduced the Blastdoor service to protect against tainted data?A: The Blastdoor service was introduced in iOS 14 as a tainted data processor intended to deal with SMS messages and protect the attack surface on mobile devices. It severely limits processing done on data sent over SMS or iMessage as ingested to the phone, serving as a protective measure against zero-click exploits targeting messaging vectors. This capability was added by Apple in response to previous zero-click exploits to restrict how untrusted data is handled within the operating system sandbox.
-
Q: How did Ben Hawkes construct the invalid Huffman table in his WebP proof of concept?A: Ben Hawkes constructed the proof of concept by building four tables to fill the space allocated for five tables, allowing the fifth table to be an invalid table that caused an out-of-bounds write. This method consumed the allocated memory prematurely, enabling the creation of an invalid table within the constraints of the Huffman table math. The resulting memory corruption allowed the exploit to manipulate the buffer overflow vulnerability patched in CVE-2023-41064 without triggering standard validation checks during the initial allocation phase.
-
Q: What specific credit did Apple assign for CVE-2023-41061 regarding the PassKit validation issue?A: Apple assigned the credit for CVE-2023-41061 to themselves rather than external researchers. The update announcement for iOS 16.6.1 stated that a validation issue was addressed with improved input validation within the Apple Wallet or PassKit component, distinguishing it from the ImageIO flaw credited to Citizen Lab. This internal credit assignment highlights the specific nature of the PassKit vulnerability found during the investigation into the BLASTPASS exploit chain.
-
Q: What distinction exists between the attribution evidence for FORCEDENTRY versus BLASTPASS?A: FORCEDENTRY attribution included specific forensic discrepancies in database tables like ZPROCESS and ZLIVEUSAGE, whereas BLASTPASS attribution relied primarily on the presence of Pegasus spyware without detailed technical corroboration released publicly. Christopher Crowley noted that Citizen Lab provided no response when requested for further details on the 2023 attribution. This difference suggests a shift in how technical evidence is shared or available between the two campaigns attributed to NSO Group over time.
-
Q: What defines a zero-click zero-day exploit in the context of this presentation?A: A zero-click zero-day exploit is defined as an attack where no user interaction is required to trigger the vulnerability, and there is no available patch at the time of exploitation. In the context of BLASTPASS, this means the attacker can compromise an iOS device remotely without the victim clicking a link or opening a file. The presentation highlights that these exploits are dangerous because they allow threat actors like NSO Group to install spyware such as Pegasus silently. This contrasts with standard vulnerabilities that might require user action or have existing mitigations available through security updates.
-
Q: How does Blastdoor mitigate brute-force attempts against ASLR during an exploit attempt?A: Blastdoor is a tainted data processor introduced in iOS 14 designed to limit processing on data sent over SMS or iMessage. To mitigate brute-force attempts against Address Space Layout Randomization (ASLR), Blastdoor employs a specific restart mechanism. If the service crashes during an exploit attempt, every time it restarts, it doubles the startup time and delay. This progressive slowing makes it increasingly difficult for attackers to brute-force the protection, effectively hardening the sandbox environment against repeated exploitation attempts targeting memory corruption vulnerabilities within the protected process.
-
Q: What hypothesis did Ben Hawkes form regarding the relationship between BLASTPASS and CVE-2023-4863?A: Ben Hawkes hypothesized that the BLASTPASS vulnerability and CVE-2023-4863 are likely the same bug. This assessment was based on the sequencing of information regarding updates, where Apple notified Google of a WebP flaw shortly before patches were released. The vulnerability involves a buffer overflow in ImageIO related to WebP lossless encoding using Huffman tables. Hawkes noted that while he could not initially create an invalid table due to fixed size allocations, the patch details suggested the exploit shifted the Huffman table pointer past allocated space, confirming the link between the iOS exploit and the Chrome bug.
-
Q: Can Apple's Lockdown Mode prevent the BLASTPASS zero-click attack?A: Yes, Apple confirmed that enabling Lockdown Mode would have prevented the BLASTPASS exploit from succeeding. Citizen Lab initially speculated this defense would be effective, and Apple later validated it as a mitigation for this specific attack chain. Lockdown Mode restricts certain high-risk features and processing capabilities on the device, effectively blocking the vectors used by the PassKit and ImageIO vulnerabilities to execute the zero-click payload. Christopher Crowley advises that individuals with high exposure or those concerned about targeted surveillance should utilize Lockdown Mode to harden their devices against such sophisticated nation-state level threats.
-
Q: What is the specific technical mechanism behind the WebP vulnerability in CVE-2023-41064?A: The vulnerability stems from a logic flaw in the VP8L lossless compression algorithm used by WebP, which Apple integrated into ImageIO. The exploit targets the Huffman table construction process, where the code calculates memory allocation based on fixed-size assumptions for frequency analysis tables. An attacker crafts a malicious image that forces the algorithm to allocate space for five tables but consumes all available memory with four valid tables. This leaves no allocated space for the fifth table, causing an out-of-bounds write when the algorithm attempts to create it. This invalid table generation results in memory corruption, allowing the attacker to overwrite adjacent memory structures and execute arbitrary code.
-
Q: How do attackers overcome Pointer Authentication Code (PAC) protections during an iOS exploit?A: Pointer Authentication Code (PAC), introduced in ARMv8.3, is a hardware-based defense that cryptographically signs return addresses to prevent Return Oriented Programming (ROP) and Jump Oriented Programming (JOP). To bypass PAC, attackers must develop complex memory primitives that allow them to generate valid authentication signatures for unauthorized code paths. Christopher Crowley notes that while PAC is a robust hardware capability, implementation by developers can be slow or incomplete. In the context of zero-click exploits like BLASTPASS, attackers likely leverage specific interprocess communication (IPC) channels or sandbox escape techniques to manipulate memory in ways that satisfy PAC validation checks, effectively neutralizing this protection layer during the exploitation phase.
-
Q: What is the role of the Blastdoor service and how does BLASTPASS bypass it?A: Blastdoor is a "tainted data" processor implemented in iOS 14 to protect against zero-click attacks by strictly sandboxing the processing of untrusted content from messaging apps like iMessage. It ingests messages, parses attachments, and isolates them before they can interact with the rest of the OS. The BLASTPASS attack bypasses this by exploiting CVE-2023-41061 in PassKit. By sending a specially crafted message that triggers the PassKit framework to process wallet-related data, the attacker forces the system to move the malicious payload out of the Blastdoor-protected segment and into the PassKit context. This sandbox escape allows the subsequent ImageIO buffer overflow to execute outside the restrictive environment intended to contain such threats.
-
Q: How did Citizen Lab attribute the BLASTPASS exploit to NSO Group?A: Citizen Lab attributed the BLASTPASS attack to NSO Group primarily based on the presence of the Pegasus spyware implant on the victim's device following the initial compromise. Unlike their 2021 FORCEDENTRY analysis, where they identified specific forensic artifacts like incomplete table deletions in SQLite databases or unique process names like "setframed," the BLASTPASS attribution lacked detailed technical corroboration in their initial report. Christopher Crowley notes that Citizen Lab withheld specific details as an OPSEC maneuver to aid victim discovery and relied on their historical tracking of NSO tradecraft. The assessment rests on the observation that Pegasus was installed post-exploitation, a pattern consistent with NSO's known operations.
-
Q: How does the BLASTPASS exploit chain leverage PassKit and ImageIO to achieve remote code execution?A: The BLASTPASS exploit chain initiates via a zero-click mechanism where a malicious iMessage is processed without user interaction. It first exploits CVE-2023-41061, a validation issue in the PassKit framework used for managing digital passes like movie tickets. This flaw allows the attacker to bypass the Blastdoor service, a tainted data processor introduced in iOS 14 designed to sandbox untrusted content from SMS and iMessage. Once the data escapes the Blastdoor environment into the PassKit context, it triggers CVE-2023-41064, a buffer overflow vulnerability within the ImageIO framework. This memory corruption is specifically caused by a flaw in the WebP lossless image decoding logic involving Huffman table construction, ultimately enabling code execution on the target device.
Ask a question
Have a doubt or need clarification?
Share your question, and I’ll add it and the response to the page for this document.
Thank you!
I have received your message and I shall get back to you shortly.