How To Install androwarn on Fedora 34

androwarn is Static code analyzer for malicious Android applications

Introduction

In this tutorial we learn how to install androwarn on Fedora 34.

What is androwarn

Androwarn is a tool whose main aim is to detect and warn the user about potential malicious behaviors developed by an Android application. The detection is performed with the static analysis of the application’s Dalvik bytecode, represented as Smali, with the androguard library. This analysis leads to the generation of a report, according to a technical detail level chosen from the user.

We can use yum or dnf to install androwarn on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install androwarn.

Install androwarn on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install androwarn using dnf by running the following command:

sudo dnf -y install androwarn

Install androwarn on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install androwarn using yum by running the following command:

sudo yum -y install androwarn

How To Uninstall androwarn on Fedora 34

To uninstall only the androwarn package we can use the following command:

sudo dnf remove androwarn

androwarn Package Contents on Fedora 34

/usr/bin/androwarn
/usr/lib/python3.9/site-packages/androwarn
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/androwarn-1.6.1-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/androwarn/COPYING
/usr/lib/python3.9/site-packages/androwarn/COPYING.LESSER
/usr/lib/python3.9/site-packages/androwarn/README.md
/usr/lib/python3.9/site-packages/androwarn/__init__.py
/usr/lib/python3.9/site-packages/androwarn/__pycache__
/usr/lib/python3.9/site-packages/androwarn/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/__pycache__/androwarn.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/__pycache__/androwarn.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/androwarn.py
/usr/lib/python3.9/site-packages/androwarn/warn
/usr/lib/python3.9/site-packages/androwarn/warn/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/analysis
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__pycache__/analysis.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/__pycache__/analysis.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/analysis/analysis.py
/usr/lib/python3.9/site-packages/androwarn/warn/constants
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__pycache__/api_constants.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/constants/__pycache__/api_constants.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/constants/api_constants.py
/usr/lib/python3.9/site-packages/androwarn/warn/core
/usr/lib/python3.9/site-packages/androwarn/warn/core/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/core/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/core/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/core/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/core/__pycache__/core.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/core/__pycache__/core.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/core/core.py
/usr/lib/python3.9/site-packages/androwarn/warn/report
/usr/lib/python3.9/site-packages/androwarn/warn/report/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/report/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/report/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/report/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/report/__pycache__/report.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/report/__pycache__/report.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/report/report.py
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/css
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/css/bootstrap-responsive.css
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/css/bootstrap.css
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/ico
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/ico/favicon.ico
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/img
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/img/Androwarn_logo_no_text.png
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/img/Androwarn_logo_text.png
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/js
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/js/bootstrap-tab.js
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/js/jquery.js
/usr/lib/python3.9/site-packages/androwarn/warn/report/report_template/template.html
/usr/lib/python3.9/site-packages/androwarn/warn/search
/usr/lib/python3.9/site-packages/androwarn/warn/search/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/__pycache__/search.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/__pycache__/search.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/api
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__pycache__/api.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/__pycache__/api.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/api/api.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__pycache__/apk.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/__pycache__/apk.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/apk/apk.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/application
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__pycache__/application.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/__pycache__/application.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/application/application.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/Audio_video_interception.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/Geolocation_information.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/PIM_leakage.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/Audio_video_interception.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/Audio_video_interception.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/Geolocation_information.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/Geolocation_information.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/PIM_leakage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/PIM_leakage.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/code_execution.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/code_execution.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/connection_interfaces.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/connection_interfaces.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/device_settings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/device_settings.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/remote_connection.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/remote_connection.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/telephony_identifiers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/telephony_identifiers.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/telephony_services.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/__pycache__/telephony_services.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/code_execution.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/connection_interfaces.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/device_settings.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/remote_connection.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/telephony_identifiers.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/malicious_behaviours/telephony_services.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__pycache__/manifest.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/__pycache__/manifest.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/search/manifest/manifest.py
/usr/lib/python3.9/site-packages/androwarn/warn/search/search.py
/usr/lib/python3.9/site-packages/androwarn/warn/util
/usr/lib/python3.9/site-packages/androwarn/warn/util/__init__.py
/usr/lib/python3.9/site-packages/androwarn/warn/util/__pycache__
/usr/lib/python3.9/site-packages/androwarn/warn/util/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/util/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/util/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/util/__pycache__/util.cpython-39.pyc
/usr/lib/python3.9/site-packages/androwarn/warn/util/util.py
/usr/share/doc/androwarn
/usr/share/doc/androwarn/README.md
/usr/share/licenses/androwarn
/usr/share/licenses/androwarn/COPYING
/usr/share/licenses/androwarn/COPYING.LESSER

References

Summary

In this tutorial we learn how to install androwarn on Fedora 34 using yum and dnf.