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.0.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.0-py3-none-any.whl (232.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gallia-2.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9f17ebdacecc5e9101b5900358ea6c84b6a489ce132e6163b2b1405fb898d2f8
MD5 843edee3f3056c223a29f6b6f4ac0f96
BLAKE2b-256 130afa1560b078d2f40a022880b93e6ef3187d58f751eef251a42ac3f3be1a88

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gallia-2.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd1cf01cd3f1507ae3ede0b9294306fa0d316d8e0f6e0525c1899aff3e5301ee
MD5 35f78af4c5caf0ba9d2579d7ea2df5a2
BLAKE2b-256 0530c1aeadda14c7eae17e3f591263b34f99d931e1393efe9faf4ab9b26377a6

See more details on using hashes here.

Provenance

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