Habr•October 25, 2026•🇷🇺Translated from Russian

Apple iOS Security Architecture: From Power Button to App Launch in Modern Devices

The security model of modern Apple mobile devices has evolved far beyond a single secret key stored somewhere in hardware. Instead, an iPhone functions as a complex state machine that validates the legitimacy of each subsequent system component before handing over control.

The process begins with BootROM, a small immutable code segment burned into the SoC at manufacturing time. Because it cannot be updated, vulnerabilities such as checkm8 proved especially damaging: once discovered, they could not be patched on existing devices. BootROM serves as the root of trust by cryptographically verifying that the next stage is signed by Apple.

Control then passes to iBoot, which continues the chain by validating the kernel image and managing recovery scenarios. Importantly, Secure Boot only confirms that the loaded code was authorized by Apple; it does not prove the code is free of bugs. This distinction explains why most jailbreaks historically targeted flaws inside already-trusted components rather than attempting to forge signatures.

After iBoot succeeds, the XNU kernel initializes memory management, drivers, the sandbox, and user-space services. At this point the device is running but remains far from fully unlocked. Significant user data stays cryptographically inaccessible until the Secure Enclave participates.

The Secure Enclave operates as a separate co-processor with its own boot chain, memory, and hardware keys. It handles passcode verification by combining the user-supplied PIN with device-specific secrets. This binding prevents attackers from simply copying flash storage and brute-forcing the password on external hardware, because rate-limiting and attempt counters are enforced inside the enclave itself.

Data on the device is organized into protection classes whose availability depends on the current state. Terms such as BFU (Before First Unlock) and AFU (After First Unlock) reflect that a powered-on iPhone can behave like two different machines depending on whether the user has authenticated since the last reboot.

Even after the kernel gains access to decrypted files, applications remain constrained by code signatures, entitlements, and sandbox profiles. A compromise that reaches kernel memory does not automatically grant access to the Secure Enclave or every data class. Pointer Authentication (PAC) further raises the bar by requiring cryptographic validation of certain pointers, turning classic memory-corruption techniques into multi-step bypass efforts.

The cumulative result is a defense-in-depth model where each boundary must be crossed individually. Reaching a fully functional jailbreak or forensic extraction now demands a carefully assembled chain of vulnerabilities rather than a single early-stage flaw.

Related articles

Habr•Vulnerabilities & Exploits

Security Week 2644: Active Exploitation of PHP2Shell Vulnerabilities Confirmed

PHP developers released patches for two critical vulnerabilities collectively known as PHP2Shell on October 20, affecting PHP 8.2 through 8.5 as well as older branches. The flaws allow unauthenticated remote code execution on affected servers, which power approximately 70 percent of websites. Despite expectations of immediate exploitation, confirmed attacks with working exploits only began on October 25. CrowdStrike noted technical difficulties in weaponizing the issues in real-world environments. Only one-fifth of top Russian websites had applied the fixes by October 25. Additional incidents included compromised eMudhra certificates, a critical GitLab flaw, and a 16-year-old Broadcom router vulnerability.

AntiMalware•Vulnerabilities & Exploits

Positive Technologies Offers Up to 500,000 Rubles for Bypassing PT Application Firewall

Positive Technologies has expanded its Standoff Bug Bounty program to include rewards for bypassing its web application firewalls. Researchers can earn between 150,000 and 500,000 rubles for demonstrating practical bypasses against PT Application Firewall PRO and PT Application Firewall Cloud. The program targets the core protective mechanisms, including traffic filtering, attack detection rules, and the management layer used by administrators. Submissions must include reproducible attack scenarios that show how malicious requests can pass through undetected, rather than relying on scanner reports or theoretical findings. Reward amounts vary by severity and confirmed business impact, with critical issues in the PRO version paying up to 500,000 rubles. The company plans to use validated findings to strengthen detection rules and improve overall product resilience.

AntiMalware•Vulnerabilities & Exploits

Tailscale SSH Vulnerability Allows Root Access via Unix Socket Redirection

A researcher identified flaws in Tailscale that let an attacker with existing SSH access on one node escalate to root privileges and move laterally across the network. Erica Windisch of Cyberdione Labs demonstrated the issues in lab conditions against Tailscale 1.104.2 and Headscale 0.29.5. The core problem stems from privileged operations performed by the tailscaled process when handling Unix socket redirection, granting an ordinary SSH session access to root-only resources. The researcher used the technique to interact with Docker and run elevated commands, and showed that broad access policies allow automated lateral movement in under a second. Additional issues include denial-of-service conditions and bypasses of certain restrictions. Recommendations include reviewing SSH policies and disabling unnecessary socket redirection, noting that Headscale 0.29.5 lacks an independent way to turn the feature off.

Security NEXT•Vulnerabilities & Exploits

Critical CVE-2026-111497 Out-of-Bounds Write Flaw in Google Brotli Decoder Impacts Broad Range of Environments

A severe vulnerability has been identified in the Google-developed Brotli decoder used for decompressing data in web communications and other applications. The flaw, tracked as CVE-2026-111497, allows out-of-bounds writes when processing specially crafted compressed data, potentially enabling arbitrary code execution, information disclosure, or denial of service. It carries a CVSS v4.0 base score of 9.2 and is rated Critical. Google has released patched versions 1.2.1, 1.1.1, and 1.0.10 of the library. Node.js incorporated the fix in its updates, while Microsoft issued an out-of-band patch for .NET on October 25, 2026, to address the issue. The vulnerability affects any environment relying on the Brotli C implementation for data decompression.