,

CARBONATO, Part 2: The wallet factory next to the botnet 

ThreatDown researchers found a counterfeit crypto wallet factory in the registry behind CARBONATO, including a fake imToken app patched to hand seed phrases to attacker code. 

In August 2026, ThreatDown security researchers discovered an exposed Docker registry containing two linked CARBONATO product lines. One was a Docker botnet built around an AI agent, which we covered in our first report. The other was a Chinese-language factory for counterfeit cryptocurrency wallets. Both went after keys: the botnet’s AI agent was told to hunt AI API keys first, and the factory’s fake wallets were built to capture seed phrases. 

The factory’s panel served fake versions of four wallets: Bitpie, TokenPocket, imToken, and Trust Wallet. Search-optimized sites brought in the visitors, and the panel handed their phones a download. One delivery route still worked in August and returned a 69.7 MB fake imToken app. 

The app looks and works like imToken. Underneath, its interface was patched in three places. Creating a wallet, importing a seed phrase, or importing a private key now passes that secret to native code the attackers added, inside a library that also holds upload functions named for mnemonics and keys. 

The upload addresses ship blank, and we found no confirmed installation, victim, or stolen funds. This report covers what the factory built and how it was designed to work. 

Finding Evidence 
An exposed registry held a wallet factory Laravel panels, download controllers, wallet templates, and 39 versioned panel releases sat in the same registry as the CARBONATO botnet. 
The panel served four wallet brands Its download controller maps eight slots to Bitpie, TokenPocket, imToken, and Trust Wallet. Only the imToken app was recovered. 
The fake imToken runs added code at startup Every launch passes through native code the attackers added, before the rest of the app loads. 
The app hands seed phrases to the implant Three patched screens pass a newly created or imported seed phrase or private key to the attackers’ native code. 
The upload address is not in the app Both destination fields ship empty. We recovered no upload address from the APK. 
Parts of the infrastructure remain provisioned On Oct. 26, the download host and four fake wallet sites still resolved, and two of their certificates had been renewed that week. 

The wallet factory 

Our first report mentioned the wallet operation in passing. The registry held far more: Laravel applications, download controllers, wallet templates, databases, logs, and configuration files spanning several generations of a counterfeit-wallet panel. 

The panel’s configuration file names its delivery routes. The Android entry carries the comment 隐藏起来的安卓下载地址, Chinese for “hidden Android download address.” It points to a download page that redirects to an Aliyun storage bucket: 

hxxps://down5[.]upimtoken[.]com/download.aspx?app=imToken-dx0719 
  -> hxxps://dfhgdf[.]oss-accelerate[.]aliyuncs[.]com/ 
     imToken-dx0719/imToken-dx0719_cdahddbbfah.apk 

On Aug. 29, that route returned a 69.7 MB Android package. Figure 1 shows the route in the panel’s configuration. 

Figure 1: The panel’s hidden Android route (tp.php) and crawler allow-list (robots.txt). 

The package declared imToken 2.14.1 and kept imToken’s code, resources, and React Native interface. It was repackaged under com.ledaacba and re-signed with a self-signed certificate valid for 100 years. Its SHA-256 hash, 4258f2dc154e565ebf655fa7dafaed338a23add11e8d858dee80bcea948c5082, does not match the official hash for that version. 

How the factory works 

The factory has two halves. The panel finds wallet users and sends them a download link. The app looks and works like imToken, but it runs the attackers’ code every time it starts, passes seed phrases to that code, and carries upload functions with the destination left blank. Steps 1 and 2 cover the panel, and steps 3 to 5 cover the app. 

1. Attract the visitor 

The factory ran a group of Chinese-language wallet sites built to rank in search. The panel’s crawler policy, also shown in Figure 1, let in Baidu, Sogou, 360Spider, Yisou, Bytespider, and Easou alongside Google, Bing, Yahoo, Yandex, and Teoma, then blocked everything else. Several sites shared near-identical sitemaps and copy. One Bitpie page presented itself as the official Chinese version and filled the page with invented security claims, usage figures, and testimonials. 

Figure 2: Fake Bitpie landing page on buuyii[.]com, captured on Aug. 30, 2026. 

The TokenPocket sites went further and reused a single template across several domains, including wj-dtxh[.]com and workeredu[.]org. 

Figure 3: Fake TokenPocket landing page on wj-dtxh[.]com, captured on Aug. 30, 2026. 

2. Qualify and serve 

The panel only wanted phones. Its download controller rejects desktop browsers, counts requests per link, and returns a 404 after 20 hits on the same path. The first digit of the requested filename picks one of eight slots, two each for Bitpie, TokenPocket, imToken, and Trust Wallet, and every download gets a random suffix. 

Figure 4: The download controller’s desktop block, 20-request cap, and eight slots. 

The comments label each brand’s two slots 大哥, “big brother,” and 千, qian, the same name that appears in the operators’ database user and redirect domains. The pairs could mark two operators or two customers. 

Other panel versions added referrer checks, decoy pages, QR codes, and chunked downloads. The other three brands appear only in panel code and templates. Only the imToken app reached our analysis, so the next three steps follow that sample. 

3. Patch the startup 

The attackers left imToken’s own startup code alone. Instead, they patched a standard Android support library bundled inside the app, so every launch makes one extra call into their code: 

MultiDexApplication.attachBaseContext(context) 
  -> Application.attachBaseContext(context) 
  -> MultiDex.install(context) 
  -> net.my.DskTimeWork.svd(context) 

That last call lands in a file the attackers added, classes8.dex, and runs every time the app starts, before the rest of imToken loads. 

4. Hand over the seed phrase 

The added file is small, about 24 KB, and hides its logic in a stripped native library, libbgdcfc.so, as compiled ARM code rather than readable Java. It also holds the app’s only copy of imToken’s wallet core, the module the interface calls to create, import, and export wallets. In this build, every wallet operation runs through the attackers’ file. 

The app’s screens were patched too. In three places, right after a user creates or imports a wallet, the interface makes one extra call into that native code. Each insertion is marked by a stray double semicolon and a random variable name. 

On the import screens, that call carries what the user just typed: the seed phrase or private key, plus the wallet password. On the creation screen, it carries the newly generated seed phrase. Figure 5 shows all three calls. 

Figure 5: The three injected calls and the native methods they reach in classes8.dex. 

The handoff itself is in the code: seed phrases created or imported through these screens go straight to the attackers’ library. 

5. Leave the address out 

The same file holds the upload code, and it names its targets outright. Its settings use zjc, the pinyin abbreviation for 助记词 (mnemonic phrase), key, and ciyu (phrase), and its upload functions are named for keys and mnemonics. The two fields meant to hold the upload addresses ship empty. 

Figure 6: The implant’s config and upload classes, with both upload addresses empty. 

We found no upload address anywhere in the app, including its native library. The code suggests the address is supplied once the app is running. Earlier patched-wallet research documented Android samples with hardcoded server names. This one gives defenders no address to block. Our analysis is static: we did not run the app, trace the native code past the handoff, or capture any traffic. 

Two product lines, one build environment 

The panel’s build history ties the factory to the botnet. Thirty-nine versioned wallet-panel releases, dated Nov. 11, 2024, through Dec. 18, 2025, carried the botnet’s GH0ST_C2 and GH0ST_ORIG_EP settings, months before the Hermes Agent phase covered in our first report. 

Up close, the two product lines look different. The factory is Chinese-language throughout, with Chinese code comments, PRC timezone settings, and Chinese ICP license numbers on the fake sites. The botnet’s operators left signals pointing to Costa Rica. Both lines were built in the same environment for more than a year, but the archive does not prove that one person or group ran both. 

What remains online 

Our first report found the known phishing sites, content delivery network, and six of seven registries online on Sept. 3. A narrower passive check on Oct. 26 found several core wallet domains still provisioned, while older redirect generations were dead at DNS. 

These are the counterfeit-wallet sites we captured in August and the host that delivered the fake imToken app, with their status on Oct. 26: 

Role in August Domain Status on Oct. 26 
Fake Bitpie site (Figure 2) buuyii[.]com Same address as August; certificate valid through Dec. 5; listed on Bitpie’s scam-domain list 
Fake TokenPocket site (Figure 3) wj-dtxh[.]com Same address as August; certificate valid through Dec. 13 
Fake TokenPocket site (same template as Figure 3) workeredu[.]org Same address as August; certificate valid through Dec. 13 
TokenPocket-branded SEO site idr[.]com[.]cn Same address as August; certificate renewed Oct. 24, valid through Jan. 22, 2027 
Delivered the fake imToken APK on Aug. 29 down5[.]upimtoken[.]com Resolves through Cloudflare; certificate renewed Oct. 20, valid through Jan. 18, 2027 

Two of these certificates were renewed in the week before our check, so the hosting was still being maintained. The download host is set up on purpose rather than caught by a wildcard DNS record, and the Aliyun storage bucket from August still routes. 

This check used only public DNS records and Certificate Transparency data. We did not connect to any of these sites, so we cannot say whether the fake pages or the APK are still being served. 

How to detect the fake wallet 

The fake app is a convincing copy of a real wallet, but its package, signer, and patches give it away. The checks below will help you find it, including builds we have not recovered. 

1. Check the signer 

Genuine imToken is signed by ConsenLabs. This copy uses package name com.ledaacba and a self-signed V1 certificate under META-INF/DJEBDFI.RSA. Compare any imToken APK against the official hashes. 

2. Hunt the patches 

Look for classes8.dex, libbgdcfc.so, the net.my and bgdcfc0 namespaces, and an attachBaseContext call into an added native method. In the JavaScript bundle, look for calls to importWalletFromMnemonicMnemonic or importWalletFromPrivatePrivateKey. 

3. Replace an exposed wallet 

If a seed phrase was created in or typed into an untrusted wallet app, create a new wallet on a clean device and move the funds. A new app password does not change the seed. 

4. Get wallets from the source 

Download wallet apps from the publisher’s site or a verified store listing, not from search results, ads, QR codes, or direct APK links. 

5. Check your ThreatDown detections 

ThreatDown Mobile Security detects the sample analyzed in this report. In the Nebula console, the detection appears as “Malware”. 

Indicators of compromise 

The file hashes and package markers below come from the recovered sample. The infrastructure indicators are contextual and dated. 

Type Indicator Notes 
APK SHA-256 4258f2dc154e565ebf655fa7dafaed338a23add11e8d858dee80bcea948c5082 Recovered fake imToken application 
APK MD5 96302676cd1aff58e08945070118ee2a Recovered fake imToken application 
Primary DEX SHA-256 0227093c95589e6d465f0570d3988753bdd56d5b9eaf0916a5abd6707e877702 Primary application bytecode 
classes8.dex SHA-256 ee0171d748be62e372faaa580191b13808c24ec1a4ce68fcb7e9ec79bd3876a1 Added Dalvik Executable file 
React Native bundle SHA-256 026ef6cbfbcbdb8c148a0f75926cbf2dac262793b73fc5c67046ab2b4ff9b741 Patched index.android.bundle 
ARM64 library SHA-256 88d661944dea718980d5ef009ed81f0feaa82d763b5d51c6d15b71eb5869b3a7 Added native library for ARM64 devices 
ARMv7 library SHA-256 aea268f6cc6eeae1771c454c8d940e4ff85d67ebb741f3d0a94a6459b11606a9 Added native library for ARMv7 devices 
Executable and Linkable Format (ELF) Build ID 5ea520da3cac422851e2da9d157b0e118f48fad4 ARM64 native-library build identifier 
Package com.ledaacba Repackaged application identifier 
Added namespaces net.my.*, bgdcfc0.* Namespaces added by the implant 
Native library libbgdcfc.so Native library loaded by the implant 
Configuration markers z_up_url_key, z_up_url_mnc, z_up_code_1, z_up_code_2, z_up_ciyu Implant configuration fields 
Upload-labeled methods key_up, mnc_up, mnc_up_lst, mnc_up_str_fg1 Functions labeled for data upload 
Injected bundle calls importWalletFromMnemonicMnemonic, importWalletFromPrivatePrivateKey Native methods called from the patched import and create flows 
Historical delivery host down5[.]upimtoken[.]com Historical Android delivery route 
Historical storage host dfhgdf[.]oss-accelerate[.]aliyuncs[.]com Historical object-storage route 
Contextual fake-site domains wj-dtxh[.]com, workeredu[.]org, buuyii[.]com, idr[.]com[.]cn Fake-wallet domains retained for context 

Shared provider addresses and current DNS resolution should not be treated as standalone evidence that malicious content is present. 

ThreatDown is ranked as a leader in EDR + MDR by G2
G2 Leader
Request demo

Sign up to get the latest threat intelligence.

Subscribe to newsletter
ThreatDown is ranked as a leader in EDR + MDR by G2
G2 Leader
Request demo