thelok1s/florida-zygisk

GitHub: thelok1s/florida-zygisk

一个在 Android 设备开机时自动启动反检测版 frida-server(Florida)的 Magisk 模块,用于降低动态插桩工具被目标应用识别的概率。

Stars: 1 | Forks: 1

# florida-zygisk — Florida frida-server 模块 [![构建状态](https://img.shields.io/github/actions/workflow/status/thelok1s/florida-zygisk/build.yml?branch=main&label=Build)](actions/workflows/build.yml) [![最新发布](https://img.shields.io/github/v/release/thelok1s/florida-zygisk)](releases/latest) [![下载数](https://img.shields.io/github/downloads/thelok1s/florida-zygisk/total)](releases) 一个在开机时自动启动 **[Florida](https://github.com/Ylarod/Florida)** 的 Magisk / KSU / APatch 模块 — frida-server 的反检测构建版本。 基于 ViRb3 的 **[magisk-frida](https://github.com/ViRb3/magisk-frida)** 模块模板构建。 ## 关于本项目 | 层级 | 来源 | |-------|--------| | 模块安装包 / 服务脚本 | [ViRb3/magisk-frida](https://github.com/ViRb3/magisk-frida) 模板 | | frida-server 二进制文件 (已打补丁) | 将 [Ylarod/Florida](https://github.com/Ylarod/Florida) 补丁应用到 [frida/frida](https://github.com/frida/frida) 源码构建而来 | Florida 在编译前对 frida 应用源码级别的补丁,使其更难通过 常见的启发式规则(端口、进程名、内存映射等)被检测到。 ## 更新机制 GitHub Actions 工作流**每周**运行一次,并检查是否有新的 frida 版本发布。一旦 检测到新版本,它将**从源码构建 Florida** 并在此处发布新的模块 ZIP 文件。 ## 环境要求 * 架构: `arm` · `arm64` · `x86` · `x86_64` * Magisk ≥ 24 · KernelSU · APatch ## 安装说明 1. 从 [Releases](releases) 页面下载最新的 `florida-zygisk-*.zip`。 2. 通过 Magisk Manager / KSU / APatch 刷入。 3. 重启。Florida frida-server 将在开机流程的后期自动启动。 ## 状态与端口 在模块管理器中显示的模块描述会在运行时更新: | 状态 | 描述字段 | |-------|-------------------| | 运行中 | `Running on port (PID=) - tap Action to toggle` | | 已停止 | `Stopped - tap Action to restart` | | 错误 | `ERROR: - check log` | 你也可以从日志中读取端口: ``` adb shell grep "frida-server started" /data/local/tmp/florida-zygisk.log | tail -1 # 或直接阅读描述 adb shell grep "^description=" /data/adb/modules/florida-zygisk/module.prop ``` ## 切换 (KSU Action 按钮) 在 KernelSU 中,模块管理器会在 florida-zygisk 旁边显示一个 **Action** 按钮。 点击它会切换服务器的状态: - **运行中 → 点击 →** 服务器停止,描述更新为 `Stopped` - **已停止 → 点击 →** 服务器在一个新的随机端口上启动,描述更新为包含端口和 PID 的信息 ## 连接 一旦服务器运行起来,转发端口并连接: ``` # 获取当前端口 PORT=$(adb shell grep "^description=" /data/adb/modules/florida-zygisk/module.prop \ | grep -oE '[0-9]{4,5}' | head -1) adb forward tcp:$PORT tcp:$PORT frida -H 127.0.0.1:$PORT ``` ## 日志 ``` adb shell cat /data/local/tmp/florida-zygisk.log ``` ## 本地构建 ``` # 1. 构建 Florida frida-server binaries(需要 Android NDK r29+) export ANDROID_NDK_ROOT=/path/to/ndk git clone --recurse-submodules --branch https://github.com/frida/frida git clone https://github.com/Ylarod/Florida florida-repo cd frida FRIDA_ROOT="$(pwd)" for patch_dir in ../florida-repo/patches/*/; do subproject=$(basename "$patch_dir") cd "$FRIDA_ROOT/subprojects/$subproject" git am "$patch_dir"*.patch cd "$FRIDA_ROOT" done for arch in android-arm android-arm64 android-x86 android-x86_64; do mkdir -p ../build-$arch && cd ../build-$arch ../frida/configure --host=$arch make subprojects/frida-core/server/frida-server cp subprojects/frida-core/server/frida-server ../downloads/frida-server-$arch gzip -9 ../downloads/frida-server-$arch cd .. done # 2. 打包为 Magisk module ZIP FRIDA_VERSION= RELEASE_TAG= GITHUB_REPO=thelok1s/florida-zygisk python3 build.py # 结果:build/florida-zygisk-.zip ``` ## 致谢 - **[Ylarod/Florida](https://github.com/Ylarod/Florida)** — 反检测补丁与灵感 - **[ViRb3/magisk-frida](https://github.com/ViRb3/magisk-frida)** — 模块模板与结构 - **[frida/frida](https://github.com/frida/frida)** — 插桩工具包本体 ## 许可证 查看 [LICENSE](LICENSE)
标签:Cutter, Docker支持, Frida, Hakrawler, Magisk模块, 云资产清单, 安卓, 目录枚举, 移动安全, 逆向工具, 逆向工程