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

Critical PHP Vulnerabilities CVE-2026-109618 and CVE-2026-109619 Enable Unauthenticated Remote Code Execution

Two critical vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619, both scoring CVSS 9.2, were disclosed on October 21. The flaws allow attackers to execute arbitrary code without authentication by triggering out-of-memory conditions that lead to use-after-free memory corruption. Exploitation involves specially crafted requests that manipulate uninitialized arrays and function pointers, with full chains demonstrated via PHP_SESSION_UPLOAD_PROGRESS and fatal error backtraces. The issues affect PHP versions starting from 5.4 and were discovered using AI tools Gemini 4 Argon and GPT-5.6 Sol, resulting in a patch exceeding 10,000 lines of code. Amazon detected attacks as early as October 17, with Cloudflare later reporting millions of exploitation attempts. Mitigation requires updating to patched versions such as PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12, while temporary workarounds include disabling session upload progress and fatal error backtraces.

AntiMalware•Vulnerabilities & Exploits

Trend Micro ZDI Reports on Critical Linux KSMBD Vulnerabilities Leak to Public Mailing Lists Before Patches

Trend Micro Zero Day Initiative inadvertently published detailed vulnerability reports for the Linux kernel's KSMBD component into public mailing lists. Two flaws received CVSS scores of 9.0, enabling remote code execution under specific conditions. One issue involves a race condition during parallel SMB request handling, while the second stems from an incorrect buffer size calculation in the SMB Direct mechanism that requires RDMA and a writable share. Technical details including root causes and reproduction steps became publicly archived before fixes reached end users. The KSMBD maintainer has already merged a patch for ZDI-CAN-33774 into their repository, yet distribution kernels may still lack the update. Additional privilege-escalation and information-disclosure risks in other kernel components were also described in the leaked messages.

Hispasec•Vulnerabilities & Exploits

Node.js Issues Security Releases for 26.x, 24.x and 22.x Fixing High-Severity TLS and Brotli Flaws

Node.js published security updates on October 21, 2026 for the 26.x, 24.x and 22.x release lines. The patches address multiple high-severity vulnerabilities affecting TLS hostname validation and the Brotli decoder, along with updates to critical dependencies including OpenSSL and Undici. Several CVEs cover bypasses in certificate hostname checks when IP addresses use full-width digits or when hosts resolve loosely to IP addresses. A particularly serious out-of-bounds write in the Brotli decoder (CVE-2026-111497) could enable remote code execution on services processing compressed responses. Additional fixes resolve keep-alive socket timing issues, DNS resolution truncation with NUL characters, and entropy caching problems in crypto.randomUUID and randomInt functions. The releases also update c-ares, Undici, OpenSSL, SQLite and ca-cert bundles following the eMudhra intermediate CA compromise.

BoletimSec•Vulnerabilities & Exploits

Atlassian October Security Bulletin Flags 176 Third-Party Library Vulnerabilities Across Jira, Confluence and Bitbucket

Atlassian released its October security bulletin detailing 176 vulnerability entries distributed across seven products including Jira, Confluence, Bamboo, Bitbucket, Crowd, Fisheye and Crucible. Of these, 162 entries carry high severity and 14 are rated critical, though the total does not represent 176 unique flaws because the same identifiers recur when multiple products share the same third-party library. All critical issues originate in external components rather than Atlassian code, with the most severe being CVE-2026-65637 in the Coyote component of Apache Tomcat used by Confluence, which allows interception of server-client connections. Affected versions and corresponding fixes were published for Confluence Data Center, Bamboo, Bitbucket Data Center, Jira Software and Jira Service Management, with the company stressing that administrators must compare exact build numbers against the full corrected-version table. No exploitation of the listed issues had been reported as of 22 October, and Atlassian classifies the inherited exposure from third-party libraries as lower priority, issuing separate critical alerts only for immediate-risk cases.