首页
社区
课程
招聘
[原创]android业务安全知识点
2022-7-12 12:38 8876

[原创]android业务安全知识点

2022-7-12 12:38
8876

主要是梳理一下Android业务安全涉及到的知识点,不定期更新,欢迎补充。

书籍

第一行代码——Android(第3版)
Android应用安全防护和逆向分析
Android软件安全权威指南
深入理解Android:Java虚拟机ART

博客

http://91fans.com.cn/
https://blog.vivcms.com/
https://www.qinless.com/
http://www.520monkey.com/
https://www.cnblogs.com/2014asm/
还有一些付费的培训课程知识星球等等,可以自己酌情付费学习。

工具和教程

root

1.KernelSU和Magisk
https://github.com/tiann/KernelSU
https://github.com/topjohnwu/Magisk
2.相关模块
安装证书:https://github.com/ys1231/MoveCertificate
改system分区:https://github.com/HuskyDG/magic_overlayfs

flutter逆向

https://github.com/Impact-I/reFlutter
https://github.com/worawit/blutter

java层反编译

jadx,GDA,JEB,androguard

native层反编译

ghidra,IDA Pro,binary ninja

动态函数调用

https://github.com/libffi/libffi

混淆反混淆

MBA表达式

https://github.com/DenuvoSoftwareSolutions/GAMBA

DEX控制流混淆

https://github.com/CodingGay/BlackObfuscator

ollvm

我之前总结过对抗ollvm的常见方法:https://bbs.kanxue.com/thread-272414.htm

硬件断点

https://github.com/abcz316/rwProcMem33
(教程:https://bbs.kanxue.com/thread-278647.htm)

frida

1.hluwa和r0ysue大佬发布的frida教程:https://github.com/hookmaster/frida-all-in-one
2.kevinspider的教程:
https://kevinspider.github.io/frida/frida-hook-java/
https://kevinspider.github.io/frida/frida-hook-so/

基于frida的一些好用的工具

1.跟随frida上游自动修补程序,并为Android构建反检测版本的frida-server:https://github.com/hzzheyang/strongR-frida-android
2.基于frida实现的逆向工具包:https://github.com/sensepost/objection
3.跟踪app的JNI调用:https://github.com/chame1eon/jnitrace
4.快速分析Java类/对象结构的objection插件:https://github.com/hluwa/Wallbreaker
(原理介绍:https://bbs.kanxue.com/thread-260110.htm)
5.精简版objection+Wallbreaker:https://github.com/r0ysue/r0tracer
6.frida+QBDI trace:
https://github.com/lasting-yang/frida-qbdi-tracer

抓包

1.安卓应用层抓包通杀脚本:https://github.com/r0ysue/r0capture
(原理介绍:https://mp.weixin.qq.com/s/lMV1UZYOaSRJjMa8PNFkow)
2.拦截okhttp的脚本:
https://github.com/siyujie/OkHttpLogger-Frida
https://github.com/httptoolkit/frida-android-unpinning
3.基于eBPF技术实现TLS加密的明文捕获:https://github.com/ehids/ecapture
4.Android HTTPS认证的N种方式和对抗方法总结 :https://ch3nye.top/Android-HTTPS%E8%AE%A4%E8%AF%81%E7%9A%84N%E7%A7%8D%E6%96%B9%E5%BC%8F%E5%92%8C%E5%AF%B9%E6%8A%97%E6%96%B9%E6%B3%95%E6%80%BB%E7%BB%93/
5.通用SSL pinning bypass脚本:
https://gist.github.com/incogbyte/1e0e2f38b5602e72b1380f21ba04b15e

脱壳

so fix

https://github.com/F8LEFT/SoFixer

dump dex

在内存中搜索并dump出dex文件的工具
https://github.com/hluwa/FRIDA-DEXDump
(原理介绍:https://bbs.kanxue.com/thread-257829.htm)

dump il2cpp

https://github.com/Perfare/Il2CppDumper
https://github.com/Perfare/Zygisk-Il2CppDumper
linux/macOS版:
https://github.com/AndnixSH/Il2CppDumper

函数抽取壳

脱函数抽取壳基本都是采用主动调用的思路。
代表工具:dexhunter,FUPK3,FART
实现demo:
1.分享一个自己做的函数抽取壳:https://bbs.kanxue.com/thread-271139.htm
2.Android中实现「类方法指令抽取方式」加固方案原理解析:http://www.520monkey.com/archives/1118

java2c

大佬开源的java2c实现方案:https://github.com/amimo/dcc

加固分析

1.360
https://bbs.kanxue.com/thread-280609.htm
2.百度
https://bbs.kanxue.com/thread-257926.htm

hook

PLT hook

https://github.com/bytedance/bhook

inline hook

3.https://github.com/jmpews/Dobby
4.https://github.com/bytedance/android-inline-hook

模拟

unicorn系列工具

unidbg,AndroidNativeEmu,ExAndroidNativeEmu
龙哥的unidbg系列教程:https://blog.csdn.net/qq_38851536/category_11102404.html

Qiling

使用Qiling仿真框架运行Android Runtime:https://bbs.kanxue.com/thread-272605.htm

密码学

工具

1.寻找加密算法常量:findcrypt
2.提供各种加密算法的在线web工具:https://gchq.github.io/CyberChef/

白盒AES

记一次某汽车app白盒aes还原过程 :https://bbs.kanxue.com/thread-280600.htm


[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

最后于 2024-3-11 16:46 被houjingyi编辑 ,原因: update
收藏
点赞11
打赏
分享
最新回复 (7)
雪    币: 7803
活跃值: (21241)
能力值: ( LV12,RANK:550 )
在线值:
发帖
回帖
粉丝
随风而行aa 10 2022-7-12 16:57
2
0
点个赞
雪    币: 1677
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
mb_ljtkvdky 2022-7-12 17:44
3
0
reFlutter现在地址是
https://github.com/Impact-I/reFlutter
雪    币: 410
活跃值: (1163)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
如梦而醉 2022-7-12 17:56
4
0
这个91fans想多了
雪    币: 3758
活跃值: (5475)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
huangjw 2022-7-12 18:16
5
0
各种方式的加密特征,可以参考资料吗,  比如aes des rsa等加密的特征的学习材料?
雪    币: 5645
活跃值: (6533)
能力值: ( LV15,RANK:531 )
在线值:
发帖
回帖
粉丝
houjingyi 11 2022-7-15 10:47
6
0
已更新
雪    币: 225
活跃值: (213237)
能力值: ( LV4,RANK:40 )
在线值:
发帖
回帖
粉丝
shinratensei 1 2022-7-15 11:26
7
0
CyberChef用起来相当不错
雪    币: 576
活跃值: (2035)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
kakasasa 2022-7-15 12:52
8
0
感谢分享,收藏了
游客
登录 | 注册 方可回帖
返回