FirmwareDroid/FirmwareDroid
概要
FirmwareDroid is an analysis framework for Android firmware and Apps.
セキュリティ・プライバシー計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
FirmwareDroid (FMD)
FirmwareDroid is a research project that aims to develop novel methods to analyse Android firmware. It is mainly made to automate the process of extracting and scanning pre-installed Android apps for security research purposes. In this repository you will find the code for the backend of FMD. The application has a minimal React frontend (see https://github.com/FirmwareDroid/FMD-WebClient), but is mainly an API and database that can be used for research studies.
Usage documentation can be found at: https://firmwaredroid.github.io/
FMD is made to run in docker and includes several third party analysis tools for security analysis and extraction. Some of the tools and features included are:
- Static-Analyzers for Android apps (APKs):
- AndroGuard
- APKiD
- APKscan
- Exodus-Core
- FlowDroid
- MobSFScan
- Trueseeing
- TruffleHog
- Quark-Engine
- Qark (deprecated, no updates by the author)
- Androwarn (deprecated, no updates by the author)
- SUPER Android Analyzer (deprecated, discontinued by the author)
- APKLeaks (deprecated)
- APIs:
- Fuzzy-Hashing:
- Decompilers:
- File and Firmware Extraction:
- Miscellaneous:
- AndroidManifest Parsing
- Dynamic Analysis:
- Work in progress
FMD can be used as scanning engine for Android apps (.apk files), but it is mainly made to analyse pre-installed apps extracted from Android firmware. It allows you to extract various types of files from firmware images and creates an inventory of the extracted files. The inventory can be used to scan the files with the included tools and APIs or to analyse the collected data with custom tooling.
Quick Start
FirmwareDroid supports zero-configuration startup out of the box with Docker Compose.
git clone https://github.com/FirmwareDroid/FirmwareDroid.git && cd FirmwareDroid && docker compose -f docker-compose-release.yml up -d && echo "Service started on https://fmd.localhost"
Starting a development environment with hot-reloading is also supported:
git clone https://github.com/FirmwareDroid/FirmwareDroid.git && cd FirmwareDroid && ./docker/build_images.sh && docker compose up -d && echo "Service started on https://fmd.localhost"
On first run, the init container automatically generates self-signed TLS certificates, MongoDB replica set credentials, Redis configuration, and Django administrator secrets into an isolated Docker volume (fmd-config).
Retrieving Generated Credentials
For security, generated administrator credentials and database secrets are never printed in cleartext to container logs. To retrieve your generated credentials, copy the credentials file from the isolated configuration volume to your host:
docker compose cp init:/config/secrets/generated-secrets.txt .
cat generated-secrets.txt
Alternatively, view them directly from a running container:
docker compose exec web cat /var/www/config/secrets/generated-secrets.txt
Configuration & Environment Variables (Optional)
By default, no .env file or pre-configuration is required. The init container dynamically provisions unique cryptographically random secrets on first startup into the fmd-config volume.
To customize configuration or provide your own secrets:
- Copy
.env.exampleto.env:cp .env.example .env - Set custom variables in
.env(such asDJANGO_SECRET_KEY,DOMAIN_NAME, database passwords, or storage paths). Values defined in.envtake precedence over auto-generated defaults.
File Storage Paths
FirmwareDroid organizes extracted firmwares, APKs, and analysis artifacts into isolated file stores (00_file_storage through 09_file_storage).
- In Docker, these are mounted from the host
./blob_storage/0X_file_storageinto/var/www/file_store/0X_file_storage. - You can override individual host mount locations using
LOCAL_STORAGE_PATH_00throughLOCAL_STORAGE_PATH_09in.env. - The storage root within the backend container defaults to
FILE_STORE_ROOT=/var/www/file_store/. When running outside Docker, it automatically defaults to<project_root>/blob_storage/.
Contributing
We are happy to accept contributions to the software and documentation. Feel free to open a pull request with your enhancements or an issue with your suggestions.
Security
FMD is a research project and should not be used in production environments. It is not hardened for production use and may contain security vulnerabilities. Please use it in a controlled environment only.
Publications
FirmwareDroid: Towards Automated Static Analysis of Pre-Installed Android Apps
@INPROCEEDINGS{FirmwareDroid,
author={Sutter, Thomas and Tellenbach, Bernhard},
booktitle={2023 IEEE/ACM 10th International Conference on Mobile Software Engineering and Systems (MOBILESoft)},
title={FirmwareDroid: Towards Automated Static Analysis of Pre-Installed Android Apps},
year={2023},
month={May},
pages={12-22},
doi={10.1109/MOBILSoft59058.2023.00009}
}
License:
FirmwareDroid is a non-profit research project licenced under the GNU General Public License v3.0 (see our licence).
関連プロジェクトを探す
読み込み中…