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. See below for OS specific 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
Installation with pipx
URH is available on PyPi so you can install it, for example, with pipx:
pipx 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 Images
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 12 when using the DMG available here.
With brew
URH is available as a homebrew formula so you can install it with
brew install urh
Running from source (OS-agnostic)
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
- Hacking wireless sockets like a NOOB
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
Hashes for urh-2.9.6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9ad3d5ef6cf7ec0572319dea1325e3f0479cd99447d231b145204aaf8e47e6 |
|
MD5 | 4a2d956d3ee6e5db1b22227c698adb12 |
|
BLAKE2b-256 | 5538b87b28268f77a4463bf4eed2ba8e9ccaa6e3beb353be78295f03c3082bb2 |
Hashes for urh-2.9.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ed54d285fdd2dc46580f8011a977c5d1950ee9f2dea1f8de166ffb4f2c09298 |
|
MD5 | 36d6748e62cdb50cfe04bb0ea3dde937 |
|
BLAKE2b-256 | 2ae763e0146875d6fc5e809a82ffcaf5820ea4fbe8074b568a856fe665f7e938 |
Hashes for urh-2.9.6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f93e1e7e057e41ca9121cad08b4a50edbbc65bc6accd76ee0691937e95b2cf9c |
|
MD5 | f7f375d3d3639cd2c6803e8cea89c7af |
|
BLAKE2b-256 | dc14ec5e75f5287dc195d603d5ae183446ddac967ad76b883c5b274c17cdee55 |
Hashes for urh-2.9.6-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead3431b9db9cba56b5a778d08fe25c83a8d218baa1b525fa2138717cd471d2d |
|
MD5 | dbb59144ec6ae4bc42e12a20ddb1f302 |
|
BLAKE2b-256 | 5e2fa1aa4fe4096bfd88dc3582f572956ca1df7456a2e8d864aa939a7185a3cf |
Hashes for urh-2.9.6-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4e09dca840835a969ffd89d9f93d07c9789cf2617d1a720dbefbaaac672b44 |
|
MD5 | 88945c4b2ff7e5fcbc5265f1be11e97d |
|
BLAKE2b-256 | e9660aa373de43c114271506263ccf8774e8131eb3f54a0a158255aa41ef7e71 |
Hashes for urh-2.9.6-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b0b3c4b725391b1710c4372a576383d1a3b71489138bc38ca9495ad41e59ac |
|
MD5 | deb91ed71f8776e37b798cee627b41c0 |
|
BLAKE2b-256 | ae1fd918cbe5cd7e6abb97b69e410979aadc3b638e3fd0c27ca11611974fd627 |
Hashes for urh-2.9.6-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2143293c8b36ce5c5e0c892943f793fab750ce9c1f4e739375578407da6389bd |
|
MD5 | 37944854c2e6746bd18a7352ea136fd9 |
|
BLAKE2b-256 | 2fe59fb1d0a9019da32a54bc64485c045c1cfba516a04ca25b0da8f82459c07f |