Skip to main content

Universal Radio Hacker: investigate wireless protocols like a boss

Project description

URH image

Build Status PyPI version Packaging status Blackhat Arsenal 2017 Blackhat Arsenal 2018

The Universal Radio Hacker (URH) is a complete suite for wireless protocol investigation with native support for many common Software Defined Radios. URH allows easy demodulation of signals combined with an automatic detection of modulation parameters making it a breeze to identify the bits and bytes that fly over the air. As data often gets encoded before transmission, URH offers customizable decodings to crack even sophisticated encodings like CC1101 data whitening. When it comes to protocol reverse-engineering, URH is helpful in two ways. You can either manually assign protocol fields and message types or let URH automatically infer protocol fields with a rule-based intelligence. Finally, URH entails a fuzzing component aimed at stateless protocols and a simulation environment for stateful attacks.

Getting started

In order to get started

If you like URH, please :star: this repository and join our Slack channel. We appreciate your support!

Citing URH

We encourage researchers working with URH to cite this WOOT'18 paper or directly use the following BibTeX entry.

URH BibTeX entry for your research paper
@inproceedings {220562,
author = {Johannes Pohl and Andreas Noack},
title = {Universal Radio Hacker: A Suite for Analyzing and Attacking Stateful Wireless Protocols},
booktitle = {12th {USENIX} Workshop on Offensive Technologies ({WOOT} 18)},
year = {2018},
address = {Baltimore, MD},
url = {https://www.usenix.org/conference/woot18/presentation/pohl},
publisher = {{USENIX} Association},
}

Installation

URH runs on Windows, Linux and macOS. Click on your operating system below to view installation instructions.

Windows

On Windows, URH can be installed with its Installer. No further dependencies are required.

If you get an error about missing api-ms-win-crt-runtime-l1-1-0.dll, run Windows Update or directly install KB2999226.

Linux
Generic Installation with pip (recommended)

URH is available on PyPi so you can install it with

# IMPORTANT: Make sure your pip is up to date
sudo python3 -m pip install --upgrade pip  # Update your pip installation
sudo python3 -m pip install urh            # Install URH

This is the recommended way to install URH on Linux because it comes with all native extensions precompiled.

In order to access your SDR as non-root user, install the according udev rules. You can find them in the wiki.

Install via Package Manager

URH is included in the repositories of many linux distributions such as Arch Linux, Gentoo, Fedora, openSUSE or NixOS. There is also a package for FreeBSD. If available, simply use your package manager to install URH.

Note: For native support, you must install the according -dev package(s) of your SDR(s) such as hackrf-dev before installing URH.

Snap

URH is available as a snap: https://snapcraft.io/urh

Docker Image

The official URH docker image is available here. It has all native backends included and ready to operate.

macOS
Using DMG

It is recommended to use at least macOS 10.14 when using the DMG available here.

With pip
  1. Install Python 3 for Mac OS X. If you experience issues with preinstalled Python, make sure you update to a recent version using the given link.
  2. (Optional) Install desired native libs e.g. brew install librtlsdr for corresponding native device support.
  3. In a terminal, type: pip3 install urh.
  4. Type urh in a terminal to get it started.
Update your installation

If you installed URH via pip you can keep it up to date with python3 -m pip install --upgrade urh.

Running from source
Without installation

To execute the Universal Radio Hacker without installation, just run:

git clone https://github.com/jopohl/urh/
cd urh/src/urh
./main.py

Note, before first usage the C++ extensions will be built.

Installing from source

To install URH from source you need to have python-setuptools installed. You can get them with python3 -m pip install setuptools. Once the setuptools are installed execute:

git clone https://github.com/jopohl/urh/
cd urh
python setup.py install

And start the application by typing urh in a terminal.

Articles

Hacking stuff with URH

General presentations and tutorials on URH

External decodings

See wiki for a list of external decodings provided by our community! Thanks for that!

Screenshots

Get the data out of raw signals

Interpretation phase

Keep an overview even on complex protocols

Analysis phase

Record and send signals

Record

Project details


Release history Release notifications | RSS feed

This version

2.8.9

Download files

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

Source Distribution

urh-2.8.9.tar.gz (2.9 MB view details)

Uploaded Source

Built Distributions

urh-2.8.9-cp38-cp38-manylinux2014_x86_64.whl (26.8 MB view details)

Uploaded CPython 3.8

urh-2.8.9-cp37-cp37m-win_amd64.whl (12.4 MB view details)

Uploaded CPython 3.7m Windows x86-64

urh-2.8.9-cp37-cp37m-win32.whl (10.4 MB view details)

Uploaded CPython 3.7m Windows x86

urh-2.8.9-cp37-cp37m-manylinux2014_x86_64.whl (26.2 MB view details)

Uploaded CPython 3.7m

urh-2.8.9-cp37-cp37m-macosx_10_14_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

urh-2.8.9-cp36-cp36m-manylinux2014_x86_64.whl (26.2 MB view details)

Uploaded CPython 3.6m

urh-2.8.9-cp35-cp35m-manylinux2014_x86_64.whl (26.1 MB view details)

Uploaded CPython 3.5m

File details

Details for the file urh-2.8.9.tar.gz.

File metadata

  • Download URL: urh-2.8.9.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for urh-2.8.9.tar.gz
Algorithm Hash digest
SHA256 d3cdc2612f5039b40cfccfb99e2ae7311cd1cd27011c857e0aec99b150c93919
MD5 93a1b7a600238c869cc0a643eb2e2be7
BLAKE2b-256 086b00fc66ea878a26ff054562552bb9b966fc5bec8d7df1fc52134b6431af76

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: urh-2.8.9-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 26.8 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for urh-2.8.9-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 40f64aacfcffd95e42d1f5f016057f40b02e37802a89a95d519258c1f38525a5
MD5 01b72ea2bc6d3a84f6e18d40a41c2567
BLAKE2b-256 79b61b1df9ca09f512a58171b7fe000f577922097f9deadcae68575747bf1c0e

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: urh-2.8.9-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 12.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for urh-2.8.9-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9eda1daede9dda6caeda2504f6076a258c08c404952ba495851b3fda4da5867b
MD5 329c03a1a384a2a320f95b6044c17d2c
BLAKE2b-256 d6776a30407c681f8100b999b873973785bc0e0ed9e9977173e4b9121937e8ec

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp37-cp37m-win32.whl.

File metadata

  • Download URL: urh-2.8.9-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for urh-2.8.9-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f2ae70941a8c10e91e198dbfc25a3d1515d2695a6bbbd03554aa24709ae789ec
MD5 6836e446d0e46003eab02f4d2b75665d
BLAKE2b-256 ebd1a47b75894b4b5934822af111eac53baa7abaa0d0eff266ddbb2a351cf7ae

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: urh-2.8.9-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 26.2 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for urh-2.8.9-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e634e83752e66b50d57c0748a3dca4166cf270db4295f24870a987649c7ef52a
MD5 891d31ce0f37052e44ef0335b7a15b3b
BLAKE2b-256 532d7ae0e04fe7feb122ae3d1a98051ff70e5853f2c0840b9783f86b19ec820d

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: urh-2.8.9-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for urh-2.8.9-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a75a052d99be622ce22ca261e4057217cdf24bb35811d1696f5b8ab45141e3ac
MD5 948437579f82b1548d040d9d800f4475
BLAKE2b-256 3e2cf1b62a9d4404baa638bc88b42eedd965afefa99718ae9d3fec2a57a1dfa4

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: urh-2.8.9-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 26.2 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12

File hashes

Hashes for urh-2.8.9-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15c2fd0d27ac4cbb4d2947174aaa4895a5abfa9d6f4b6c28111e6d23aac61983
MD5 f4339cb14b5d02b6ea62bc6e7450cef0
BLAKE2b-256 61bc076e2c47996c82c828318438831bf91c4413f56f2a53fc8ada53c5468fc0

See more details on using hashes here.

File details

Details for the file urh-2.8.9-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: urh-2.8.9-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.9

File hashes

Hashes for urh-2.8.9-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3bf2f7c1fc9caff5a6f2b19c5f1ec8625fbb23d21ec75b9081d85e77ea4531c7
MD5 e0594bd13d23ee783a1bac131b8b59e6
BLAKE2b-256 1014b106722748fd5a5edf4766fdf61918530cfd971cadc2fb62c41ecaaedd5c

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