.TH UBERTOOTH\-RX 1 "March 2017" "Project Ubertooth" "User Commands" .SH NAME ubertooth-rx \- Classic Bluetooth discovery, sniffing, and decoding .SH SYNOPSIS .PP .RS .nf ubertooth\-rx [ \-l [ \-u \fR : Limit UAP recovery, clock recovery, and piconet following to a given LAP. Format is 3 bytes / 6 hex characters. .IP \(bu 2 .PP \fB\fC\-u \fR : Limit clock recovery and piconet following to a given UAP. Must be used in conjunction with \fB\fC\-l\fR\&. Format is 1 byte / 2 hex characters. .IP \(bu 2 .PP \fB\fC\-z\fR : Survey mode: recover all LAP and UAP pairs and display them. Will run indefinitely until interrupted with \fB\fCctrl\-C\fR unless paired with \fB\fC\-t\fR\&. .PP Options: .IP \(bu 2 .PP \fB\fC\-i \fR : Input file. If not specified will perform live capture using Ubertooth. .IP \(bu 2 .PP \fB\fC\-c <0\-79>\fR : Fixed channel for all major modes. If not specified will sweep through all channels. .IP \(bu 2 .PP \fB\fC\-e <0\-4>\fR : Maximum access code bit errors. [Default: 2] .IP \(bu 2 .PP \fB\fC\-t \fR : Timeout in seconds. If not specified will run indefinitely. Suggested values for \fB\fC\-z\fR: 20\-60 seconds. .PP Output options: .IP \(bu 2 \fB\fC\-r \fR : Capture packets to PcapNG .IP \(bu 2 \fB\fC\-q \fR : Capture packets to PCAP .IP \(bu 2 \fB\fC\-d \fR : Capture packets to binary file suitable for use with \fB\fC\-i\fR\&. .PP Miscellaneous: .IP \(bu 2 .PP \fB\fC\-V\fR : Version information .IP \(bu 2 .PP \fB\fC\-U<0\-7>\fR : Which Ubertooth device to use .SH DISCOVERING UNDISCOVERABLE DEVICES .PP Classic Bluetooth piocnets are defined by the Lower Address Part (LAP) and Upper Address Part (UAP) of the master device. These are elements of the master device's Bluetooth Address (BD ADDR). .PP Consider the following BD ADDR: .PP .RS .nf 22:44:66:88:AA:BB .fi .RE .PP The lower address part (LAP) is the lower 24 bits, so \fB\fC88:AA:BB\fR\&. In the context of this tool, the value is written \fB\fC88AABB\fR\&. The upper address part is the next 8 bits, so \fB\fC66\fR\&. The \fB\fC22:44\fR is called the Non\-significant Address Part (NAP) and as you might imagine it is not significant. .PP In piconet following mode, the tool will recover LAP values from the air and attempt to calculate the UAP from those. It will go on to follow the piconet if it can recover the clock value. In survey mode, the tool will simply recover LAP and UAP values. .PP To convert LAP + UAP pairs back into Bluetooth addresses, do the reverse of the above. For example, if the tool recovers a LAP of 36A2B4 and a UAP of 98, the associated Bluetooth address is \fB\fC??:??:98:36:A2:B4\fR\&. Any value can be substituted into the ?? slots and most Bluetooth tools will still work. For example, \fB\fChcitool name 00:00:98:36:A2:B4\fR will establish a connection to the device and return its name. .PP This attack works against discoverable and undiscoverable devices alike. .SH SEE ALSO .PP ubertooth\-scan(1): active device scanning and inquiry using Ubertooth and BlueZ .PP ubertooth(7): overview of Project Ubertooth .PP D. Spill and A. Bittau. "BlueSniff: Eve Meets Alice and Bluetooth." USENIX WOOT 2007. .SH AUTHOR .PP This manual page was written by Mike Ryan. .SH COPYRIGHT .PP ubertooth\-rx(1) is Copyright (c) 2010\-2017 Michael Ossmann, Dominic Spill, and others. This tool is released under the GPLv2. Refer to \fB\fCCOPYING\fR for further details.