重新定位与模拟:重新托管Android应用层
Relocate and Emulate: Re-Hosting Android's Application Layer
AI总结:
提出一种系统化方法,将Android框架和预装软件从真实设备固件迁移到完全模拟环境中,生成供应商风格模拟器镜像,实现可扩展、可复现的动态分析。
摘要:
Android应用层的动态分析通常依赖物理设备,限制了可扩展性和可重复性。为弥补这一不足,我们引入了一种系统化的重新托管方法,将Android框架和预装软件从真实设备固件迁移到完全模拟的环境中。我们的方法通过定制的提取和注入策略,将供应商特定组件集成到Android开源项目(AOSP)构建系统中,生成保留系统完整性和运行时兼容性的供应商风格模拟器镜像。这使得我们能够在多个SDK版本上动态执行真实世界的框架和应用层组件,包括专有二进制文件和预装应用。我们在SDK 31-33的184个固件样本上评估了该方法,取得了较高的构建和启动成功率,剩余失败主要发生在核心服务初始化阶段,原因包括基线策略限制、缺少依赖、设备保护检查或模拟器约束。然而,模块化设计允许针对特定固件扩展注入策略,支持更广泛的兼容性和未来关于自动化、自适应重新托管的研究。尽管我们认识到通过工程化供应商特定解决方案存在优化潜力,但我们的研究证明了供应商风格模拟器用于可扩展、可重复动态分析的可行性。
英文摘要:
Dynamic analysis of Android's application layer typically relies on physical devices, limiting scalability and reproducibility. To compensate, we introduce a systematic re-hosting method that relocates the Android framework and pre-installed software from real device firmware into a fully emulated environment. Our approach integrates vendor-specific components into the Android Open Source Project (AOSP) build system using tailored extraction and injection strategies, producing vendor-flavoured emulator images that preserve system integrity and runtime compatibility. This enables dynamic execution of real-world framework and application-layer components, including proprietary binaries and pre-installed apps, across multiple SDK versions. We evaluate our method on 184 firmware samples from SDK 31-33. It achieves high build and boot success rates, with residual failures primarily occurring during core-service initialization due to baseline strategy limitations, missing dependencies, device-protection checks, or emulator constraints. However, the modular design allows injection strategies to be extended for specific firmware, supporting broader compatibility and future research on automated, adaptive re-hosting. Though we identified potential for optimization through engineering vendor-specific solutions, our research demonstrates the feasibility of vendor-flavoured emulators for scalable, reproducible dynamic analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。