FACT_core

Firmware Analysis and Comparison Tool

Github stars Tracking Chart

The Firmware Analysis and Comparison Tool (FACT)

codecov
BCH compliance
Codacy Badge
Gitter chat

The Firmware Analysis and Comparison Tool (formerly known as Fraunhofer's Firmware Analysis Framework (FAF)) is intended to automate most of the firmware analysis process.
It unpacks arbitrary firmware files and processes several analysis.
Additionally, it can compare several images or single files.
Furthermore, Unpacking, analysis and compares are based on plug-ins guaranteeing maximal flexibility and expandability.
More details and some screenshots can be found on our project page.

Requirements

FACT is designed as a multiprocess application, the more Cores and RAM, the better.

Minimal, Recommended, Software
-------, -----------, --------
4 Cores8GB RAM10 GB disk space, 16 Cores64GB RAM10* GB disk space, gitpython 3.5 - 3.7OS see below

~ 10 GB required to set up FACT code, container and binaries. Additional space is necessary for result storage. That can be on a seperate partition or drive.

It is possible to install FACT on any Linux distribution but the installer is limited to

  • Ubuntu 16.04, 18.04 (stable)
  • Ubuntu 19.04 (experimental)
  • Debian 9, 10 (experimental)
  • Kali (tested on 2019.3 and 2019.4) (experimental)

:exclamation: Caution: FACT is not intended to be used as public internet service. The GUI is not a hardened WEB-application and it may take your server at risk!

Installation

The installation is generally wrapped in a single script. Some features can be selected specifically though.
See INSTALL.md for details.

Usage

You can start FACT by executing the start_all_installed_fact_components scripts.
The script detects all installed components automatically.

$ ./start_all_installed_fact_components

Afterwards FACT can be accessed on http://localhost:5000 and https://localhost (nginx), respectively.

You can shutdown the system by pressing Ctrl + c or by sending a SIGTERM to the start_all_installed_faf_components script.

Advanced Usage

:fire: We're currently working to improving our documentation, including installation, getting started and alike. Follow progess on our wiki pages. :v:

REST API

FACT provides a REST API. More information can be found here.

User Management

FACT provides an optional basic authentication, role and user management. More information can be found here.

List of available community plug-ins and REST scripts

Contribute

The easiest way to contribute is writing your own plug-in.
Our Developers Manual can be found here.

Acknowledgments

This project is partly financed by German Federal Office for Information Security (BSI) and others.

Publications / Presentations

BlackHat Arsenal

We've been happy to show FACT in a number of BlackHat Arsenal sessions.

  • Black Hat Arsenal
  • Black Hat Arsenal
  • Black Hat Arsenal

Other

License

    Firmware Analysis and Comparison Tool (FACT)
    Copyright (C) 2015-2020  Fraunhofer FKIE

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    Some plug-ins may have different licenses. If so, a license file is provided in the plug-in's folder.

Main metrics

Overview
Name With Ownerfkie-cad/FACT_core
Primary LanguagePython
Program languagePython (Language Count: 13)
Platform
License:GNU General Public License v3.0
所有者活动
Created At2017-09-19 14:48:11
Pushed At2025-06-06 09:31:19
Last Commit At2025-02-05 17:51:57
Release Count19
Last Release Name4.2 (Posted on )
First Release Name2.2 (Posted on 2017-09-22 12:06:22)
用户参与
Stargazers Count1.3k
Watchers Count32
Fork Count230
Commits Count5.5k
Has Issues Enabled
Issues Count418
Issue Open Count88
Pull Requests Count863
Pull Requests Open Count28
Pull Requests Close Count69
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private