Skip to main content

D(HE)ater is the proof-of-concept implementation of the D(HE)at attack (CVE-2002-20001) against TLS and SSH

Project description

D(HE)ater

PyPI version Python versions License

D(HE)ater is the proof-of-concept implementation of the D(HE)at attack (CVE-2002-20001). For further information about the attack visit the project page or read the full technical paper on IEEE Access.

Disclaimer

D(HE)ater is a proof-of-concept denial-of-service tool intended only for defensive security testing, mitigation verification, and research. Run it exclusively against systems you own or for which you have explicit, written authorization. Using it against systems without permission may be illegal and is likely to disrupt the targeted service. The authors provide the code as-is, without warranty, and accept no liability for any misuse or damage.

Usage

D(HE)ater is a command-line tool. The --protocol option and the target uri are mandatory:

# enforce DHE key exchange against a TLS service
dheat --protocol tls example.com:443

# enforce DHE key exchange against an SSH service
dheat --protocol ssh example.com:22

Optional arguments:

Option Default Description
--timeout 5 socket timeout in seconds
--thread-num 1 number of threads to run
--key-size none key size to enforce
# 16 threads, 10 second timeout
dheat --protocol tls --thread-num 16 --timeout 10 example.com:443

Mitigation

Guidance on detecting and mitigating the D(HE)at attack is maintained on the official project site: dheatattack.com.

Requirements

D(HE)ater requires Python 3.9 or newer and depends on CryptoLyzer to check DHE support and generate the necessary traffic. The dependency is installed automatically with the methods described below.

Installation

Install the latest release from PyPI:

pip install dheater

To install the current development version directly from the source repository:

pip install git+https://gitlab.com/dheatattack/dheater.git

License

The code is available under the terms of Apache License Version 2.0. A non-comprehensive, but straightforward description and also the full license text can be found at Choose an open source license website.

Credits

D(HE)ater uses CryptoLyzer to check DHE support of TLS/SSH services and also to generate the traffic necessary to perform D(HE)at attack.

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

dheater-0.5.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

dheater-0.5.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file dheater-0.5.0.tar.gz.

File metadata

  • Download URL: dheater-0.5.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dheater-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d43666a491afd13c12db676d4ac626621ac42efbd24c2b67ec32caab44ac085c
MD5 97db8045dedecb0861563b452482b459
BLAKE2b-256 139a119537626f6693ca744e974a6d9f83c7f24d182ce2c19b8f43e78eba85cf

See more details on using hashes here.

File details

Details for the file dheater-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: dheater-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for dheater-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c26dc59b6e2db26182572a2300bc868ce97ca2d62532360a8cecdb152a8a31f
MD5 7df4b8b927e76ab8a168d5a604e23e09
BLAKE2b-256 fc5795d474bafc3fd497f266d24bc50750a15f9bf750ecc9cf65fa68a2044c0a

See more details on using hashes here.

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