You Open Telegram—And There’s a Trojan. Of Course, No One Even Noticed
Researchers have discovered a new packer called Ducex, which conceals one of the most dangerous mobile malware strains—the Triada trojan—using advanced encryption and obfuscation techniques. Analysis in the ANY.RUN interactive sandbox revealed just how far Android threat developers have come in bypassing security measures.
Ducex was first spotted in a fake Telegram app. While not malicious itself, it plays a crucial role—making the real Trojan nearly impossible to detect. The packer acts as a masking layer, hiding Triada’s malicious activity and significantly complicating the work of security analysts.
How Ducex Evades Detection
Ducex’s architecture is built on multi-layered encryption and stealth techniques:- Modified RC4 algorithm combined with custom byte shuffling makes standard decryption tools useless.
- Dynamic XOR encryption with a 16-byte rotating key scrambles all strings, rendering static analysis ineffective.
- The Triada payload is hidden inside classes.dex as a non-standard extended section, avoiding suspicion since the malicious code doesn’t appear as a separate file.
- The first 2048 bytes of DEX modules are encrypted, obscuring critical code segments.
Anti-Analysis Tricks
- Obfuscated control flow: Simple functions are overloaded with convoluted loops and conditions to deter manual analysis.
- APK signature check: If the signature doesn’t match, the app crashes—preventing tampering or repackaging for analysis.
- Anti-debugging: Ducex detects tools like Frida, Xposed, and Substrate, instantly terminating execution if they’re found in memory.
Double-Layered Encryption & Execution
Ducex employs two encryption methods:- Modified RC4
- Chinese SM4 block cipher
Why This Matters
Ducex acts as a multi-stage shield for Triada, designed to thwart even the most advanced analysis attempts. This highlights:- The sophistication of modern mobile threats.
- The urgent need for new defense strategies in cybersecurity.
TL;DR:
A new packer, Ducex, hides the Triada trojan inside fake Telegram apps using advanced encryption, anti-analysis tricks, and multi-stage decryption. It’s so stealthy that even security tools often miss it, proving that mobile malware is evolving faster than defenses.
Would you like a deeper breakdown of how Triada operates once deployed? Or ways to detect such threats?
