This model helps to identify ransomware applications for Android. This is the trained version and includes the files needed to classify .apk samples.
- Rust (version >= 1.68) and Python (version >= 3.9) must be installed.
- Create a virtual environment:
pip install virtualenv python -m venv <virtual-env-name> ./<virtual-env-name>/Scripts/activate
- Install maturin to run Rust.
pip install maturin
- Build the crate and install it as a python module in the current virtualenv:
maturin develop
- Create a folder with the name
files
INSIDE THE ROOT DIRECTORY. And add files as needed, with different extensions, such as .png, .jpeg, .txt. - Run the script:
python ./model/model.py <path_to_folder_with_apk_files>
It is recommended to place the folder at the same level as files
.
For more details about dynamic data extraction, see: automated-execution
- Data, such as applications and system call logs, is not provided.