• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“‘ On-off keying tools for your SD-arrrR

ooktools

@leonjza Docker Cloud Build Status

ooktools aims to help with the reverse engineering of on-off keying data sources such as wave files or raw frames captured using RfCat.


why?

I recently played around a little with static key remotes, and wrote some code to help with the reverse engineering thereof.

major features

  • Binary string extraction from wave file recordings.
  • Wave file cleanups to remove noise in On-off keying recordings.
  • Graphing capabilities for wave files.
  • General information extraction of wave files.
  • Signal recording and playback using json definition files that can be shared.
  • Plotting of data from the previously mentioned json recordings.
  • Signal searching for On-off keying type data.
  • Sending signals in both binary, complete PWM formatted or hex strings using an RfCat dongle.
  • Gnuradio .grc template file generation.
  • Signal 'jammer' by continuously sending a loud, static signal.
  • Signal brute forcer that can iterate over a bitstring range.

installation

You can install ooktools in two ways. Either from pip or from source. In case of a source installation, you may want to optionally consider installing it in a virtualenv.

rfcat

In both installation cases, you need to install RfCat. This too can be done in two ways. On Kali Linux, you can install it with a simple apt command:

$ apt install rfcat

Or, if you need to manually install it, download the latest RfCat sources and run the setup.py script:

$ wget -c https://bitbucket.org/atlas0fd00m/rfcat/downloads/rfcat_150225.tgz
$ tar xjvf rfcat_150225.tgz
$ cd rfcat_150225
$ python setup.py install

ooktools

Pip Package:

$ pip install ooktools

Using this method, you should have the ooktools command available globally.

From source:

$ git clone https://github.com/leonjza/ooktools.git
$ cd ooktools
$ pip install -r requirements.txt

If you installed from source then you can invoke ooktools with as a module using python -m ooktools.console from the directory you cloned to.

usage

There are a number of sub commands that are grouped by major category. At anytime, add the --help argument to get a full description of any other sub commands and or arguments available.

$ ooktools --help
         _   _           _
 ___ ___| |_| |_ ___ ___| |___
| . | . | '_|  _| . | . | |_ -|
|___|___|_,_|_| |___|___|_|___| v0.1
On-off keying tools for your SD-arrrR
https://github.com/leonjza/ooktools

Usage: ooktools [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  gnuradio  GNU Radio Commands.
  signal    Signal Commands.
  wave      Wave File Commands.

For full examples, please refer to the blogpost here

known issues

Nothing is perfect I guess. One of the biggest problems would be test cases and variations. So, here is the stuff that I know is not 100% perfect. Pull requests welcome!

  • Wave file operations such as graph and clean break when the wave file is too long. ~50M samples seem to start hitting the point of breakage.
  • The matplotlib usage is silly from a performance perspective. Its the main reason I don't have live graphs in too as I just cant get it working great.

license

Please refer to the LICENSE file.

More Repositories

1

log4jpwn

log4j rce test environment and poc
Python
308
star
2

awesome-nmap-grep

Awesome Nmap Grep
283
star
3

frida-boot

Frida Boot πŸ‘’- A binary instrumentation workshop, with Frida, for beginners!
CSS
261
star
4

qrxfer

Transfer files from Air gapped machines using QR codes
Python
93
star
5

dnsfilexfer

File transfer via DNS
Python
63
star
6

wordpress-shell

Cheap & Nasty Wordpress Command Execution Shell
PHP
63
star
7

hogar

A pluggable Telegram bot framework
Python
52
star
8

trauth

πŸ”‘ A simple Traefik ForwardAuth server for HTTP Basic SSO
Go
30
star
9

tc2

treafik fronted c2 examples
Shell
25
star
10

dotfiles

βš‘οΈβ€’ files | Batteries included, dotfile configurations
Shell
16
star
11

PHPNessusNG

PHP wrapper functions for interfacing with the Nessus V6.x API
PHP
15
star
12

find-gw

πŸ›°A bash script to check if you have a gateway that could get you somewhere nice.
Shell
14
star
13

public-talks

🎀 A collection of presentation materials for my public talks.
12
star
14

metasploit-modules

Various Metasploit Modules
Ruby
12
star
15

go-observe

🌌 Go-Observe: A command line Mozilla Observatory client written in Go
Go
12
star
16

socat23

πŸ— Socat with SSL v2/3 Support
Shell
11
star
17

py2gource

py2gource
Python
11
star
18

pytel

A Pure Python telegram-cli Interface
Python
10
star
19

history-here

A zsh plugin to quickly isolate shell history recording.
Shell
9
star
20

longurl

A Command line URL Expander
Python
8
star
21

golert

🚨an osquery powered, almost cross platform HIDS
Go
8
star
22

php-nessus-api

PHP wrapper functions for the Nessus API
PHP
8
star
23

nutstat

πŸ”Œ a Network UPS Tools (NUT) to InfluxDB exporter, written in Go
Go
6
star
24

weblick

A Web Information Gathering Tool
Python
6
star
25

filesmudge

a silly file 'smudger'
Python
5
star
26

KaliDocker

Kali Docker Image
5
star
27

tli

Twitter (command) Line Interface
Python
4
star
28

PHP-ShockPot

Poor Man's Shellshock Honeypot
PHP
3
star
29

godoh-clients

various godoh client experiments
C
3
star
30

php-gitlab-jabberhook

A small library to parse Gitlab Webhooks and notify via XMPP
PHP
3
star
31

elk-docker

ELK stack in Docker, with documentation issues fixed.
Shell
3
star
32

adventofcode

adventofcode
Python
2
star
33

codeql-vuln-blog

Intentionally Vulnerable Blog Web Application
Python
2
star
34

not-infosec-twitter

Not Infosec Twitter
2
star
35

leonjza.github.io

πŸ±β€πŸ‘€ A checkbox Uncheckers' Notepad
Shell
2
star
36

minigrep

πŸ¦€ Rust Documentation Walkthrough - minigrep
Rust
1
star
37

dockerfiles

πŸ€– A collection of dockerfiles
Shell
1
star
38

docker-elk

docker-elk repo, using the https://github.com/deviantony/docker-elk template
Dockerfile
1
star
39

flick-check

The Flick II Vulnerable VM Android Application
Java
1
star
40

composer-shell

A silly reverse shell invoked via the Composer Dependency Manager
PHP
1
star
41

codeql-uboot

CodeQL
1
star
42

leonjza-octopress.github.io

A checkbox Uncheckers' Notepad
HTML
1
star
43

hasher

Hasherβ„’ is a completely client side password generator.
CSS
1
star
44

cvestream

a small utility to dump NVD information
Python
1
star
45

eskom-loadshedding-status

Eskom LoadShedding Status Bot
Python
1
star