Exploiting Apple SoC Hardware Feature: The Intricate Attacks on Kaspersky Employees’ iPhones

A hardware feature present in an Apple system-on-a-chip (SoC) was recently exploited in a series of attacks targeting the iPhones of Kaspersky senior employees. These attacks successfully bypassed Apple’s protections and installed sophisticated spyware on the compromised devices, raising concerns about the vulnerabilities in the iOS ecosystem.

Exploitation of iOS Zero-Day Vulnerabilities

In a highly coordinated campaign, the attackers exploited multiple iOS zero-day vulnerabilities. Their main objective was to execute arbitrary code and install spyware on the targeted iPhones. These zero-day vulnerabilities, which were previously unknown and had no available patches, allowed the attackers to gain unauthorized access to the devices.

Introduction to TriangleDB Spyware Implant

The spyware implant used in these attacks, dubbed TriangleDB, was specifically designed to remain stealthy and undetectable. Its infection chain involved a series of checks and log-erasing actions, making it challenging to identify and remove the malware. TriangleDB effectively flew under the radar, enabling the attackers to maintain persistent access to the compromised iPhones.

Apple’s Response and Patch Deployment

Responding swiftly, Apple released patches to address three of the exploited vulnerabilities in June and July. Importantly, Apple stated that these vulnerabilities were only exploitable on iOS versions before iOS 15.7. While this brought some relief, it also highlighted the critical need for users to keep their devices updated with the latest security patches.

Details of the Attack Methodology

The initial attack vector involved the delivery of malicious iMessage attachments. These attachments contained a remote code execution (RCE) zero-day exploit that enabled the deployment of TriangleDB without any user interaction. The attackers leveraged the flaw to discreetly infiltrate the targeted iPhones.

Exploitation of Additional Zero-Day Flaws

In addition to the RCE zero-day, two other zero-day vulnerabilities were exploited in the infection chain. One of these vulnerabilities resided in the Apple-only ADJUST TrueType font instruction, paving the way for the attackers to bypass hardware-based security protections. The other zero-day flaw, CVE-2023-38606, held particular interest due to its exploitation of hardware memory-mapped I/O (MMIO) registers.

Focus on CVE-2023-38606

CVE-2023-38606 allowed attackers to exploit JavaScript and utilize hardware MMIO registers to bypass the Page Protection Layer (PPL), a crucial security measure. Importantly, the MMIO registers used in the attack did not belong to the known MMIO ranges of peripheral devices in Apple products, as defined and stored in the DeviceTree file format. This raised questions about the purpose and origin of this unknown hardware feature.

Identification of the MMIO Registers’ Origin

Further analysis by Kaspersky revealed that the targeted MMIO registers belonged to the GPU coprocessor. By abusing these registers, the attackers gained the ability to write to memory, bypass existing security protections, and achieve remote code execution (RCE). The involvement of the GPU coprocessor added an intriguing layer of sophistication to the attack.

Abusing the GPU Coprocessor to Achieve Remote Code Execution (RCE)

Exploiting the GPU coprocessor’s registers allowed the attackers to execute code and manipulate memory, providing them with a pathway to take control of the compromised iPhones. By leveraging this previously unknown hardware feature, the attackers bypassed Apple’s defenses and successfully achieved their objective of installing TriangleDB and carrying out reconnaissance on the targeted victims.

Unanswered Questions Regarding the Unknown Hardware Feature

The discovery of this unknown hardware feature raises numerous unanswered questions. Its purpose, origin, and potential implications remain poorly understood. This abnormal vulnerability has prompted further investigation by security researchers and Apple to comprehend its inner workings and determine the necessary remediation measures.

The sophisticated attacks targeting Kaspersky senior employees’ iPhones revealed the abuse of a hardware feature inherent in Apple’s SoC. By exploiting multiple iOS zero-day vulnerabilities and utilizing the GPU coprocessor’s registers, the attackers successfully bypassed protections, installed spyware, and gained control over the compromised devices. This incident underscores the importance of continuous vigilance and regularly updating devices with security patches to mitigate the risks posed by emerging threats in the ever-evolving landscape of mobile security.

Explore more

What If Data Engineers Stopped Fighting Fires?

The global push toward artificial intelligence has placed an unprecedented demand on the architects of modern data infrastructure, yet a silent crisis of inefficiency often traps these crucial experts in a relentless cycle of reactive problem-solving. Data engineers, the individuals tasked with building and maintaining the digital pipelines that fuel every major business initiative, are increasingly bogged down by the

What Is Shaping the Future of Data Engineering?

Beyond the Pipeline: Data Engineering’s Strategic Evolution Data engineering has quietly evolved from a back-office function focused on building simple data pipelines into the strategic backbone of the modern enterprise. Once defined by Extract, Transform, Load (ETL) jobs that moved data into rigid warehouses, the field is now at the epicenter of innovation, powering everything from real-time analytics and AI-driven

Trend Analysis: Agentic AI Infrastructure

From dazzling demonstrations of autonomous task completion to the ambitious roadmaps of enterprise software, Agentic AI promises a fundamental revolution in how humans interact with technology. This wave of innovation, however, is revealing a critical vulnerability hidden beneath the surface of sophisticated models and clever prompt design: the data infrastructure that powers these autonomous systems. An emerging trend is now

Embedded Finance and BaaS – Review

The checkout button on a favorite shopping app and the instant payment to a gig worker are no longer simple transactions; they are the visible endpoints of a profound architectural shift remaking the financial industry from the inside out. The rise of Embedded Finance and Banking-as-a-Service (BaaS) represents a significant advancement in the financial services sector. This review will explore

Trend Analysis: Embedded Finance

Financial services are quietly dissolving into the digital fabric of everyday life, becoming an invisible yet essential component of non-financial applications from ride-sharing platforms to retail loyalty programs. This integration represents far more than a simple convenience; it is a fundamental re-architecting of the financial industry. At its core, this shift is transforming bank balance sheets from static pools of