Anti-AIClone

Log date · Fri

How should iOS defenses respond to Frida updates?

Frida 17.16.0 fixed arm64e paths. Retest detection, false positives and server responses across versions.

How should iOS defenses respond to Frida updates?

Treat a Frida update as a trigger to retest, not as proof that one fixed instrumentation signature will continue to work. Frida 17.16.0 fixed arm64e injection and attach paths. In our own macOS page-protection sample, a child writing to a writable page exited normally; a write to a read-only page produced signal 10. The parent retained value 7 in both cases. [1][2]

What the release and sample tell us
QuestionFinding
What changed in the release?arm64e upload injection applies segment protections before fixups, avoiding RWX.
What did the sample compare?A write succeeded on a read-write page; a read-only write produced signal 10.
Does this prove a detector works?No; retest on owned devices with the actual release build.

What the release changed

GitHub records the release at 22:20 UTC on 17 July 2026. The project says upload injection now applies each segment’s protection before threaded and chained fixups, so writable data can receive rebased and authenticated pointers while avoiding an RWX mapping. [1][2] That describes a particular implementation path; it does not mean instrumentation never needs writable or executable memory.

The same release fixes an arm64e attach crash, revives CodeSegment on modern iOS and probes its support at runtime; GumJS V8 JIT can also work in the iOS app sandbox. Other changes include scoped spawn gating with a shared watchdog, AVX-512 state preservation in Stalker, and Python asyncio support. [2] Detection rules and test environments therefore need maintenance as both tools and operating systems change.

Observe permissions on an owned page

Frida is not in our available toolchain. We compiled our own C program with Apple clang 21.0.0 on macOS 27.2 arm64 to illustrate page write permissions; this is not a test of Frida 17.16.0, arm64e pointer authentication, the iOS sandbox or injection. The program creates a private read-write mapping and writes 7. In the second variant it changes the page to read-only with mprotect, then asks a child process to write 9.

Complete output from our run.
page size=16384
read-write: child exit=0; parent value=7
read-only: child signal=10; parent value=7

The parent retains 7 in both runs because the sample uses a private mapping and fork; that does not mean the first child failed to write. Exit code 0 means the first child read back 9; the second was terminated by a signal. Apple documents that mprotect changes page protection, returning -1 and setting errno on failure, and notes that protection granularity can encompass a region. [3]

Key operations from our sample.
if (readonly && mprotect((void *)p, n, PROT_READ) != 0) {
    perror("mprotect"); exit(1);
}
/* Child process: */
p[0] = 9;

Do not make one signal the verdict

RWX is one observable feature. The release’s approach to avoiding it illustrates why a fixed rule may miss another implementation. An unusual signal can also arise from legitimate software, debugging or compatibility problems. Record the device, OS, build and detector versions, then examine event context and false positives.

For high-risk actions, combine client signals with account, entitlement and request context on the server. Define what happens when signals are absent or a check fails: rate limiting, step-up verification or review may be appropriate instead of automatically rejecting everyone. For offline features, define acceptable risk and failure behavior, and test synchronization when connectivity returns.

Recommendations by case

These are engineering recommendations, not protection effects measured by the sample. Weigh false positives and recovery alongside controls the server can actually enforce.

Recommendations by case
QuestionFinding
Only an RWX detectorAdd context; retest after updates and avoid complete-detection claims.
Entitlement or billing decisionValidate and limit privileges server-side; use client results as signals.
Must work offlineDefine expiry and revocation delay; test failures and recovery.
OS or tool updateMaintain a version matrix and record normal paths, failure paths and false positives.

Keep detector rules, dependency versions and expected responses in the same change record. A passing run covers only the devices and paths exercised. Before release, test normal users, diagnostic tools, failed reporting and service outages. When a new version changes the result, first establish whether the environments match, then decide whether to revise the rule or fix compatibility.

Retest your own build

For your app, use an authorized test device and a release build, recording the device model, OS, app build and detector configuration. Do not generalize the laboratory result to all iOS versions.

Prepare a baseline and a detector-enabled variant. Exercise normal launch, important operations, failed signal reporting and a server outage. Record expected and actual responses, false positives and recovery steps; repeat the same matrix after OS, build or test-tool changes. Keep sensitive keys and high-value decisions on a controlled server where practical, and give the client only the privileges it needs.

Your checklist

  • Record device, OS, app and detector versions.
  • Compare normal and detector-enabled paths on a release build.
  • Test reporting failures, false positives and service outage recovery.
  • Validate entitlements and billing on the server.
  • Repeat the test matrix after OS or tool updates.

Primary sources

All sources and reproduction status ↗