Skip to content

P7 DarkSword iOS Spyware Adds Crypto Wallet Theft

P7 DarkSword iOS Spyware Adds Crypto Wallet Theft

A new variant of the DarkSword iOS exploit kit quietly processes stolen passwords on the device, scans for cryptocurrency wallets, and receives attacker commands every 15 seconds — all while leaving fewer traces than before.

P7 DarkSword Exploit Chain — Conceptual Overview A conceptual flow diagram showing how P7 DarkSword progresses from a malicious web page through browser exploitation, sandbox escape, kernel privilege escalation, SpringBoard injection, and finally two-way C2 communication with attacker infrastructure. Malicious Web Page WebKit Browser RCE Sandbox Escape Kernel Privilege Esc. SpringBoard Injection Two-Way C2 Entry Stage 1 Stage 2 Stage 3 Payload Control P7 DarkSword: Full Exploit Chain (Conceptual)
Conceptual diagram of the DarkSword exploit chain stages, from initial web delivery through SpringBoard injection and two-way C2. Source: Generated by UnpanicTech based on iVerify research.

When iVerify's threat intelligence team caught an unusual DarkSword infection on a customer's iPhone in August 2026, the detection looked slightly off. The forensic artifacts didn't match the DarkSword variants they'd seen before. That difference turned out to be a previously unknown version — now called P7 DarkSword — that had been modified by someone who actually understood what they were changing [1].

The name comes from the p7_ variable prefix the authors used in their modifications to the original code. What makes this variant notable isn't a new exploit chain. It's what the implant does once it's already on your phone: stolen passwords are sorted on-device before being sent out, crypto wallets are actively scanned, and the attacker can issue commands and receive results in something close to real time.

What DarkSword Is, and Where P7 Fits

DarkSword was publicly disclosed in March 2026 by Google Threat Intelligence Group (GTIG), iVerify, and Lookout — three research teams that had independently identified it [2]. It was already being used in the wild by November 2025.

The kit is a full exploit chain for iOS. It starts in the browser — specifically in WebKit — and works through a sequence of vulnerabilities to escape the browser sandbox, escalate privileges to kernel level, and inject a JavaScript-based implant into SpringBoard, the iOS process that handles app launches and the home screen. The whole chain runs without requiring any user interaction beyond visiting a compromised web page.

Six vulnerabilities make up the chain: CVE-2025-31277, CVE-2025-43529, CVE-2026-20700, CVE-2025-14174, CVE-2025-43510, and CVE-2025-43520. Apple patched them progressively across iOS 18.6 through 26.3, with the final piece — CVE-2026-20700 in the dyld component — fixed in iOS 26.3 in February 2026 [3]. CISA added three of these CVEs to its Known Exploited Vulnerabilities catalog in March 2026, ordering federal agencies to patch within two weeks.

DarkSword Exploit Chain — CVE Summary

CVE Component Type Fixed In CISA KEV
CVE-2025-31277 JavaScriptCore (WebKit) Memory corruption / RCE iOS 18.6 Yes (Mar 2026)
CVE-2025-43529 JavaScriptCore (WebKit) Memory corruption / RCE iOS 18.7.3 / 26.2 No
CVE-2026-20700 dyld PAC bypass iOS 26.3 No
CVE-2025-14174 ANGLE (WebGL) Memory corruption / sandbox escape iOS 18.7.3 / 26.2 No
CVE-2025-43510 iOS Kernel (XNU) Memory management / privilege escalation iOS 18.7.2 / 26.1 Yes (Mar 2026)
CVE-2025-43520 iOS Kernel (XNU) Memory corruption / privilege escalation iOS 18.7.2 / 26.1 Yes (Mar 2026)

Shortly after DarkSword was publicly disclosed in March 2026, the source code was leaked. iVerify subsequently began tracking a proliferation of modified variants, most of them low-quality — broken attempts assisted by LLMs that didn't actually work. P7 is different. Its authors invested real effort, and the changes reflect genuine technical understanding rather than automated tinkering [1].

What P7 Changed — and Why It Matters

Three areas distinguish P7 from earlier DarkSword variants: stealth, stability, and what the implant can actually do once deployed.

On stealth, the changes are straightforward but meaningful. Earlier variants logged activity over HTTP and to syslog — both detectable. P7 eliminates this debug output entirely. It also uses browser localStorage to prevent re-exploitation of a device that has already been compromised, reducing noise on the attacker's infrastructure and avoiding redundant detections.

The keychain handling got a significant redesign. Prior versions exfiltrated the raw keychain database to attacker servers for processing there. P7 extracts credentials into a structured JSON file on the phone first, then transmits the result. The practical effect is that less raw data crosses the wire, and what does leave the device is already formatted and ready to use. On-device files written during this process include /private/var/tmp/keychain_c2_dump.json and a marker file that signals readiness to the C2 agent [1].

The two-way command-and-control is the most operationally significant addition. Earlier DarkSword was essentially a grab-and-go tool — get in, steal what you can, exit. P7's C2 agent runs inside the SpringBoard process and polls the attacker's server every 15 seconds, sending a heartbeat and waiting for instructions. That interval can be adjusted by the attacker via a sleep command. The result is something closer to interactive remote access than a one-time exfiltration tool.

What Attackers Can Do Once Inside

The command set iVerify documented is broad. On the data-theft side, P7 can retrieve arbitrary files, upload the entire photo library from /var/mobile/Media/DCIM, copy Apple Notes databases (NoteStore.sqlite and related files), and enumerate installed applications along with their container paths. A disk_scan command recursively maps the entire filesystem from root and uploads a report to the C2 [1].

The cryptocurrency-targeting capability is explicit rather than incidental. P7 includes a wallet_scan command to identify installed wallet apps and a dedicated wallet_extract handler for pulling data from the imToken wallet specifically. Censys, analyzing open directories on related infrastructure, found 18 wallet-theft modules in the broader DarkSword/Coruna ecosystem [4]. A companion kit called Coruna, which runs in the browser session before or alongside DarkSword's exploit stages, targets recovery phrases, balances, and keystore data from more than 25 wallet applications.

The attacker can also execute arbitrary JavaScript inside the implant runtime directly, and issue shell-style subcommands covering file operations, process listing, network state, and more. Commands to halt the implant (exit) and reconfigure its polling frequency (sleep) suggest the operators think about long-term access, not just a single extraction session.

P7 DarkSword — Remote Command Reference

Command What It Does
execute_command Dispatches shell-style subcommands (ls, cat, ps, memdump, netstat, whoami, etc.)
download Reads a specified file from the device and uploads it to C2
photos / photo_scan Uploads photo files; photo_scan queries Photos.sqlite for recent items
apps Enumerates app containers and bundle IDs
exec Executes arbitrary JavaScript inside the implant runtime
file_upload Recursively scans specified paths and uploads matching files
disk_scan Maps full filesystem from root, records metadata, uploads report
ios_app_data Finds sandbox and app-group containers for specified bundle IDs
wallet_scan Scans for installed cryptocurrency wallet apps
wallet_extract Extracts wallet data from the imToken app
memo_scan Uploads Apple Notes SQLite databases
basic_info Collects device metadata and sends it to C2
sleep Adjusts the beacon polling interval (default: 15 seconds)
exit Halts the beacon loop and stops the implant

Source: iVerify threat research report, October 2026 [1].

How It Reaches Devices

P7 has been observed being delivered through at least two distinct paths. The first is via domains set up specifically for DarkSword distribution — pages impersonating cryptocurrency trading platforms or other financial services. One example documented by The Hacker News is a fake crypto trading site at chainmate[.]top that silently served the exploit chain to visiting iOS users [4].

The second path is more insidious. Security researcher Scott Helme of Report URI identified an expired analytics domain — ecomtrack[.]io, previously belonging to a now-defunct Czech e-commerce analytics startup — that was re-registered by unknown actors on September 15, 2026. Online stores that had never removed the analytics tracking tag from their sites were now inadvertently loading malicious JavaScript from the new registrant. That JavaScript redirected visiting iPhone users to exploit infrastructure or scam pages, depending on what their device profile looked like [4]. The script included bot-detection and cloaking logic to serve benign content to security crawlers.

This second path is a supply-chain problem that has nothing to do with the exploit itself: legitimate e-commerce sites unknowingly became distributors simply because they never cleaned up old tracking code.

Infrastructure and Who Is Using It

Censys identified five open-directory hosts carrying DarkSword and Coruna components. One of them was running a platform labeled DS-Fusion v1.0 — a bundled package of both kits together. Another had logged two real Chinese iOS devices actively polling a beacon page every three seconds over several hours in early September 2026. A third appeared to be a developer workspace, with an operator building exploit chains targeting iOS 26 [4].

The recovered production server held 11 cryptocurrency recovery phrases, 179 device loot directories, and a 75-account control-plane roster — evidence of real operational use. Censys assessed the platform as a Chinese-speaking exploitation-as-a-service operation with an agent/reseller model.

A separate China-based operator was found running the same kit against its own C2 infrastructure, targeting an additional wallet (BitKeep) not in the open-directory set. Attribution remains incomplete; these are assessed to be financially motivated actors, but exactly who is behind either operation has not been established with certainty.

The broader DarkSword ecosystem has already been used by a more varied group: PARS Defense, a Turkish commercial surveillance vendor, used an earlier version via a fake Snapchat-themed site; Star Blizzard (also known as COLDRIVER), a Russia-aligned threat actor, deployed it using fake invitation lures; and a Chinese-speaking actor conducted a campaign in August 2026 that included an Apple ID phishing page alongside the exploit delivery [4]. P7 itself appears most closely associated with the financially motivated, crypto-targeting cluster.

What Remains Unknown

iVerify did not specify which iOS version was running on the device where the August 2026 infection was discovered. P7's exploit files are built for iOS 18, but it has not been confirmed whether Apple's current iOS 26 release line blocks P7's implant specifically — as opposed to the underlying exploit chain, which was patched in iOS 26.3.1 [5].

It's also worth being clear about what P7 is and is not. It is a new implant variant — modifications to what DarkSword deploys after a successful exploit. It is not itself a new exploit or a new set of vulnerabilities. The underlying exploit chain remains the same six-CVE sequence documented in March 2026.

iVerify noted that attempts to adapt DarkSword for iOS 26 have so far been unsuccessful or non-working. The Censys-observed workspace showed development activity targeting iOS 26, but those chains had not yet been seen deployed in the wild at the time of the October 2026 disclosures.

P7 DarkSword — Priority Defensive Actions A checklist-style graphic showing four defensive actions: update to iOS 26.3.1 or later, enable Lockdown Mode for high-risk users, audit and remove third-party tracking scripts, and monitor for anomalous beacon traffic. ✓ ✓ ✓ ✓ Update iOS Now Lockdown Mode Audit Scripts Monitor Traffic
Update to iOS 26.3.1 or later. All DarkSword chain CVEs are patched in current iOS 26.
Enable Lockdown Mode for high-risk users. Both DarkSword and Coruna are blocked by Lockdown Mode.
Audit and remove third-party tracking scripts from web properties. The ecomtrack[.]io incident shows the risk of abandoned tags.
Watch for anomalous POST requests at 15-second intervals in enterprise proxies — the P7 beacon polling pattern.
Priority defensive actions against P7 DarkSword and the broader DarkSword/Coruna ecosystem. Source: Generated by UnpanicTech based on iVerify and BleepingComputer guidance.

What to Do

The core mitigation is straightforward: update. All six CVEs in the DarkSword exploit chain have patches available, and iOS 26.3.1 covers them all. Devices that have been updated are not vulnerable to the exploit delivery — P7 or otherwise.

For high-risk users — journalists, executives, government personnel, anyone with significant cryptocurrency holdings — Apple's Lockdown Mode is worth considering. It disables a range of WebKit features that both DarkSword and Coruna exploit, and researchers confirmed that devices with Lockdown Mode active were not compromised by either kit [3].

For anyone running websites or online stores: audit your third-party script dependencies. The ecomtrack.io situation is a reminder that abandoned analytics tags don't expire safely — they can be weaponized when their domains lapse and get re-registered. A tag that's been sitting on your site for three years might now be pointing at malware infrastructure.

For enterprise defenders, iVerify published a set of network indicators and filesystem artifacts. On the network side, look for POST requests using HTTP/1.0 with a specific hardcoded User-Agent string and a 15-second polling rhythm. On device, the presence of files like /private/var/tmp/keychain_c2_dump.json or /private/var/tmp/p7_debug.log would be significant. The full indicators of compromise are in iVerify's report.

The Bigger Picture

P7 illustrates something worth understanding about how this ecosystem works. DarkSword started as what researchers believe was a commercial product — probably sold at prices that limited access to well-resourced actors. It got leaked. From there, the general pattern is familiar: state actors and surveillance vendors were first; financially motivated criminals came next; low-effort AI-assisted variants proliferated; and somewhere in that process, someone competent enough to actually improve the implant produced P7.

The shift to on-device processing and interactive C2 also shifts the risk profile for victims. A grab-and-go tool has a defined impact window. A tool that checks in every 15 seconds, can receive new instructions, and adapts to what it finds on a device is harder to scope. If you don't know you're compromised, the attacker's access isn't bounded by the initial extraction — they can ask for more later.

That distinction matters especially for cryptocurrency holders, where the recovery phrase for a wallet doesn't change. Stealing it once is enough.


Sources & References

  1. iVerify Threat Intelligence Team — "Sleep, Beacon, Steal, Repeat: The Story of P7 DarkSword Variant" (October 8, 2026)
  2. BleepingComputer — "New DarkSword iOS exploit used in infostealer attack on iPhones" (March 2026)
  3. BleepingComputer — "CISA orders feds to patch DarkSword iOS flaws exploited in attacks" (March 2026)
  4. The Hacker News — "P7 DarkSword iOS Exploit Kit Adds Crypto Wallet Data Theft and Remote Commands" (October 9, 2026)
  5. Cyber Insider — "New DarkSword iPhone spyware variant adds stealth and remote control" (October 9, 2026)
NK

Cybersecurity Researcher & Technical Editor

UnpanicTech publishes independent cybersecurity research and defensive security analysis. Naseem Khan serves as Technical Editor, with a focus on vulnerability analysis, defensive security, incident response, cloud security, and practical security engineering.

Leave a Comment (Authenticated Users)