Skip to content

Repository files navigation

ReArk

English | 简体中文

ReArk is a professional reverse engineering tool for HarmonyOS NEXT applications. It analyzes .hap, .app, and .abc files, with support for disassembly, decompilation, string analysis, cross-references, signature inspection, re-signing, package browsing, repackaging, application metadata, Agent-assisted analysis, device interaction, and evidence trace analysis.

ReArk lowers the barrier to HarmonyOS application analysis. Use it to review app security, work through HarmonyOS CTF challenges, reverse application logic, automate interactions on HarmonyOS devices, inspect runtime logs, and build your own analysis workflow.

Installation

Download and run:

ReArk-0.2.0-windows-x64-setup.exe

Feature Highlights

Package Analysis

  • Supports HarmonyOS NEXT .hap, .app, and .abc files
  • Browse package structure, modules, generated source output, resources, signatures, and metadata
  • Inspect signatures and certificate information
  • Search files and quickly open important paths from the package tree

Static Analysis

  • Parse ABC files
  • Disassemble and decompile ABC bytecode
  • Reconstruct source structure and view disassembly or decompiled output for the corresponding source files
  • Inspect ABC strings, hex content, formatted JSON, text, images, and media resources
  • Use ABC trace tools for strings, literals, xrefs, call argument flows, ABC tree inspection, source reading, and disassembly reading
  • Keep analysis grounded in real package clues with less note juggling and context switching

Signing And Packaging

  • Configure signing materials and inspect signing validity
  • Re-sign applications
  • Package and install applications

ReArk Agent

  • Ask contextual questions about the currently opened package
  • Let the Agent inspect package metadata, files, strings, disassembly, and decompiled output when needed
  • Use provider presets for OpenRouter, OpenAI, OpenAI-compatible endpoints, Anthropic, Gemini, Ollama, DeepSeek, DashScope, and Qwen
  • Attach reference documents to enrich AI-assisted analysis with your own notes and materials
  • Drive a full analysis flow across static review, signing and packaging, application installation, launch verification, and log tracing

Device Connection

  • Discover connected HarmonyOS devices
  • Install the current application to a device
  • Capture screenshots, inspect UI nodes, and connect UI clues to the real device state
  • Read Hilog output and perform basic UI actions such as tap, text input, Back, Home, and swipe

Screenshots

Workspace overview Ark disassembly
ReArk workspace overview Ark bytecode disassembly
ABC / Hex inspection Strings
ABC and Hex inspection ABC strings view
ReArk Agent Agent analysis
ReArk Agent workspace ReArk Agent analysis result
Device runtime ABC trace view
HarmonyOS device runtime workspace ABC trace view

Safety and Privacy

Use ReArk only for legally authorized reverse engineering, interoperability research, malware analysis, and security research.

When using ReArk Agent with remote model providers, avoid submitting secrets, certificates, user data, trade secrets, or other sensitive content.

License

ReArk is licensed under the Apache License 2.0. See LICENSE for details.

Third-party notices are listed in THIRD_PARTY_NOTICES.md.

Support

About

鸿蒙 HarmonyOS NEXT APP/HAP/ABC 专业逆向工具,支持反汇编、反编译、交叉引用、Agent智能分析、签名识别、包体浏览、实时投屏、设备操纵、HAP安装等功能。

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages