lkimuk

ReArk

lkimuk

ReArk is a desktop reverse engineering tool that unpacks HarmonyOS HAP/ABC, Android APK, iOS IPA and PE/ELF binaries for decompilation, signature inspection and live device debugging, with an AI agent alongside.

v1.2.0
Published at
Oct 26, 2026
1.0k
Stars
7.3k
Download

Latest release

v1.2.0Oct 26, 2026, 03:01 PM
Downloads slow? Switch the source anytime above

README

Project Overview

ReArk reads HarmonyOS HAP/APP/ABC, Android APK/AAB, iOS IPA and native Windows PE, ELF and Mach-O binaries into one workspace and returns decompiled code, resource listings, signature chains and mitigation results. It is built in C++20 with CMake and a Qt 6 Quick interface, and the installer bundles HarmonyOS hdc plus packing and signing jars, so devices can be reached without DevEco or the Android SDK. Static analysis and live device control share the same window, and unclear findings can be handed to ReArk Agent.

Item Value
Platform Windows 10+ x64, macOS 14+ Apple Silicon
Stack C++20, Qt 6 Quick/QML, CMake with vcpkg
Current version v1.2.0
Inputs HAP, APP, ABC, APK, AAB, IPA, PE, ELF, Mach-O
License Apache-2.0

Unpack the package, read the code, attach the device and let the agent tie the findings together, all in one window.

Supported Formats

Input What it does
HAP / APP (HarmonyOS) Package structure, modules, ABC disassembly and decompilation, strings and cross references, resigning and repacking, installing to a device
ABC Bytecode disassembly, literal search, call argument flow analysis, hex view
APK / AAB Manifest, permissions, components, entry points, Java-like decompilation, bounded edits with repack, align and sign
IPA Package summary, signature and certificate chain, legacy plist compatibility
PE / ELF / Mach-O Headers, sections, imports and exports, relocations, dependencies and mitigation checks

Key Features

  • ABC analysis: disassembles and decompiles HarmonyOS bytecode, pairing strings, literals and cross references to locate key logic
  • Native binaries: opens exe, dll, ELF and Mach-O files directly to check ASLR, DEP/NX, PIE, RELRO, stack canary and CFG
  • Signing: inspects certificates and validity, then resigns and repacks HarmonyOS packages with configured signing material
  • Dynamic analysis: Frida instrumentation, CPU emulation, memory dumping and dynamic debugging
  • Device runtime: HDC discovers HarmonyOS devices and ADB discovers Android devices, with install, launch, screenshot, log reading and UI node inspection
  • Live mirroring: drive the device with mouse and keyboard in fullscreen or a separate window, with recording, audio and clipboard where the device supports it
  • ReArk Agent: contextual Q&A about the current package that reads package files, strings and decompiled output on demand, with reference documents attached
  • Model backends: OpenAI-compatible endpoints, local Ollama, llama-server, and external tools through an MCP Server
  • Clone detection: flags signs that an app has been cracked or tampered with

Target Audience

  • Developers researching HarmonyOS compatibility and interoperability
  • Security engineers auditing package signatures and permissions
  • Reverse engineering learners working on CTF challenges and samples
  • Client developers tracing package size, dependencies and entry points on Android and iOS

Quick Start

  1. Install ReArk-1.2.0-windows-x64-setup.exe or ReArk-1.2.0-macos-arm64.dmg from Releases
  2. Drag a HAP, APK or IPA onto the welcome page; the package tree appears on the left
  3. Read package name, version, permissions and signatures on the summary page, then enter decompilation from the module tree
  4. Before attaching a device, confirm hdc and adb exist in the plugin folder, then start mirroring from the runtime page
  5. Open ReArk Agent, enter the model endpoint and key in Settings, and reference package files and strings directly in the conversation
  6. To try it out, open the bundled samples/ packages such as contacts.hap and shctf.app

System Requirements

Item Requirement
OS Windows 10 or later; macOS 14.0 or later
Architecture Windows x64; macOS Apple Silicon
Packages ReArk-1.2.0-windows-x64-setup.exe, ReArk-1.2.0-macos-arm64.dmg
Device connection USB debugging or HDC authorization, ADB on the Android side
Build from source CMake 3.21+, Qt 6 (Quick, Multimedia, Network), vcpkg and the hyle decompiler package
Model service Remote OpenAI-compatible endpoint or local Ollama, optional

Notes

  • Linux not released: the Linux x64 build is listed for the next version
  • Capabilities vary by format: ABC tracing and HarmonyOS resigning only apply to HarmonyOS packages, and dynamic results depend on OS version and device capability
  • Agent sends content out: with a remote model, package strings and decompiled snippets travel in the request, so use local Ollama for sensitive samples
  • Authorized use only: intended for licensed reverse engineering, interoperability research and malware analysis

Release history

Sort