Skip to main content

Extendable Pentesting Framework

Project description

Gallia

docs 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 rendered documentation is available via Github Pages.

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.

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). A short presentation and demo video is available at this page.

Project details


Download files

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

Source Distribution

gallia-1.9.0.tar.gz (165.5 kB view details)

Uploaded Source

Built Distribution

gallia-1.9.0-py3-none-any.whl (214.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gallia-1.9.0.tar.gz
  • Upload date:
  • Size: 165.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for gallia-1.9.0.tar.gz
Algorithm Hash digest
SHA256 c249f03e46a4734f0da994cd96999d622e5abb8295c7a701c17085fd70b5e3cd
MD5 cfaad4d6ecb602f3089b7a5f5c6f002e
BLAKE2b-256 784b5fa9f48e91d310e596da48f5bfceaec3735361c7ea186834513233f1f0f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gallia-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 214.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for gallia-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b911ba31c0f756b87fce489cec0612e3f0a32f425e5575eab40dc32549218e6
MD5 5e337c9be5b319e1417e1efe0e28fefb
BLAKE2b-256 19b2b355b1ee5ba5b8e80b8c77c2d315fc5e9a41343483a16d740b7844714916

See more details on using hashes here.

Supported by

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