Skip to main content

Extendable Pentesting Framework

Project description

Gallia

PyPI - Python Version PyPI - License PyPI DOI

Packaging status

Gallia is an extendable pentesting framework with the focus on the automotive domain. The scope of the toolchain is conducting penetration tests from a single ECU up to whole cars. Currently, the main focus lies on the UDS interface. Acting as a generic interface, the logging functionality implements reproducible tests and enables post-processing tasks. The documentation is available in the docs/ folder.

Keep in mind that this project is intended for research and development usage only! Inappropriate usage might cause irreversible damage to the device under test. We do not take any responsibility for damage caused by the usage of this tool.

Testimonials

Levent Çelik et al. in Comparing Open-Source UDS Implementations Through Fuzz Testing:

Among the implementations we've identified, Gallia stands out as the most robust and dependable by a significant margin.

Quickstart

See the setup instructions.

First create a config template with --template, store it to a file called gallia.toml, and adjust it to your needs. gallia reads this file to set the defaults of the command line flags. All options correspond to a command line flag; the only required option for scans is gallia.scanner.target, for instance isotp://can0?src_addr=0x123&dst_addr=0x312&tx_padding=0xaa&rx_padding=0xaa.

$ gallia --template > gallia.toml

You are all set to start your first scan, for instance read the diagnostic trouble codes:

$ gallia primitive uds dtc read

The target can also be specified by the --target option on the command line. For the format of the --target argument see the transports documentation.

Acknowledgments

This work was partly funded by the German Federal Ministry of Education and Research (BMBF) as part of the SecForCARs project (grant no. 16KIS0790). This work was partly funded by the German Federal Ministry of Economic Affairs and Energy (BMWE) as part of the ATLAS-L4 project (grant no. 19A21048D). A short presentation and demo video is available at this page.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gallia-2.1.1.tar.gz (171.8 kB view details)

Uploaded Source

Built Distribution

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

gallia-2.1.1-py3-none-any.whl (232.1 kB view details)

Uploaded Python 3

File details

Details for the file gallia-2.1.1.tar.gz.

File metadata

  • Download URL: gallia-2.1.1.tar.gz
  • Upload date:
  • Size: 171.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gallia-2.1.1.tar.gz
Algorithm Hash digest
SHA256 1a7c4638e90ebb3120e5244abc12d6608061a18fcd9a271d1fdebdb692b198ba
MD5 892798171d1d0caa1881086a20e1ccb0
BLAKE2b-256 ce9234282822cc17adf2ac8933bdb98825ed85f283dc0796ab15c2c5e9043d63

See more details on using hashes here.

Provenance

The following attestation bundles were made for gallia-2.1.1.tar.gz:

Publisher: python-publish.yml on Fraunhofer-AISEC/gallia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gallia-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: gallia-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 232.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gallia-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b2689043858a479c2fabdd1298c85b3dab6f94279f6a45341e5010afb9b8c6e
MD5 5aa9a0dff37e0923467362d103da01a7
BLAKE2b-256 875b0ded641b76ec1e9bb4d4d0c5876d50d245554e675d4beb7625a81c5a6f11

See more details on using hashes here.

Provenance

The following attestation bundles were made for gallia-2.1.1-py3-none-any.whl:

Publisher: python-publish.yml on Fraunhofer-AISEC/gallia

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page