General Introduction
Ape Mouth Calculator Reverse Notes is an open source project that aims to document and share the process and methods of reverse engineering the Ape Mouth Calculator application. The project contains a variety of reverse tools and techniques for the use of instructions , such as Frida, dexdump , etc., to help users understand and crack the Ape Mouth Calculator encryption algorithms and data transmission methods. The project is rich in content and covers detailed steps from environment building to specific operations, making it a valuable resource for reverse engineering enthusiasts and researchers.
Function List
- Documenting the reverse engineering process of the Ape Math application
- Provides Frida scripts and instructions for use
- Introducing the dexdump utility
- Share decryption algorithms and packet analysis tips
- Provide detailed steps and sample codes
Using Help
Environment Setup
- Installation of the emulator: Download and install mumu emulator, follow the official tutorial to install Magisk, Lsposed and Algorithmic Assistant in order.
- Install Ape Dictation App: Install the Ape Mental Math App in the emulator and set up the Algorithm Assistant to allow WebView remote debugging.
- browser debugging: Open Chrome or Edge, respectively, and go to the
chrome://inspect
maybeedge://inspect
page, start the Ape Oral Arithmetic App and enter the Oral Arithmetic PK interface, go back to the browser's INSPECT page, wait for the PK link debugging button to be displayed, and click Debug.
Reversing with Frida
- Download Frida: Download the corresponding version of Frida-server from the official Frida repository and extract it to any directory of the emulator.
- Starting Frida-server: Push Frida-server to the emulator directory via ADB command and start it with root privileges.
- Injecting Scripts: Install Frida and Frida-tools on your computer, and inject the reverse script into Ape Math via the command line, for example:
frida -U -n 小猿口算 -l . /hook_JsBridgeBean_sign.js
Packet analysis and decryption
- packet analysis: Use Frida scripts to capture the packets of Ape's oral arithmetic and analyze the encryption algorithms and data transmission methods in them.
- decryption algorithm: The project provides implementations of various decryption algorithms and sample code, which can be modified and tested by the user as needed.
- Simulation requests: Verify the correctness of the decryption algorithm by analyzing the obtained test questions and answers and using a script to simulate a request to submit an answer.
sample code (computing)
The project contains several sample code files, such asexercise.ts
,request.ts
etc. Users can refer to these codes for specific implementation details and operation methods.