Bootstrap

加固与脱壳01 - 环境搭建

虚拟机

VMWare 多平台可用,而且可以直接激活,需要先注册一个账号

  • https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware+Workstation+Pro

KALI

类Ubuntu系统,官方提供了 vmware 版本,直接下载就可以使用。

  • https://www.kali.org/

zsh 配置,强烈建议最先安装 oh-my-zsh,安装很简单,按照提示来就行:

  • https://ohmyz.sh/

zsh 插件,必装,README 里面也有详细安装说明:

  • https://github.com/zsh-users/zsh-autosuggestions

  • https://github.com/zsh-users/zsh-syntax-highlighting

自己的 .sh 脚本:

  • 建议新建一个目录,将这个目录添加到 PATH,专门存放脚本,比如 adb xxx 命令,下载命令等

虚拟机网络配置

在IDA调试的时候,需要连接其他的设备,比如 Windows 或者 Android 设备,需要先能够 ping 通才行。

在虚拟机网络设置里面(编辑 - 虚拟网络编辑器 - Vmnet 信息)选择桥接模式,桥接到主机网卡即可。

虚拟机科学上网,可以使用 clash 插件,github 上有 linux 版的:

  • https://github.com/wnlen/clash-for-linux

但是建议买个可以刷梅林固件的路由器,在路由器里面设置 clash,一劳永逸:

  • https://t.me/merlinclashcat

Android 环境配置

Android Studio 需要下载 gradle,所以得翻一下,安装好之后记得配置环境变量。

  • https://developer.android.com/studio?hl=zh-cn

Visual Studio Code

便于编写 frida 脚本。

  • https://code.visualstudio.com/

  • https://github.com/oleavr/frida-agent-example

Frida配置

Python,强烈建议安装 pyenv,随意切换 python 版本,有时候新版 frida 不稳定的时候,就可以一键切版本。

  • https://github.com/pyenv/pyenv

Frida:

  • https://github.com/frida/frida

Frida-tools:

  • https://github.com/frida/frida-tools

Objection:

  • https://github.com/sensepost/objection

010Editor

二进制文件分析,有很多模板:

  • https://www.sweetscape.com/010editor/

linux可以无限白嫖:

rm ~/.config/SweetScape/010\ Editor.ini

JADX

按照 README 里面的安装即可,试了 pacman 与 Flathub 都可以 :

  • https://github.com/skylot/jadx

JEB

自行下载吧,有google drive 连接,上传了阿里云盘后无法分享。

  • https://bbs.kanxue.com/thread-259895.htm

IDA PRO

so 反编译软件:

  • https://pan.quark.cn/s/d3d662966d16

GDA

国产反编译软件,有些 jadx 反编译出问题的,可以使用这个软件,只有 windows 版本:

  • http://www.gda.wiki:9090/

;