VirLabs Blog
KebaoShell: An iOS Stealer with a SparkKitty Connection
By Ivan Kwiatkowski ·
On November 30, Twitter/X user moto_sato posted the hash of an iOS application of interest, potentially a "never-seen-before malware": KebaoShell. The app was downloaded from haiou[.]lodry[.]ink and inside were a Swift video player, a library that expects a connection from a forensic extraction tool and an unidentified dylib (jKxeAyDAwU.dylib) -- and as of December 5 all three binaries had very few malicious verdicts.
I took a stab at the investigation and was able to tie this sample to a Chinese-language, cybercrime malware family: SparkKitty.
What the two libraries do in Video
The Swift host identifies itself as com.liuflyer555.video (version 1.0, build 4). It advertises itself as a video player, and lets users import clips from Files or Photos, search their local library, play videos at given URLs, or discover videos on PeerTube and the Internet Archive. It ships with a 1080p demo labeled Big Buck Bunny and a poster, so there is something to watch before even importing a file.
As far as I can tell, the "video" part of the app itself seems legit. It does obtain configuration data from a CloudFlare worker located at hxxps://kebao-overseas-config[.]kebao-overseas-4458da[.]workers[.]dev/config.json but even though I could not recover that file, the expected fields relate to monetization, ad delivery and telemetry. KebaoShell contains two interesting libraries which have load commands in the host. One is a required dependency under Frameworks/libutils.dylib, and the other is an upward dependency named jKxeAyDAwU.dylib whose internal install name is /lib/ek2XH4CJ.dylib. In the Mach-O header, these are commands 56 and 57, the final two entries: a placement consistent with adding the libraries after linking. Both dylibs carry the same reported signing team, 7FMAGQK4K8 and leaf certificate thumbprint, BEA826C0DE754B9A7F32133C7DB80D9CD6108539... but the signatures are invalid. This post therefore operates under the assumption that KebaoShell is a legitimate app which has been trojanized, although I was not able to find a clean or original version.
AcquisitionHook'd
The first dylib (Frameworks/libutils) is loaded directly by the host in the background. It contains a component named AcquisitionHook (which someone online misinterpreted as an exploit) tasked with escalating privileges. It contains a dispatcher with two distinct kernel exploits and a container escape, which I mapped to:
| Exploit | Distinctive implementation evidence | Public match |
|---|---|---|
| Kernel #1 | Purgeable mappings, self-remap of a page, a read-only last page, 65,535 mlock calls and a racing vm_copy | Landa / CVE-2023-41974, Parallax from the Coruna report |
| Kernel #2 | IOSurface-backed memory entry, racing fixed vm_map, cross-boundary file operations, socket/fileport spray and ICMPv6 filter access | CVE-2025-43520, used by DarkSword |
| Container fallback | Container-query classes 7 and 13, matching flags and traversal formats, followed by sandbox-token consumption | bad_query |
After attempting these exploits, the malware connects to its C2 server, hxxps://bat1688[.]cc (using the /api/v1/devices path for registration), receives a list of application containers and directories to extract data from and sends everything back in 1MB chunks (/api/v1/uploads/%@/chunks?chunkIndex=%lu). The configuration captured on December 1st sent to the malware is provided in Annex II, but TL;DR the authors are interested in cryptocurrency app data (OKX/OKEx, TON, BitKeep/BitGet, etc.) and Apple Notes. Collection focuses on three main sources:
| Source | Description | Output |
|---|---|---|
| Keychain | Copies keychain-2.db and its SQLite sidecars from /private/var/Keychains/, then reads genp, inet, cert and keys records | keychain.xml |
| Apple Notes | Finds the shared container identified by group.com.apple.notes | notes.tar |
| Selected apps | Resolves bundle IDs from the registration response and archives selected relative directories | A TAR archive per bundle ID |
Finally, strings present in the binary such as Waiting for EIFT connection..., ServerGetAgentVersion, and KeychainServerOnNewData: resemble the interface of Elcomsoft's forensic extraction agent. This indicates to me that the malware authors repackaged a third-party component or took parts of it for their operation.
The other dylib
The other library (jKxeAyDAwU.dylib) is a bit more of a mystery to me. Heavily obfuscated, it maintains a persistent device identifier and sends app and device telemetry. It queries up[.]hdld[.]cc/geo to obtain the device's country and reports all this data to wc[.]klswhg[.]com:80/apm/logs?d=<identifier> (with slightly different handling and endpoint for Chinese users, wc921[.]wcdtk[.]com).
This library appears to run independently from the AcquisitionHook component described above and has no obvious malicious purpose. There is some circumstantial evidence that it comes from the same author (the leaf certificate thumbprint, coming after AcquisitionHook in the command order) but at some point I was ready to dismiss this component as the legitimate, telemetry part of the video application. Now based on the many crude aspects of this campaign and shared code with SparkKitty (see below), I'm leaning towards either a component in development that just hasn't been switched on yet, or a separate/dedicated telemetry component. I will still exclude wc[.]klswhg[.]com from the IOC list out of caution.
Distribution
The IPA was distributed from hxxps://haiou[.]lodry[.]ink/dl/20261125_174809_d4d83f. This server hosts a Chinese-language "Seagull operations console", which is still live at the time of this writing:

The console’s public JavaScript actually allows us to reconstruct the various features of this panel without the operator's data. It exposes tabs for building and distributing iOS app packages, creating trackable landing links, reviewing acquired device and wallet data, and managing agents and collection tasks. The panel is split between two workflows, "Seagull" (malicious IPAs) and "Dogedrop" (drive-by exploitation).

This JS code contains references to two additional domains, dogedrop[.]fun and bat1688[.]com which both resolve to 47.76.154[.]247 (also associated to bat1688[.]cc). A public report identifies mhlwgo[.]org and about 30 more domains as a group of lure sites containing an iframe pointing to dogedrop[.]fun and other sites. Archived screenshots show that desktop users were shown a QR code to continue browsing on a mobile browser, or on mobile a streaming platform for AI-produced Chinese micro-dramas:

Upstream of this, an additional dissemination mechanism such as mass-emailing or an ad campaign must exist to direct users to the exploit kit, but I couldn't find traces of it.
I also visited bat1688[.]cc, where I was presented with a page titled INFATUATED and a Chinese "Start background collection" button that does nothing meaningful. Maybe this is a threat actor mixing development and operations in the same infrastructure!
Elsewhere, I couldn't find more Seagull consoles, but on the drive-by side, crawling dogedrop.fun yielded eight JavaScript stages selected by /gooll/gooll.html for its two iOS 18 branches, plus an older-iOS /coruna/group.html stage and a fallback script. The common d7e1006d30c0d1acc2e8a7853860d055.js stage contains Keychain and container-collection code, names dogedrop.fun as its host, and uses /stats as an upload path. The older-iOS fallback uses https://dogedrop.fun/coruna-loot, and pivoting on that last path gave a fistful of additional domains (see the IOC section).
Hello Kitty
In 2025, Kaspersky published a report on SparkKitty, describing several iOS malware families distributed on the legitimate App Store as well as fake copies. In it, they analyze c5be3ae482d25c6537e08c888a742832 (wc.dylib), which shares code with and uses the exact same JSON template as jKxeAyDAwU.dylib to send data to a server. Both files encode it in the same way (XOR with 0x5D) and have the same unique user-agent casing:
POST %s HTTP/1.1
Host: %s
Content-Type: application/json
Content-Length: %d
User-Agent: AppleWebKit http/1.1 %s
%s
Elsewhere, both libraries reference use @ as a separator inside strings and underscores as padding, and have an identical encoding pass using identical power, modulus and XOR constants. I'd therefore attribute this new family to SparkKitty with low-medium confidence, with the caveat that this attacker seems happy to lift code from other sources.
Broadening the hunt, this shared code was identified in a couple more files, including one jinnianye.app/doge.dylib (SHA256: 1754902a5067a1a2c9ab089e21656a21e584dc072870ba766ea93d65fa055680, again with the doge). More hashes in the IOC section. I also looked for more samples related to AcquisitionHook and found several quasi-identical variants beaconing to jxwiuhfgruy.ga-a9.co:443.
Conclusion
So, that was from a malware hash on Twitter. Not too long ago, at a CERT-EU event, Paul Rascagneres went over Coruna/Darksword's history, internals and prevalence. I hadn't had the chance to take a look until now, but the facts support what he and everyone else have been saying: cybercriminals from all around the world now have access to really potent exploits. Mobile devices aren't safe from low-to-medium-level actors anymore but we still don't have any visibility into what goes on in those platforms.
Some time ago I would have said, to deaf ears mostly, that there's probably a lesson here somewhere about the impossibility of safeguarding dangerous 0days. In the age of AI-powered patch diffing, I'd be willing to hear arguments about how patching bugs may actually put them in the hands of more actors than ever, but then again the bar for vulnerability research is lower than it's ever been.
I guess all I'm left with is the most hackneyed infosec conclusion possible: people should really be patching their devices.
Annex I: Indicators of Compromise
File hashes
753167628ed020dc130ef942accfb7c47c8dc381d6e0cccc952d17c8e84fa4ad Kebao video app IPA
264936a04827e9f5dc816de952905c752f286b5ca86ad80aa09c015c94e38a3a KebaoShell executable; loads the acquisition and reporting libraries
fe1741da61e685355ad69e267804cdd204bd149ae9b59785052da9a2d3da959a Kebao libutils.dylib; AcquisitionHook
e9146c3038b6bfd0dd7252359d9165b8339b9c6e095c1875a694f5741095da77 Kebao jKxeAyDAwU.dylib; reporting library with SparkKitty code overlap
00a1fec8316ab6b08c567438cc6900fb17f6991f8941c58849ae77f0f47eeac1 fh.dylib; July reporting-library relative
1754902a5067a1a2c9ab089e21656a21e584dc072870ba766ea93d65fa055680 jinnianye.app/doge.dylib; July reporting-library relative
f1278c47202a64c9838efebe73c8b2add9edbc0d1089195a9a19d5f36f61032e pdgb IPA containing a July reporting-library relative
e0fa8abb8617a36675aa64a50b9624ebb97ee007bc4ca949261a57820f7c9f6f jinnianye IPA containing doge.dylib
437841c8382dfc39840bea6080e220172c3c1e69c0e73df134297581abf57cb4 July AcquisitionHook v2.0 parent IPA, 77
3dc807c87a642d092a7edb3800dbfe96e02a2c75bd5fd6b844944d448d98105b July AcquisitionHook v2.0 parent IPA, 选妃
95c968d0626d701b1b419b0d1c526503e1501f6c3c37795b3d15ccf75924d96e July AcquisitionHook v2.0 dylib
bdaaf7816078378b3e8417955e99ab96ec4dea146daffd25a375e4a488ec6c50 July AcquisitionHook v2.0 dylib
2b2fee631f8bb9fe2ae91c4bb137eda95e685eaa3d1702124cf5683ada4bce09 July AcquisitionHook v2.0 dylib
c4ba33274611590a078ff8b1e6b086683e12ada7dafd76299054c98f266b30fe July AcquisitionHook v2.0 dylib
e50bbeff899df21bf1420863ff7e5dc14b0dd937c1766a762e6a7e9c10e6ab84 July AcquisitionHook v2.0 dylib
0da75dd8c0fbf60c7edc3ed50643dde66028dc5169addb3388e0216572e4df33 July AcquisitionHook v2.0 dylib
4f7420fd0ff4ce966fc08f2fb22c8f3b2f7b1fd3b2c6d08ef29060cac80245af July AcquisitionHook v2.0 dylib
ca352e1a5b64a573516c0df77a30e9aff875213ff2460e97ef1ef727ba862375 July AcquisitionHook v2.0 dylib
f23d7b63f8096fb332c28e274d8b9ff19fc7389cd5f86febd276285ed11fe07e July AcquisitionHook v2.0 dylib
39209fbe8a186414c8465a21f1ebbced398191a775eef1f983aeb9fb6f12ce1d July AcquisitionHook v2.0 dylib
fd3b09b273f2e29776493d0b6f823b05349f4b49962c6384d1664c35c68831c2 July AcquisitionHook v2.0 dylib
e65cd80fd82dc9098c532677bc3003fa2b5585e8697ac22a067101f1e0cb193d July AcquisitionHook v2.0 dylib
f6dbf478c85b248aff15ebecdafc0c0776bba10136952001b4e06724bb2812a2 July AcquisitionHook v2.0 dylib
6a77ac76af8ae1b97602a60022ca19af9327ccdbcefabd0e44f22c947f2d3c92 July AcquisitionHook v2.0 dylib
704c19cc8d8b74ca25e3288a48a423387f323454bdfb3d919634b53bcf833814 July AcquisitionHook v2.0 dylib
4ddb5febf804cee3c5d7ab107d98afcf46dd4c1610160b9d76f6fbf6153672aa July AcquisitionHook v2.0 dylib
41daf8819c764b32050876ec6dbfa2a530003924e5e8286d1de0bc54fa4dd492 July AcquisitionHook v2.0 dylib
2dfd65ab94e0fa98744953083b57fb51e82fe47aa227d0df246d75b83b96b5c9 July AcquisitionHook v2.0 dylib
3c62eb60c57218967d84a5cf43f356b23133c5993812b9f7236341c2cbbb57ef July AcquisitionHook v2.0 dylib
222672a43d70c646e5c69f6e1f3e534ad86c4805cea2c96cd29239b5c4853332 July AcquisitionHook v2.0 dylib
c23bccb8161a99c9b44d451bbb3d46a008f19a90d35296a6104329670113c7bc July AcquisitionHook v2.0 dylib
415bb81b60152054243c868a84163145b637af33233572ad6f24a214939a6cca July AcquisitionHook v2.0 dylib
14d9c6fcba0074f04237580115b2069c0c3ca4b896b49c1772fd2892f32ae342 July AcquisitionHook v2.0 dylib
40670236b2f810fafe567a597e52c040695fecb0b68eeee39f4f971b1eb475ec July AcquisitionHook v2.0 dylib
3bf300d7bff74fb530f8ea92d79001b5c36c9b591a787f76b8503bc98bbc2863 July AcquisitionHook v2.0 dylib
7831fc24d11ea42ae598245a621cd796f34e6c0930c068df989721e10a94de8d July AcquisitionHook v2.0 dylib
2a0ffb531fef7cd3c25f409a490c4886ec979bdb1e2d3e5c6455ef9b8b76820b July AcquisitionHook v2.0 dylib
f945f558f960017267d58064ca2c8b520cdbfe8bdea43e1cc7cd30420776c02f July AcquisitionHook v2.0 dylib
ed56a722d7ed45ce87f79b8e31007eafa0af8af71d1cf72aa38deb4a6b70af34 July AcquisitionHook v2.0 dylib
cb32d6542087d5069509013366a4b4573ecca1f3e2b6d523f5819443ad7b0803 July AcquisitionHook v2.0 dylib
ab1c1c1553c288c7649aa017e1dcc9c4bce7c03551e14a5739e427a20fb2086a July AcquisitionHook v2.0 dylib
ba17a1692d527fb7172025682205884841e27102598a103cc84dfc9e64671ba1 July AcquisitionHook v2.0 dylib
Domain names
bat1688[.]cc Kebao AcquisitionHook C2
haiou[.]lodry[.]ink Seagull console
dogedrop[.]fun Drive-by attack delivery
bat1688[.]com Older panel or landing address in Seagull console code
jxwiuhfgruy[.]ga-a9[.]co July AcquisitionHook v2.0 upload server
47.76.154[.]247 Dated DNS overlap for bat1688.cc, dogedrop.fun and bat1688.com
95.40.40[.]179 Dated VT passive DNS association with the July upload host
ios[.]qnios[.]cn Hidden iOS loader framed by huangguo183.com
a[.]mangr[.]shop Hidden iOS loader framed by ai.spotai.sbs
ios88[.]my Reported iOS browser loader
ai[.]spotai[.]sbs Reported lure framing a.mangr.shop
huangguo183[.]com Reported lure framing ios.qnios.cn
c2[.]007770[.]com Public campaign-index site associated with iOS browser-delivery reports
mhlwgo[.]org Reported lure embedding dogedrop.fun; landing-service link
www[.]claudflares[.]com Public campaign-index site associated with iOS browser-delivery reports
tb[.]mm298[.]top Public campaign-index site associated with iOS browser-delivery reports
titu[.]edu[.]eu Public campaign-index site associated with iOS browser-delivery reports
uu[.]bais66993[.]com Reported /coruna-loot variant
1688688[.]cc Public campaign-index site associated with iOS browser-delivery reports
mkkmkg[.]ltd Public campaign-index site associated with iOS browser-delivery reports
ckdnck[.]ltd Public campaign-index site associated with iOS browser-delivery reports
yd[.]bkksd[.]xyz Public campaign-index site associated with iOS browser-delivery reports
kk88cc[.]com Public campaign-index site associated with iOS browser-delivery reports
s4[.]ncreuh[.]icu Public campaign-index site associated with iOS browser-delivery reports
wios[.]tron3[.]vip Reported /coruna-loot backend; native_bridge.js matches jdaram.com
dehgsk[.]zip Public campaign-index site associated with iOS browser-delivery reports
khsnec[.]icu Public campaign-index site associated with iOS browser-delivery reports
ccuffn[.]icu Public campaign-index site associated with iOS browser-delivery reports
skcrss[.]icu Public campaign-index site associated with iOS browser-delivery reports
maenc[.]icu Public campaign-index site associated with iOS browser-delivery reports
tucuem[.]icu Public campaign-index site associated with iOS browser-delivery reports
darksword[.]helicha[.]com Public campaign-index site associated with iOS browser-delivery reports
bergdorfgoodmanbag[.]com Public campaign-index site associated with iOS browser-delivery reports
kcfmfk[.]ltd Public campaign-index site associated with iOS browser-delivery reports
st[.]fsyehm[.]top Public campaign-index site associated with iOS browser-delivery reports
jdaram[.]com Reported /coruna-loot backend; native_bridge.js matches wios.tron3.vip
mcufpe[.]icu Public campaign-index site associated with iOS browser-delivery reports
ehmust[.]top Public campaign-index site associated with iOS browser-delivery reports
getdnp[.]top Public campaign-index site associated with iOS browser-delivery reports
hftnak[.]icu Public campaign-index site associated with iOS browser-delivery reports
92haoyun[.]icu Reported iOS drive-by backend with byte-identical exploit stage and /coruna-loot
Annex II: malware configuration
Paths prefixes with a dash ("-") are excluded from collection.
{
"code": 0,
"message": "ok",
"data": {
"deviceId": "[redacted]",
"bundleIds": {
"com.apple.mobilenotes": [
"Media",
"Media/*",
"Library/Notes",
"Library/Notes/Media",
"Library/Notes/Media/*",
"-Media/*/*/*.mp4",
"-Media/*/*/*.MP4",
"-Media/*/*/*.m4v",
"-Media/*/*/*.M4V",
"-Media/*/*/*.3gp",
"-Media/*/*/*.3GP",
"-Media/*/*.mp4",
"-Media/*/*.MP4",
"-Media/*/*.m4v",
"-Media/*/*.M4V",
"-Media/*/*.3gp",
"-Media/*/*.3GP",
"-Media/*.mp4",
"-Media/*.MP4",
"-Media/*.m4v",
"-Media/*.M4V",
"-Media/*.3gp",
"-Media/*.3GP",
"-Media/*/*/*/*.mp4",
"-Media/*/*/*/*.MP4",
"-Media/*/*/*/*.m4v",
"-Media/*/*/*/*.M4V",
"-Media/*/*/*/*.3gp",
"-Media/*/*/*/*.3GP",
"-Accounts/*/Media/*/*/*.mp4",
"-Accounts/*/Media/*/*/*.MP4",
"-Accounts/*/Media/*/*/*.m4v",
"-Accounts/*/Media/*/*/*.M4V",
"-Accounts/*/Media/*/*/*.3gp",
"-Accounts/*/Media/*/*/*.3GP",
"-Accounts/*/Media/*/*.mp4",
"-Accounts/*/Media/*/*.MP4",
"-Accounts/*/Media/*/*.m4v",
"-Accounts/*/Media/*/*.M4V",
"-Accounts/*/Media/*/*.3gp",
"-Accounts/*/Media/*/*.3GP",
"-Accounts/*/Media/*.mp4",
"-Accounts/*/Media/*.MP4",
"-Accounts/*/Media/*.m4v",
"-Accounts/*/Media/*.M4V",
"-Accounts/*/Media/*.3gp",
"-Accounts/*/Media/*.3GP",
"-Accounts/*/Media/*/*/*/*.mp4",
"-Accounts/*/Media/*/*/*/*.MP4",
"-Accounts/*/Media/*/*/*/*.m4v",
"-Accounts/*/Media/*/*/*/*.M4V",
"-Accounts/*/Media/*/*/*/*.3gp",
"-Accounts/*/Media/*/*/*/*.3GP",
"-Library/Notes/Media/*/*/*.mp4",
"-Library/Notes/Media/*/*/*.MP4",
"-Library/Notes/Media/*/*/*.m4v",
"-Library/Notes/Media/*/*/*.M4V",
"-Library/Notes/Media/*/*/*.3gp",
"-Library/Notes/Media/*/*/*.3GP",
"-Library/Notes/Media/*/*.mp4",
"-Library/Notes/Media/*/*.MP4",
"-Library/Notes/Media/*/*.m4v",
"-Library/Notes/Media/*/*.M4V",
"-Library/Notes/Media/*/*.3gp",
"-Library/Notes/Media/*/*.3GP",
"-Library/Notes/Media/*.mp4",
"-Library/Notes/Media/*.MP4",
"-Library/Notes/Media/*.m4v",
"-Library/Notes/Media/*.M4V",
"-Library/Notes/Media/*.3gp",
"-Library/Notes/Media/*.3GP"
],
"com.tokenpocket.ios": [
"Documents",
"Library/Application Support"
],
"com.bybit.app": [
"Documents"
],
"com.okx.app": [
"Documents",
"Library/Application Support"
],
"com.okx.wallet": [
"Documents",
"Library/Application Support"
],
"com.okcoin.okex": [
"Documents"
],
"com.okex.wallet": [
"Documents"
],
"com.defi.wallet": [
"Documents"
],
"com.jbig.tonkeeper.shared": [
"Library/Preferences",
"Documents"
],
"org.mytonwallet.app": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Preferences"
],
"coin98.crypto.finance.insights": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Preferences"
],
"com.bitpie.wallet": [
"Documents"
],
"com.solflare.mobile": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Preferences"
],
"com.sixdays.trust": [
"Documents"
],
"com.bitkeep.os": [
"Documents",
"Library/Application Support",
"Library/Preferences"
],
"group.com.bitkeep.os": [
"Documents",
"Library/Application Support",
"Library/Preferences"
],
"KKTVFHS52S.com.bitkeep.os": [
"Documents",
"Library/Application Support",
"Library/Preferences"
],
"com.bitget.wallet": [
"Documents",
"Library/Application Support",
"Library/Preferences"
],
"com.tonhub.app": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Application Support/mmkv"
],
"io.metamask.MetaMask": [
"Documents"
],
"app.phantom": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Preferences"
],
"com.uniswap.mobile": [
"Documents",
"Documents/mmkv",
"Library/Application Support",
"Library/Preferences"
],
"exodus-movement.exodus": [
"Documents"
],
"com.tronlink.hdwallet": [
"Documents"
],
"com.jbig.tonkeeper": [
"Documents",
"Documents/WalletBalance",
"Documents/WalletNFTs",
"Library/Preferences"
],
"im.token.app": [
"Documents",
"Library/Application Support/im.token.app/RCTAsyncLocalStorage_V1"
],
"com.global.wallet.ios": [
"Documents",
"Library/Application Support",
"Library/Preferences",
"-Documents/db/label.sqlite3",
"-Documents/cache",
"-Documents/cache/*"
]
},
"debug": true
}
}
