Skip to main content

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:

  1. Install Pyrrha itself.
  2. Install NumbatUI (or Sourcetrail) to be able to visualize Pyrrha's results.
  3. (Optional) Install Ghidra or IDA if you want to use fs-cg or decomp mappers.

[!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.

  1. Run Pyrrha to obtain NumbatUI compatible files (*.srctrlprj for the project file and *.srctrldb for the DB file). With the python package, you can just launch the command pyrrha.
  2. 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

pyrrha_mapper-2.0.0.tar.gz (490.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrrha_mapper-2.0.0-py3-none-any.whl (63.0 kB view details)

Uploaded Python 3

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

Hashes for pyrrha_mapper-2.0.0.tar.gz
Algorithm Hash digest
SHA256 bce1a0e611db6ad6978197658d03a29cc9fca7d27fafb979df9befd5d5a1c1e1
MD5 849fb2e53564f1bf364968d651edffe9
BLAKE2b-256 d3d7b02777eb3ead68f26709b9bc2783bf30266d8a1e7fe6bf0544d252b28926

See more details on using hashes here.

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

Hashes for pyrrha_mapper-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad76e1c6ca6d640a3c85fe8c6a336d94b5121e5c00d73a726b986e6da19006ab
MD5 9072c428003939c0deb36e5b614373cf
BLAKE2b-256 b623293ff7686352f49fc6fb84cb71d7106f88dcce6f776579951b47c76782b1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.0.1

2 files

1.0.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page