How To Install libscout on Kali Linux
Introduction
In this tutorial we learn how to install libscout on Kali Linux.
What is libscout
libscout is:
LibScout is a light-weight and effective static analysis tool to detect third-party libraries in Android apps. The detection is resilient against common bytecode obfuscation techniques such as identifier renaming or code-based obfuscations such as reflection-based API hiding or control-flow randomization.
LibScout requires the original library SDKs (compiled .jar/.aar files) to extract library profiles that can be used for detection on Android apps.
Unique features:
- Library detection resilient against many kinds of bytecode obfuscation.
- Capability of pinpointing the exact library version (in some cases to a set of 2-3 candidate versions).
- Capability of handling dead-code elimination, by computing a similarity score against baseline SDKs.
There are three methods to install libscout 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 libscout Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libscout using apt-get by running the following command:
sudo apt-get -y install libscoutInstall libscout Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libscout using apt by running the following command:
sudo apt -y install libscoutInstall libscout 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 updateAfter updating apt database, We can install libscout using aptitude by running the following command:
sudo aptitude -y install libscoutHow To Uninstall libscout on Kali Linux
To uninstall only the libscout package we can use the following command:
sudo apt-get remove libscoutUninstall libscout And Its Dependencies
To uninstall libscout and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libscoutRemove libscout Configurations and Data
To remove libscout configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libscoutRemove libscout configuration, data, and all of its dependencies
We can use the following command to remove libscout configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libscoutDependencies
libscout have the following dependencies:
- default-jre
- jarwrapper
- libandroid-23-java
- libcava-java
- libcommons-cli-java
- libcommons-io-java
- libgoogle-gson-java
- libguava-java
- liblogback-java
- libsemver-java
- libslf4j-java
- libwala-java
References
Summary
In this tutorial we learn how to install libscout package on Kali Linux using different package management tools: apt, apt-get and aptitude.