安卓app刷机+逆向环境配置

  1. 一、摘要
  2. 二、刷机
  3. 三、root
  4. 四、frida配置
  5. 四、reqable抓包

一、摘要

预先善其事,必先利其器。
本文介绍了对pixle3刷机,并配置好逆向环境的过程。
其中刷机采用安卓定制系统,root采用apatch,代码注入采用frida,抓包采用reqable。

二、刷机

参考文章:https://mp.weixin.qq.com/s/1EySfXSucGdiuEBTfLsymA?
20250203212226
官方安装包地址:https://developers.google.com/android/images
点击:flash-all.bat 等待完成即可
开启开发者模式,并允许usb调试连接
20250203212145
20250203212029

三、root

apatch下载地址:https://github.com/bmax121/APatch
20250203212458
adb install xx 推送到手机
20250203212629

adb push boot.img /sdcard/download/boot.img
20250203213654
20250203213808
20250203213854
adb pull /storage/emulated/0/Download/apatch-patched_10763_0.10.7_ktjI.img ./new_boot.img
20250203214524
手机进入bootloader模式adb reboot bootloader,然后fastboot flash boot new_boot.img,最后fastboot reboot,重启手机。
打开apatch,
20250203214912
输入之前设置的密钥:abcd1234
20250203214953
20250203215227

四、frida配置

pc端运行命令:pip install frida-tools
20250203215604
输入pip list | Select-String -Pattern "frida"
20250203215804
去github找对应的frida-server
github地址:https://github.com/frida/frida/releases/tag/16.6.4 (版本号要和pc端一致)
20250203220044
将文件解压缩后推送到手机:adb push frida-server-16.6.4-android-arm64 /data/local/tmp/fs
20250203220744
20250203221130
frida-server 安装成功。

四、reqable抓包

reqable下载地址:https://reqable.com/zh-CN/
pc端和安卓端都安装
20250203221444
pc端引导安装证书到手机
20250219171730
手机端打开reqable扫描协同二维码
20250203222058
手机浏览器访问https://httpbin.org/get
20250203222427
抓包成功。


转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达,如有问题请邮件至2454612285@qq.com。
跃迁主页