BoxDroid is an tool, built on top of runtime GUI, for detecting repackaging Android app pairs.
Datasets can be downloaded by clicking following link.
The environment settings used in our evaluations are listed as follow:
Operating System: Unubtu18
Java SDK: 1.8.0_362
Android SDK :
build-tools: 27.0.0
Emulator:
Android Studion Device Emulator
Pixel XL API 27
1. Create AVD via Android Studio
The AVD settings used in our evaluation are:
Device: Pixe XL
Android API: 8.1 API 27
Size: 480
Procesors: 4
Memeory Size: 4096 MB
Network: NAT (some app require internet access)
Open the deploy directory of Avd (e.g., /home/username/.android/avd/original). The path of the deploy directory can be found via clicking Device Manger->...->Show on Disk of the GUI of Android Studio.
Copy the directory of the above created AVD to a location other than the deploy directory, the name of directory should be same as the avd's original directory name(e.g., /home/username/.android/avd/Pixel_XL_API_27.avd).
3. Edit the configuration file bm_gen.properties accordingly.
For description about the parameters, please refer to the Description page of bm_gen.properties.
4. Execute following command to generate birthmark:
1.Edit the configuration file bm_compare.properties accordingly.
For description about the parameters, please refer to the Description page of bm_compare.properties.
2. Execute following command to compare birthmark: