APK Repackaging
APK Repackaging 是什么?
APK RepackagingAn Android attack technique that unpacks a legitimate APK, modifies its code or resources (ads, trackers, malware, license bypass), repacks and re-signs it, then redistributes the trojanized app through unofficial stores or sideload campaigns.
APK repackaging is one of the foundational Android malware techniques and remains common in 2024–2026 despite App Bundle distribution. The basic workflow is: download a legitimate APK (or AAB), decompile it with apktool/jadx, modify the smali code or resources to inject ad SDKs, info-stealer payloads, banking-trojan overlays, or license-check removals, repack it, and re-sign with the attacker's key (or a stolen key for sideload-trust). The trojanized APK is then redistributed through alternative app stores, file-sharing sites, SMS-phishing links, or malvertising. Repackaged Android banking trojans (Anatsa, Hydra, GodFather, Cerberus successors) and crack-laden 'modded' apps account for a substantial share of Android malware. Google's mitigations include Play Protect signing comparison, Play Integrity 'app integrity' verdicts that detect that the running APK is not the Play-distributed one, key attestation on developer signing keys, and the broader move to Play Asset Delivery and App Bundles which complicate offline repacking. For developers, defenses include obfuscation (R8/ProGuard), native-code anti-tamper checks, server-side attestation, and behavioral fraud signals.
● 示例
- 01
An Anatsa banking-trojan campaign uploads dropper apps disguised as PDF readers to Google Play; the repackaged loader retrieves the full banking-overlay APK at runtime.
- 02
A modded game APK posted to a sketchy forum bundles SocGholish-style info-stealer code, re-signed with a self-generated key.
● 常见问题
APK Repackaging 是什么?
An Android attack technique that unpacks a legitimate APK, modifies its code or resources (ads, trackers, malware, license bypass), repacks and re-signs it, then redistributes the trojanized app through unofficial stores or sideload campaigns. 它属于网络安全的 移动安全 分类。
APK Repackaging 是什么意思?
An Android attack technique that unpacks a legitimate APK, modifies its code or resources (ads, trackers, malware, license bypass), repacks and re-signs it, then redistributes the trojanized app through unofficial stores or sideload campaigns.
APK Repackaging 是如何工作的?
APK repackaging is one of the foundational Android malware techniques and remains common in 2024–2026 despite App Bundle distribution. The basic workflow is: download a legitimate APK (or AAB), decompile it with apktool/jadx, modify the smali code or resources to inject ad SDKs, info-stealer payloads, banking-trojan overlays, or license-check removals, repack it, and re-sign with the attacker's key (or a stolen key for sideload-trust). The trojanized APK is then redistributed through alternative app stores, file-sharing sites, SMS-phishing links, or malvertising. Repackaged Android banking trojans (Anatsa, Hydra, GodFather, Cerberus successors) and crack-laden 'modded' apps account for a substantial share of Android malware. Google's mitigations include Play Protect signing comparison, Play Integrity 'app integrity' verdicts that detect that the running APK is not the Play-distributed one, key attestation on developer signing keys, and the broader move to Play Asset Delivery and App Bundles which complicate offline repacking. For developers, defenses include obfuscation (R8/ProGuard), native-code anti-tamper checks, server-side attestation, and behavioral fraud signals.
如何防御 APK Repackaging?
针对 APK Repackaging 的防御通常结合技术控制与运营实践,详见上方完整定义。
APK Repackaging 还有哪些其他名称?
常见的别称包括: APK trojanization, App repackaging。
● 相关术语
- mobile-security№ 053
Android 恶意软件
针对 Android 操作系统的恶意软件,通常通过侧载 APK、Google Play 上的 dropper 应用或被入侵的第三方应用商店进行传播。
- mobile-security№ 773
移动应用商店攻击
滥用移动应用分发渠道 (Google Play、Apple App Store、厂商应用商店或第三方市场) 向受害者投递恶意或重打包应用的攻击。
- mobile-security№ 772
移动应用安全
通过设计、开发和测试 iOS 与 Android 应用来保护用户数据、防止逆向工程并抵御运行时篡改的实践。
- mobile-security№ 499
Google Play Integrity API
Google's server-side device-and-app attestation API for Android, the successor to SafetyNet Attestation, used by apps to verify they are running on a genuine, unmodified device with the official, Play-distributed binary.
- malware№ 100
银行木马
专门窃取网上银行凭据并授权欺诈交易的恶意软件,通常通过网页注入、表单抓取或界面覆盖实现。
- malware№ 1299
特洛伊木马
伪装成合法程序、诱使用户运行并执行隐藏恶意载荷的恶意软件。