How To Install quark-engine on Kali Linux
Introduction
In this tutorial we learn how to install quark-engine
on Kali Linux.
What is quark-engine
quark-engine is:
Quark-Engine is a full-featured Android analysis framework written in Python for hunting threat intelligence inside the APK, DEX files. Since it is rule-based, you can use the ones built-in or customize as needed. With ideas decoded from criminal law, Quark-Engine has its unique angles for Android analysis. A Dalvik bytecode loader has been developed that has tainted analysis inside but also defeats the obfuscation techniques used against reverse engineering. And surprisingly, the loader matches perfectly the design of the malware scoring system. Quark-Engine is very easy to use and also provides flexible output formats. There are three types of output reports: detail report, call graph, and summary report. With these reports in mind, you can get an overview of the high-risk behavior inside Android within seconds. Also, by integrating with other Android analysis tools such as Ghidra, APKLAB, Jadx, Quark-Engine can greatly improve the efficiency of reverse engineers.
There are three methods to install quark-engine
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install quark-engine Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install quark-engine
using apt-get
by running the following command:
sudo apt-get -y install quark-engine
Install quark-engine Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install quark-engine
using apt
by running the following command:
sudo apt -y install quark-engine
Install quark-engine Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install quark-engine
using aptitude
by running the following command:
sudo aptitude -y install quark-engine
How To Uninstall quark-engine on Kali Linux
To uninstall only the quark-engine
package we can use the following command:
sudo apt-get remove quark-engine
Uninstall quark-engine And Its Dependencies
To uninstall quark-engine
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove quark-engine
Remove quark-engine Configurations and Data
To remove quark-engine
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge quark-engine
Remove quark-engine configuration, data, and all of its dependencies
We can use the following command to remove quark-engine
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge quark-engine
Dependencies
quark-engine have the following dependencies:
- androguard
- python3-click
- python3-colorama
- python3-graphviz
- python3-prettytable
- python3-requests
- python3-tqdm
- python3
References
Summary
In this tutorial we learn how to install quark-engine
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.