安卓逆向篇&LSP 模块&HOOK 添加技术&绕过检测&算法解密&逻辑验证

前置解释:
0 、 Magisk :
是当前 Android 社区用来获取 root 权限的主流方式开源工具
1 、 LSP 框架:
XPosed 框架因只支持安卓 8 及以下,故高版本应使用 Magisk+LSPosed
2 、 HOOK 技术:
钩子技术,本质就是劫持调用,将自身的代码 " 融入 " 被勾住( Hook )的程序的进程中
3 、算法助手:
LSPosed 下的模块,集成常见功能外加自定义 HOOK 方便逆向调试
安装使用:见上次( 88-1 天内容环境安装搭建录像)
#APK 逆向 - 反编译 &LSP&HOOK- 绕检测
private final void K() {
LogUtils.b("niming", "===AppUtils.isAppRoot():" +
com.blankj.utilcode.util.c.r() + " DeviceUtils.isDeviceRooted() "

  • w.q());
    if (!A() && !m.a(this.activity)) {
    if (a((Context) this)) {
    h(" 检测到您使用了代理软件 , 不允许继续使用 ");
    return;
    }
    h.a().a(com.niming.weipa.b.a.n, "");
    x();
    return;
    }
    h(" 检测到您使用的是模拟器或者设备已经 root, 不允许继续使用 ");
    }
    1 、模拟器: goto :end end
    2 、 mg+lsp+ 算法组手 自带屏蔽 hook
    3 、代理检测: postern
    HOOK
    1 、 com.blankj.utilcode.util.c
    r -> 0
    2 、 com.blankj.utilcode.util.w
    q -> false


    解密可以用hook定位堆栈 也可以用反编译找对应函数
相关推荐
不吃凉粉18 小时前
Android Studio USB串口通信
android·ide·android studio
zhangphil18 小时前
android studio设置大内存,提升编译速度
android·android studio
编程乐学19 小时前
安卓非原创--基于Android Studio 实现的天气预报App
android·ide·android studio·课程设计·大作业·天气预报·安卓大作业
大熊的瓜地21 小时前
Android automotive 框架
android·android car
私人珍藏库1 天前
[Android] Alarm Clock Pro 11.1.0一款经典简约个性的时钟
android·时钟
消失的旧时光-19431 天前
ScheduledExecutorService
android·java·开发语言
小糖学代码1 天前
MySQL:14.mysql connect
android·数据库·mysql·adb
怪兽20141 天前
请谈谈什么是同步屏障?
android·面试
帅锅锅0071 天前
SeLinux 全面详解
android·linux
只想搞钱的肥仔1 天前
Android thermal (5)_cooling device(下)
android