Code Monkey home page Code Monkey logo

mousejack's People

Contributors

ikarus23 avatar jynik avatar marcnewlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mousejack's Issues

scanning without result

Hi, when i run nrf24-scanner with crazyradio PA it keep scanning without showing and result.

i reinstall pyusb as suggested in one of the tickets, also tried to flash crazyradio firmware and set the address to 1915:0102 instead of 1915:7777 in all files under "crazyradio-firmware/usbtools" but get error when tring to flash crazyradio FW:

sudo ./cradioFlasher.py Image size: 7359
Loaded binary image.

Starting to flash...
Launch bootloader Traceback (most recent call last):
File "./cradioFlasher.py", line 157, in flash
ret = launchBootloader.launchBootloader(True)
File "/home/drdeath/mousejack/crazyradio-firmware/usbtools/launchBootloader.py", line 61, in launchBootloader
handle.controlMsg(0x40, 0xFF, (), value=0, index=0, timeout=100)
File "/usr/local/lib/python2.7/dist-packages/usb/legacy.py", line 211, in controlMsg
timeout = timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 1043, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 32] Pipe error

also notes an error with launchBootloader:

sudo ./launchBootloader.py
Launch bootloader Traceback (most recent call last):
File "./launchBootloader.py", line 95, in
sys.exit(launchBootloader(True))
File "./launchBootloader.py", line 61, in launchBootloader
handle.controlMsg(0x40, 0xFF, (), value=0, index=0, timeout=100)
File "/usr/local/lib/python2.7/dist-packages/usb/legacy.py", line 211, in controlMsg
timeout = timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 1043, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 32] Pipe error

nrf24-scanner just keep looping without showing any result:

sudo ./nrf24-scanner.py -v
[2016-04-21 10:20:33.078] Using channels 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83
[2016-04-21 10:20:33.166] Entered promiscuous mode
[2016-04-21 10:20:33.169] Tuned to 2
[2016-04-21 10:20:33.273] Tuned to 3
.....
......

lsusb show's:

Bus 002 Device 003: ID 1915:0102 Nordic Semiconductor ASA

please advice, thanks

Endianness of address

Is there a reason why the endianness for the address is different on the output of the scripts (e.g. nrf24-scanner.py) and the initialization of an nrf24 object (e.g. radio..enter_sniffer_mode(address)?

I didn't noticed this at first and wondered why my script was not working... ;)

Error 1

image
Hello, i'm trying to install the mousejack firmware for the crazyradio dongle and it's giving me this error i've tried a lot of things to no avail, can anyone help me? Thanks
image

unifying receiver not recognized

hi there.
any chance someone can help me with getting one of my unifying adapter flashed...

i do have hundreds of those unifying adapter (u0007 and u0008) in my desk
tried a lot of them, but none is working
it always says "no compatible device found"
tried on different linux distributions but with the same result

thank you

Data Type issue?

Ran the usb-flash.py scipt through 2to3 and fixed the USB to pyusb. Now getting an error that says:
sudo make install ./prog/usb-flasher/usb-flash.py bin/dongle.bin Traceback (most recent call last): File "/home/mousejack/nrf-research-firmware/./prog/usb-flasher/usb-flash.py", line 53, in <module> data += '\000' * (512 - len(data) % 512) TypeError: can't concat str to bytes make: *** [Makefile:27: install] Error 1

Any way to fix this?

Setting up Crazyradio PA

Just documenting the process getting started with the Crazyradio PA and MouseJack.

If you're using http://macports.org then you'll want to edit the Makefile on line 7 to gobjcopy because FSF software names a lot of their tools with a leading g.

You may also need to run make bin/ first before just running make. Or at least I needed to on OS X & Ubuntu.

Builds fine though.

Then make install.... hmmm....

OS X

gyaresu@zaphod:~/programming/mousejack|master⚡
⇒  make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-02-25 12:01:37.841]  Looking for a compatible device that can jump to the Nordic bootloader
[2016-02-25 12:01:37.878]  Device found, jumping to the Nordic bootloader
[2016-02-25 12:01:37.879]  Looking for a device running the Nordic bootloader
[2016-02-25 12:01:39.155]  No compatbile device found
Traceback (most recent call last):
  File "./prog/usb-flasher/usb-flash.py", line 90, in <module>
    raise Exception('No compatible device found.')
Exception: No compatible device found.
make: *** [install] Error 1

Debian:

user@nuc:~$ make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-02-25 12:07:57.652]  Looking for a compatible device that can jump to the Nordic bootloader
[2016-02-25 12:07:57.672]  Looking for a device running the Nordic bootloader
[2016-02-25 12:07:58.673]  No compatbile device found
Traceback (most recent call last):
  File "./prog/usb-flasher/usb-flash.py", line 90, in <module>
    raise Exception('No compatible device found.')
Exception: No compatible device found.
Makefile:21: recipe for target 'install' failed
make: *** [install] Error 1

It's there though right?
$ lsusb:
Bus 001 Device 007: ID 1915:7777 Nordic Semiconductor ASA

So maybe the PA doesn't come with firmware installed?

https://github.com/bitcraze/crazyradio-firmware/releases

Ah...

So download the correct firmware:
https://github.com/bitcraze/crazyradio-firmware/releases/ (lastest is currently: cradio-pa-0.53.bin)

Then follow the instructions to USB firmware upgrade:
https://wiki.bitcraze.io/projects:crazyradio:programming

And you should be on a winner.

sudo make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-02-25 12:30:21.961]  Looking for a compatible device that can jump to the Nordic bootloader
[2016-02-25 12:30:21.981]  Looking for a device running the Nordic bootloader
[2016-02-25 12:30:21.984]  Writing image to flash
[2016-02-25 12:30:22.404]  Verifying write
[2016-02-25 12:30:22.440]  Firmware programming completed successfully
[2016-02-25 12:30:22.440]  Please unplug your dongle or breakout board and plug it back in.

where to start

hi im reading the readme but i cant determine how to start *is there a tutorial for mousejack)
regards,
hussein wehbe

Microsoft transceiver firmware patch

Is there a firmware update for the Microsoft peripheral transceivers to address MouseJack like there is for the Logitech Unifying Receivers? It seems Microsoft addressed the vulnerability (at least partially) at the OS level, but I am not aware of a patch at the firmware level.

Flashing Firmware

Once the firmware is flashed, windows can no longer recognize the device. This is a problem because the device can no longer be passed to a VM. The event log flags this issue with the code 43 which may indicate issues with the descriptors.

Is this something that can be easily resolved?

The device is recognized by a standalone linux box.

Error 1 when compiling

Getting this output:
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
sdcc --model-large --std-c99 -c src/usb.c -o bin/usb.rel
sdcc --model-large --std-c99 -c src/usb_desc.c -o bin/usb_desc.rel
sdcc --model-large --std-c99 -c src/radio.c -o bin/radio.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel bin/usb.rel bin/usb_desc.rel bin/radio.rel -o bin/dongle.ihx
make: *** [Makefile:15: dongle.bin] Error 1
What the problem could be?

Not detecting Logitech Unifying Receiver after make logitech_install

Hi I have been working on this mousejack with my logitech unifying receiver U0007.
I did 'sudo make logitech_install', and this gave me the following error:

[2017-05-08 13:13:44.271] 20:00:01:0F:00:6B:32:FF:FF:FF:FF:FF:FF:FF:32:FF:FF:FF:FF:FF:EF:DC:75:B6:40:11:D0:00:C7:C7:9D:1F
[2017-05-08 13:13:44.271] Mark firmware update as completed
[2017-05-08 13:13:44.654] 20:00:00:01:02:6B:32:FF:FF:FF:FF:FF:FF:FF:32:FF:FF:FF:FF:FF:EF:DC:75:B6:40:11:D0:00:C7:C7:9D:1F
[2017-05-08 13:13:44.655] Restarting dongle into research firmware mode
Traceback (most recent call last):
File "./prog/usb-flasher/logitech-usb-flash.py", line 65, in
response = dongle.send_command(0x21, 0x09, 0x0200, 0x0000, "\x70" + "\x00"*31)
File "/home/grace/mousejack/nrf-research-firmware/prog/usb-flasher/unifying.py", line 180, in send_command
response = self.dongle.read(ep, 32, timeout=timeout)
File "/home/grace/.local/lib/python2.7/site-packages/usb/core.py", line 988, in read
self.__get_timeout(timeout))
File "/home/grace/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 851, in intr_read
timeout)
File "/home/grace/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 936, in __read
_check(retval)
File "/home/grace/.local/lib/python2.7/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 19] No such device (it may have been disconnected)
Makefile:33: recipe for target 'logitech_install' failed
make: *** [logitech_install] Error 1

Then all of sudden, my logitech mouse stop working and it is disconnected. So I checked whether the dongle is recongized by my ubuntu with 'lsusb', but it seems like it is not recongized well.

Does anybody know why this happened and how I fix this issue?

Thank you all

Can't find any HID events in packet using sniffer.

Maybe it is just me but I cannot find any valid "keystrokes" in the decoded packets against Logitech keyboard. maybe it's patched? I think it would be cool to add .pcap output or something. I am a noob in this area, every-time I hit the same key I get different values. Could someone explain this output to me? I have done hours of research and cannot find any valid HID events.

This is the result of the "b" key being hit twice on the target device.
[2016-02-26 20:38:42.023] 5 22 4A:45:95:F7:07 00:D3:CB:DA:EF:30:11:FD:0D:7C:7A:40:23:42:00:00:00:00:00:00:00:B3
[2016-02-26 20:38:42.024] 5 22 4A:45:95:F7:07 00:40:00:08:B8:00:00:00:00:98:7A:40:23:3F:00:00:00:00:00:00:00:35
[2016-02-26 20:38:42.030] 5 5 4A:45:95:F7:07 00:40:00:08:B8
[2016-02-26 20:38:42.031] 5 5 4A:45:95:F7:07 00:D3:CB:DA:EF
[2016-02-26 20:38:42.038] 5 10 4A:45:95:F7:07 00:4F:00:01:18:00:00:00:00:98
[2016-02-26 20:38:42.039] 5 10 4A:45:95:F7:07 00:40:00:08:B8:49:24:1C:C1:02
[2016-02-26 20:38:42.207] 5 5 4A:45:95:F7:07 00:40:01:18:A7
[2016-02-26 20:38:42.208] 5 5 4A:45:95:F7:07 00:D3:CB:DA:EF
[2016-02-26 20:38:42.457] 5 5 4A:45:95:F7:07 00:40:01:18:A7
[2016-02-26 20:38:42.457] 5 5 4A:45:95:F7:07 00:D3:CB:DA:EF
[2016-02-26 20:38:42.706] 5 5 4A:45:95:F7:07 00:40:01:18:A7
[2016-02-26 20:38:42.707] 5 5 4A:45:95:F7:07 00:D3:CB:DA:EF
[2016-02-26 20:38:42.955] 5 5 4A:45:95:F7:07 00:40:01:18:A7
[2016-02-26 20:38:42.956] 5 5 4A:45:95:F7:07 00:D3:CB:DA:EF
[2016-02-26 20:38:43.191] 5 22 4A:45:95:F7:07 00:D3:02:0E:C3:13:39:E2:A3:27:7A:40:23:43:00:00:00:00:00:00:00:42
[2016-02-26 20:38:43.192] 5 22 4A:45:95:F7:07 00:D3:CB:DA:EF:30:11:FD:0D:7C:7A:40:23:42:00:00:00:00:00:00:00:B3

11

Tools doesnt work

Hi there,

first i have successfully flashed the firmware of the CrazyRadio PA USB dongle. After flashing, it is always the red led on?! And lsusb gives ID 1915:0102 Nordic Semiconductor ASA

all the tools i called gives me no feedback and after several minutes i cancelled the action and it gives me this output:

CTraceback (most recent call last):
File "./nrf24-scanner.py", line 55, in
value = common.radio.receive_payload()
File "/home/hand/Downloads/MouseJack - Cracyfly/mousejack-master/tools/lib/nrf24.py", line 91, in receive_payload
self.send_usb_command(RECEIVE_PAYLOAD, ())
File "/home/hand/Downloads/MouseJack - Cracyfly/mousejack-master/tools/lib/nrf24.py", line 120, in send_usb_command
self.dongle.write(0x01, data, timeout=nrf24.usb_timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 948, in write
self.__get_timeout(timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 824, in bulk_write
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 917, in __write
timeout)
KeyboardInterrupt

im using:
pyusb==1.0.0rc1
libusb-1.0-0

anyone known this issue?

Thanks

km714

I was wondering is the KM714 still vulnerable in any way ( sniff or injection) ?
thanks

Unsafe site warning in chrome

Not sure this is quite the appropriate place, but seemed the quickest way to raise the issue - getting an unsafe site warning in Chrome 67, strangely on one machine but not another:

malware

Python 3 update

The state of this tool means that it cannot be installed or used with the current standard of Python.

Please rewrite into Python3 or offer suitable workarounds.

It seems i'm having an issue: The red LED of my Crazyradio PA is constantly on. Is that normal?

Flashing outputted the following:

[2016-09-15 13:17:49.080] Looking for a compatible device that can jump to the Nordic bootloader
[2016-09-15 13:17:49.188] Device found, jumping to the Nordic bootloader
[2016-09-15 13:17:49.609] Looking for a device running the Nordic bootloader
[2016-09-15 13:17:49.619] Writing image to flash
[2016-09-15 13:17:50.253] Verifying write
[2016-09-15 13:17:50.333] Firmware programming completed successfully
[2016-09-15 13:17:50.333] Please unplug your dongle or breakout board and plug it back in.

Any ideas?

Originally posted by @sw1337 in #2 (comment)

HackRF

Hi! Its Works with HackRF?

Thanks

Error when running make install command

i have followed this guide
https://null-byte.wonderhowto.com/how-to/inject-keystrokes-into-logitech-keyboards-with-nrf24lu1-transceiver-0197099/
every time i run the make install command i get this error message.

/opt/mousejack/nrf-research-firmware$ make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
Traceback (most recent call last):
  File "./prog/usb-flasher/usb-flash.py", line 20, in <module>
    import usb, time, sys, array, logging
ImportError: No module named usb
make: *** [Makefile:27: install] Error 1

what have i done wrong?
i will continue searching for a solution to this but any help would be appreciated. thank you

make error(s)

Hey, I tried installing the code and I followed all the steps up to make but when I ran make it gave me the following errors.

❱ make
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]
/bin/sh: line 0: test: -lt: unary operator expected
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
sdcc --model-large --std-c99 -c src/usb.c -o bin/usb.rel
sdcc --model-large --std-c99 -c src/usb_desc.c -o bin/usb_desc.rel
sdcc --model-large --std-c99 -c src/radio.c -o bin/radio.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel bin/usb.rel bin/usb_desc.rel bin/radio.rel -o bin/dongle.ihx
objcopy -I ihex bin/dongle.ihx -O binary bin/dongle.bin
make: objcopy: No such file or directory
make: *** [dongle.bin] Error 1
❱ 

first off, grep -P doesn't work (or even exist)
second, I have no idea how make works because it says it ran test -lt and I don't see that in the makefile
and last it looks like it can't find obj copy or dongle.bin

Any help would be appreciated,
Thanks.

Several errors - "Operation timed out" and "Cannot find USB dongle"

Sorry, hit enter and posted - adding issue text...

Installed as instructed

make

make install

Which gave me:
Please unplug your dongle or breakout board and plug it back in.

So, I think everything was fine at that point. Then I tried running a tool and got the following:

./nrf24-scanner.py -v -c 1
[2016-03-25 17:58:57.431]  Using channels 1
Traceback (most recent call last):
  File "./nrf24-scanner.py", line 35, in <module>
    common.radio.enter_promiscuous_mode(prefix_address)
  File "/opt/mousejack/tools/lib/nrf24.py", line 69, in enter_promiscuous_mode
    self.dongle.read(0x81, 64, timeout=nrf24.usb_timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 988, in read
    self.__get_timeout(timeout))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 833, in bulk_read
    timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 936, in __read
    _check(retval)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out

All other tools give "Operation timed out" as well. So, I tried a "make", and "make install" again. "Make" went fine, but "make install" gave me this:

make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-03-25 18:09:30.012]  Looking for a compatible device that can jump to the Nordic bootloader
[2016-03-25 18:09:30.036]  Device found, jumping to the Nordic bootloader
[2016-03-25 18:09:30.045]  Looking for a device running the Nordic bootloader
[2016-03-25 18:09:31.047]  No compatbile device found
Traceback (most recent call last):
  File "./prog/usb-flasher/usb-flash.py", line 90, in <module>
    raise Exception('No compatible device found.')
Exception: No compatible device found.
Makefile:25: recipe for target 'install' failed
make: *** [install] Error 1

And the output from running tools is now:

./tools/nrf24-scanner.py -c {1..5}
Traceback (most recent call last):
  File "./tools/nrf24-scanner.py", line 27, in <module>
    common.parse_and_init()
  File "/opt/mousejack/tools/lib/common.py", line 57, in parse_and_init
    radio = nrf24()
  File "/opt/mousejack/tools/lib/nrf24.py", line 64, in __init__
    raise Exception('Cannot find USB dongle.')
Exception: Cannot find USB dongle.

Any thoughts?

USB Compliance Failing

I have two adapters I was previously testing with a while back and figured I wanted to take another look at this. Upon attempting to run this program I noticed my USB devices were not being detected.

Host machine: OSX 10.13.6
Guest machine: Kali Rolling

System information:
screen shot 2018-08-25 at 10 49 36 am

Dmesg output from OSX:
IOUSBHostDevice@14200000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data
Research Firmware@14200000: IOUSBHostDevice::getDescriptorGated: compliance violation: USB 2.0 9.3.5: device returned more than wLength data

Device isn't showing up to mount to Guest machine. Confirmed with lsusb and dmesg on Kali. Debating at this point on if I should open the bootloader and re-flash, but I know these were working previously so a little confused.

Not detecting Logitech Unifying Receiver

I've got several Logitech receviers here model number C-U0007 that are not detected during the 'sudo make install' phase. One I have had for 5-6 years, one for 2 years and one I just purchased brand new.

Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver

[2016-08-31 22:29:32.052] Looking for a compatible device that can jump to the Nordic bootloader
[2016-08-31 22:29:32.075] Looking for a device running the Nordic bootloader
[2016-08-31 22:29:33.076] No compatbile device found
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 92, in
raise Exception('No compatible device found.')
Exception: No compatible device found.

System is Arch Linux 4.7.2-1-ARCH fully updated.

Thanks!

Number of exceptions thrown

A partner and I are working on a presentation for a Network Security and Defense class, in short I have rewritten some of the source locally to support macOS in the Makefile, found a workaround library because binutils does not support objcopy and worked with codeless .kext files to get around most issues. Additionally, I tried to hardcode the device id without avail, however, it is now not recognizing as an HID and my codeless .kext is no longer an issue. I then switched to Ubuntu (on a separate available computer) and managed to get to the "firmware installed resetting dongle" portion of flashing, at that point I am getting a Errno 19 - device not recognized stemming from usb.core. I am using a logitech C-U0007 unifying dongle that is now flashed with Nordic Semiconductor ASA firmware but still it seems to be using the Logitech bootloader. Has anyone found a solution to this, any ideas, or the hex firmware to reflash the dongle back to its' original state to start over?

flash cancels on my systems

on ubuntu 14.04 lts and kali 2016 i got the same errors

root@kali:~/mousejack# make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-03-19 20:12:32.832] Looking for a compatible device that can jump to the Nordic bootloader
[2016-03-19 20:12:32.897] Device found, jumping to the Nordic bootloader
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 70, in
else: dongle.ctrl_transfer(0x40, 0xFF, 0, 0, (), timeout=usb_timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 1043, in ctrl_transfer
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out
Makefile:25: die Regel für Ziel „install“ scheiterte
make: *** [install] Fehler 1

tried
sudo pip install -U -I pip && sudo pip install -U -I pyusb
with no success

please help me

error

root@kali:/home/mousejack-master# make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
[2016-03-07 21:29:23.468] Looking for a compatible device that can jump to the Nordic bootloader
[2016-03-07 21:29:23.505] Looking for a device running the Nordic bootloader
[2016-03-07 21:29:23.546] Writing image to flash
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 99, in
dongle.read(0x81, 64, usb_timeout)
File "/usr/lib/python2.7/dist-packages/usb/core.py", line 659, in read
intf.bInterfaceNumber,
AttributeError: 'NoneType' object has no attribute 'bInterfaceNumber'
Makefile:25: recipe for target 'install' failed

make: *** [install] Error 1

Any ideas? Thanks!

Edit
-Debian 4.9.2-10
-updated Crazyradio PA

Error when running 'make install'

Im trying to install mousejack on my crazyradio pa using the latest version of Ubuntu but when i run the 'make install' command i get the following error-

./prog/usb-flasher/usb-flash.py bin/dongle.bin
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 20, in
import usb, time, sys, array, logging
ImportError: No module named usb
make: *** [Makefile:27: install] Error 1

ive properly followed all other steps without error so im not sure why this is happening.

Crazyradio or something else??

So I have a problem already with uploading my Crazyradio with Ubuntu. It WAS working for a couple hours, but ever since, my computer recognizes it as a libusb-win32 but the Ubuntu operating system "fails to attach USB device Crazyradio" into its system.
What's going on?

Pic of the terminal to show the error below:
problem

need to reseat or reboot after cancelling out

Hey Marc,

Invoking the scanner on Raspbian ARM seems to work, but after I Ctrl-C out the next time I try to run the scanner I get what's seen below, a state I can only clear by either reseating the USB device or rebooting -- is there a better/easier way? Is there a graceful way to end a scan instead of ^C?

~/git/mousejack/nrf-research-firmware$ sudo ./tools/nrf24-scanner.py -c 2
Traceback (most recent call last):
  File "./tools/nrf24-scanner.py", line 35, in <module>
    common.radio.enter_promiscuous_mode(prefix_address)
  File "/home/duke/git/mousejack/nrf-research-firmware/tools/lib/nrf24.py", line 76, in enter_promiscuous_mode
    self.dongle.read(0x81, 64, timeout=nrf24.usb_timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 988, in read
    self.__get_timeout(timeout))
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 833, in bulk_read
    timeout)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 936, in __read
    _check(retval)
  File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out

Any protocol documentations available?

Hi,

is there any documentation about the underlying protocols of the affected devices?

Sniffing and simply replaying the payloads is possible, but interpreting is not. When sniffing a Logitech connection, the payloads differs completely from the Logitech specifications of the HID++ protocol.

ProductID:002b

Hello,

I have an nRF24LU1 from Ali.
But Usb flasher didn't find, because the productID is 002b.

lsusb
...
Bus 001 Device 005: ID 1915:002b Nordic Semiconductor ASA

Can I use this board?

Unifying Dongle: Marking firmware complete takes 24 Seconds, doesn't boot into firmware mode

First of all: Thank you for the amazing work.

When flashing my unifying dongle (all preparations ahead no errors) i get the following results:
2019-05-07 07:52:11.419] Mark firmware update as completed
Traceback (most recent call last):
File "./prog/usb-flasher/logitech-usb-flash.py", line 61, in
response = dongle.send_command(0x21, 0x09, 0x0200, 0x0000, "\x20\x00\x00\x01\x02" + "\x00"*27)
File "/root/nrf/nrf-research-firmware/prog/usb-flasher/unifying.py", line 180, in send_command
response = self.dongle.read(ep, 32, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 988, in read
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 851, in intr_read
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 936, in __read
_check(retval)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out
Makefile:33: recipe for target 'logitech_install' failed
make: *** [logitech_install] Error 1

When i alter the usb_timeout in unifying.py from 2500 to 32500 it seems to work:

[2019-05-07 07:54:46.032] Mark firmware update as completed
[2019-05-07 07:55:09.883] 24:00:00:00:00:6B:32:FF:FF:FF:FF:FF:FF:FF:32:FF:FF:FF:FF:FF:FF:6F:B7:FF:41:A0:B4:15:FB:7E:79:B3
[2019-05-07 07:55:09.884] Restarting dongle into research firmware mode
[2019-05-07 07:55:09.886] 70:00:00:00:00:6B:32:FF:FF:FF:FF:FF:FF:FF:32:FF:FF:FF:FF:FF:FF:6F:B7:FF:41:A0:B4:15:FB:7E:79:B3

But the device still shows up as:
Bus 001 Device 024: ID 046d:aaaa Logitech, Inc.

Any advice would be appreciated.

Slightly tangential question about the Nordic firmware

It's not exactly directly related, but close enough.

Nordic says nRF24LU1+ is GFSK modulated, that's nice for talking to other GFSK chips but I'm curious if it's possible to get the chip to work as a more generic SDR? After hearing about talking to Nordic compatible dongles with a Crazyradio my first thought was wondering if the same silicon can be extended to other 2.4GHz spoofing applications, I figure I'm not the first to have that thought so I thought I'd ask.

Sorry if this is too offtopic.

make fails

On first run after installing dependencies, the make fails. It is resolved by doing a "mkdir bin/", but unfortunately after that the make fails a second time:

~/mousejack$ make
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
src/usb.h:23: error 78: incompatible types
from type 'void function ( ) literal-code* '
to type 'void function ( ) xdata-code* '
src/main.c:39: error 78: incompatible types
from type 'void function ( ) literal-code* '
to type 'void function ( ) xdata-const-code* '
make: *** [main.rel] Error 1

C-U0008

Will the Logitech unifying receiver C-U0008 work for this too? Or does it have to be exactly C-U0007? I ordered a C-U0007 on Amazon but the one I received says C-U0008 on it and flashing firmware does not seem to work, I can send it back and get a refund but I wanted to make sure it can't be used first

Can't find Crazyradio PA USB dongle in my NetHunter Phone

Device: Nexus 5
Android Version: 6.0.1
My Nexus5 mobile phone with NetHunter installed also encountered the same problem. The Crazy PA USB dongle could not be found. It is not recognized after the branch in the nrf24.py file has no backend modification, but the device information can be seen when dmesg is executed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.