Pyrrha: A mapper collection for firmware analysis
Pyrrha is a firmware cartography tool which provide three level of details:
- an overview of the import/export relationships between executables;
- a firmware-wide callgraph;
- a complete map of a given decompiled binary.
It uses the open-source code source explorer NumbatUI to provide users with an easy way to navigate through and search for path to function.
An example of the symbols and libraries imported by libgcc_s.so.1 and of the symbols which reference this library.
An example of the symlinks which point on busybox.
Installation
The installation is done in two parts:
- Install
Pyrrhaitself. - Install
NumbatUI(orSourcetrail) to be able to visualize Pyrrha's results. - (Optional) Install Ghidra or IDA if you want to use
fs-cgordecompmappers.
[!NOTE] A quick start installation is available on Pyrrha documentation.
Usage
The usage workflow is composed of two steps which allow you to separate DB creation and result visualization.
- Run Pyrrha to obtain NumbatUI compatible files (
*.srctrlprjfor the project file and*.srctrldbfor the DB file). With the python package, you can just launch the commandpyrrha. - Visualize your results with Sourcetrail/NumbatUI.
[!NOTE] The detailed documentation of each mapper is available in the documentation.
Publications
Pyrrha presentations, including live demos:
-
Pyrrha & Friends: Diving into Firmware Cartography, Eloïse Brocas & Robin David, SSTIC, Rennes, France, 2025. [slides] [video]
-
Pyrrha: navigate easily into your system binaries, Eloïse Brocas, Hack.lu, Luxembourg, 2023. [slides] [video]
-
Map your Firmware!, Eloïse Brocas, Pass The SALT, Lille, France, 2023. [slides] [video]
Theory behind implementations
- Streamlining Firmware Analysis with Inter-Image Call Graphs and Decompilation, Robin David, RE//verse.io, USA, 2025. [slides] [video]
Authors
- Eloïse Brocas (@ebrocas), Quarkslab
- Robin David (@RobinDavid), Quarkslab
Past Contributors
- Pascal Wu (@pwu42), during his internship at Quarkslab
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrrha_mapper-2.0.0.tar.gz.
File metadata
- Download URL: pyrrha_mapper-2.0.0.tar.gz
- Upload date:
- Size: 490.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bce1a0e611db6ad6978197658d03a29cc9fca7d27fafb979df9befd5d5a1c1e1
|
|
| MD5 |
849fb2e53564f1bf364968d651edffe9
|
|
| BLAKE2b-256 |
d3d7b02777eb3ead68f26709b9bc2783bf30266d8a1e7fe6bf0544d252b28926
|
File details
Details for the file pyrrha_mapper-2.0.0-py3-none-any.whl.
File metadata
- Download URL: pyrrha_mapper-2.0.0-py3-none-any.whl
- Upload date:
- Size: 63.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad76e1c6ca6d640a3c85fe8c6a336d94b5121e5c00d73a726b986e6da19006ab
|
|
| MD5 |
9072c428003939c0deb36e5b614373cf
|
|
| BLAKE2b-256 |
b623293ff7686352f49fc6fb84cb71d7106f88dcce6f776579951b47c76782b1
|