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.0.2.tar.gz (178.9 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.0.2-py3-none-any.whl (240.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gallia-2.0.2.tar.gz
Algorithm Hash digest
SHA256 3b583ecd8e0d63e65e507c36f7eda4de5458e88883def9db1dcb8c0c6c17e7be
MD5 a43462542708ccf685037757752a33e6
BLAKE2b-256 a6f2d4f54887fad4a91dad5eaaf7803e1fcb829f54d860574de40a5e9644a7a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gallia-2.0.2.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.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for gallia-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 09e93e2f53a0a4ec8c098a7a8fd93e77c0894b790e91e553de85f90eeb42c1f5
MD5 2625dfd9e43e19473069e7181d13252c
BLAKE2b-256 f913d09cf50a26dd7458169df5aa95146078ea3ed44a0118de4b75432a38bc49

See more details on using hashes here.

Provenance

The following attestation bundles were made for gallia-2.0.2-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