Universal Radio Hacker: investigate wireless protocols like a boss
Project description
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
- view the installation instructions on this page,
- download the official userguide (PDF),
- watch the demonstration videos (YouTube),
- check out the wiki for more information such as supported devices or
- read some articles about URH for inspiration.
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.
Docker Image
The official URH docker image is available here. It has all native backends included and ready to operate.
macOS
With pip
- 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.
- (Optional) Install desired native libs e.g.
brew install librtlsdr
for corresponding native device support. - In a terminal, type:
pip3 install urh
. - 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
- Hacking Burger Pagers
- Reverse-engineer and Clone a Remote Control
- Reverse-engineering Weather Station RF Signals
- Reverse-engineering Wireless Blinds
- Attacking Logitech Wireless Presenters (German Article)
- Attacking Wireless Keyboards
- Reverse-engineering a 433MHz Remote-controlled Power Socket for use with Arduino
General presentations and tutorials on URH
- Hackaday Article
- RTL-SDR.com Article
- Short Tutorial on URH with LimeSDR Mini
- Brute-forcing a RF Device: a Step-by-step Guide
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
Keep an overview even on complex protocols
Record and send signals
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
Built Distributions
File details
Details for the file urh-2.9.0.tar.gz
.
File metadata
- Download URL: urh-2.9.0.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa5f6b846ed01697d944dd357598103bdfbda67221fb6912a7d6f7822c466ac |
|
MD5 | f75f91f37984defcab1913ccf8bcec71 |
|
BLAKE2b-256 | 48c0262368bb3adab8a44d93e6ffe57c41081c28ae86cf72e2f06bc6ff43050a |
File details
Details for the file urh-2.9.0-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.0 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7662f66b4e6b9ceb9b544db8fa5ada4af55cfef3ab2f0d22853fbd7b2acae8c |
|
MD5 | 1171c0dff322726d0291d67eae365153 |
|
BLAKE2b-256 | 3415b793fff93be1d6fc7f7690ea411e78f70e3b33d9fbc4131076d1cde64ed0 |
File details
Details for the file urh-2.9.0-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 28.2 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac0bba0e2c931048d13de8bdaf4c162617ffaf8ca212df6a6699d2155cd21454 |
|
MD5 | db8ef5f8b7e387acfd40cf5c2f6c43ae |
|
BLAKE2b-256 | 0d5d33be8a06ac188f122517d9ba3d0de7493b158fd3e33187e22756e5028ce3 |
File details
Details for the file urh-2.9.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: urh-2.9.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5534c8e921ea175727dc22fca6ff554b03f5608a035c49fdb03acbf078afbda3 |
|
MD5 | 238142df03a99b8a476d7f78c7f6c0e9 |
|
BLAKE2b-256 | 91ef690e9a0e2e39bf92dc55227293dfb0db3997a2103341ce4797d136b5292d |
File details
Details for the file urh-2.9.0-cp37-cp37m-win32.whl
.
File metadata
- Download URL: urh-2.9.0-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.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2281e71d5e993798a3fbd59250fe919358f29e753265f38f4fdcf0be41a353a |
|
MD5 | 1c4f973da0de6e7a01dec93898dd4917 |
|
BLAKE2b-256 | d8d6c1e688cb50767d24694529b3d26709b76a8812d1ab67ee1e9a95790c8433 |
File details
Details for the file urh-2.9.0-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 27.5 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892703d86b733e62249b48798b2599b22c0898405c2f9bae0222f54531cda0aa |
|
MD5 | 8d103d4f99bbe41f678f9179afcf4c3e |
|
BLAKE2b-256 | ed382801ba5018151ec1d4254079e31f7a727de7e71a4f6f0b3897568eb933f0 |
File details
Details for the file urh-2.9.0-cp37-cp37m-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-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.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9bf3e3349b79c44a9a01f8ef77911876b3ce75786606fd117159126be6aeef |
|
MD5 | fa3f9d3f86ce1ccb1677d0d735283d6a |
|
BLAKE2b-256 | 45754175ed753e6a09adc6d79e8a52be0570f3810f880d59ee7cb682e5baae2a |
File details
Details for the file urh-2.9.0-cp36-cp36m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-cp36-cp36m-manylinux2014_x86_64.whl
- Upload date:
- Size: 27.5 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ad9eb4954cb71b1c1fbc0946e2e00004255e969513504823528e3912a82df9 |
|
MD5 | 325e712f986dfc23d529e75afa4aa1ca |
|
BLAKE2b-256 | 0660734aa6f545fc5a7579b238f899e4caf026f97a975bdb883d0743e536d797 |
File details
Details for the file urh-2.9.0-cp35-cp35m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: urh-2.9.0-cp35-cp35m-manylinux2014_x86_64.whl
- Upload date:
- Size: 27.4 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.5.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d8718d622fb2394230590f3362f1bcb0547b371f57ac070a426b16185df508 |
|
MD5 | a8ba1174c1b7ed8229a0d766e7628c6b |
|
BLAKE2b-256 | a3fa28396ed08582fa2f3d6273d8e67e67f0961c84a0cf77797c0074166ff42e |