cclabsinc / rfcrack Goto Github PK
View Code? Open in Web Editor NEWA Software Defined Radio Attack Tool
License: Other
A Software Defined Radio Attack Tool
License: Other
Hi, first off, thank you for this excellent script.
I kinda noticed that everytime i start using rfcrack my yardstick's green light refuses to switch off
therefore unable to access the device the second time & the only solution is to unplug'n'replug the stick
again?!
can't figure out whether its an issue with my os or rfcrack? but rfcat works just fine.
i'm running Debian testing.
Thx in adv.
all day automatic save rolling codes?
1-start jamming
2-start sniffing
3-saving /save/file1
waiting 1mnt.....
1-start jamming
2-start sniffing
3-saving /save/file2
waiting 1mnt......
What is the supported frequency range?
Thank you for sharing your experience & tools with us!
python RFCrack.py -n -g -u 1f0fffe0fffc01ff803ff007fe0fffc1fff83fff07ffe0007c
python RFCrack.py -k -f 390000000
)Use an RTL-SDR as the receiver while jamming as this is much cheaper than using multiple yardsticks.
is it possible to jam on multiple frequencies using USRP b210 2x2 MIMO or is there any update for that?
thanks
When I try to run rfcat -r I get an import error: no module named usb. Any ideas?
Hi there,
Love the script, just wondering if you could incorporate the HackRF just for the jamming part, something like
hackrf_transfer -f (frequency_from_script) -a 1 -x 47 -c 127
Hi! I need Your help.
I have this error:
root@nrs:~/rfcat/RFCrack# python RFCrack.py -c -u 3f87f1c03f8701fc380fe1c0380e01c07f0e03f87f0e03c0701e0380fe1c0780e -n
----------Start Signals In Press--------------
Percent Chance of Match for press is: 0.02
Percent Chance of Match for press is: 0.12
Percent Chance of Match for press is: 0.02
Percent Chance of Match for press is: 0.07
Percent Chance of Match for press is: 0.16
Percent Chance of Match for press is: 0.07
----------End Signals In Press------------
Traceback (most recent call last):
File "RFCrack.py", line 219, in
utilities.logTail(my_clicker)
File "/root/rfcat/RFCrack/src/utilities.py", line 29, in logTail
percent = my_clicker.liveClicks()
File "/root/rfcat/RFCrack/src/Clicker.py", line 57, in liveClicks
self.openImage('./imageOutput/LiveComparison.png')
File "/root/rfcat/RFCrack/src/Clicker.py", line 124, in openImage
subprocess.call([imageViewerFromCommandLine, path])
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Any chance to support the HackRF One device?
BTW congrats for the great work
Hello cclabs, appreciate the hard work,
I was wondering as its Jan 2020, and python 2 is depreciated, do we need to do anything to make RFCrack work with python 3, or will we have to wait for you to make the next iteration and update.
Many thanks from the community.
Hello there. Can someone tell me what this means please. Had to reinstall my Kali box and when I install rfcrack i get this error ImportError: No module named builtins . Thanks for any info in advanced .
Cheers Kev
Traceback (most recent call last):
File "RFCrack.py", line 2, in
from rflib import *
ImportError: No module named rflib
The data I transmitted can make the electric door work, but I use d.RFlisten() to receive the remote control signal of the electric door, which is difficult to read.Is it related to the baud rate? Is there a way to automatically recognize the baud rate?
I had issues with this option whenever I press on the remote button it would crash and give me
Traceback (most recent call last):
File "RFCrack.py", line 201, in
attacks.replayLiveCapture(d, args.rolling_code, rf_settings)
File "/opt/RFCrack/src/attacks.py", line 44, in replayLiveCapture
replay_capture, signal_strength = tools.capturePayload(d,rolling_code, rf_settings)
File "/opt/RFCrack/src/RFFunctions.py", line 21, in capturePayload
signal_strength= 0 - ord(str(d.getRSSI()))
File "/usr/lib/python2.7/dist-packages/future/types/newstr.py", line 102, in new
return super(newstr, cls).new(cls, value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc7 in position 0: ordinal not in range(128)
Hi there, I am able to sniff and record signals with one Yardstick , but when I try to jam , I get the following error:
$ sudo python3 RFCrack.py -j -F 314980000
Starting Jamming on: 314980000
Traceback (most recent call last):
File "RFCrack.py", line 198, in
jam.jamming(j, "start", rf_settings, args.rolling_code)
File "/home/jammboy/RFCrack/RFCrack/src/jam.py", line 27, in jamming
j.setModeTX() # start transmitting
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_nic.py", line 127, in setModeTX
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_nic.py", line 119, in setRfMode
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_usb.py", line 616, in send
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_usb.py", line 579, in recv
rflib.chipcon_usb.ChipconUsbTimeoutException: Timeout waiting for USB response.
===== RESETUP set from recv thread
Do I need 2-nd Yardstick to be able to jam only?
Also very frequent I get USB timeout errors.
In the same time , if I use the following code from another source, I am able to jam :
from rflib import *
d = RfCat()
#d.setFreq(868500000) #868
d.setFreq(433800000) #433.92
#d.setFreq(315300000) #315
d.setMdmModulation(MOD_ASK_OOK)
d.setMdmDRate(4800)
#d.setMaxPower()
print("Starting")
while(1):
d.RFxmit(b"\x84\xe7\x08\x42\x10\x84\xe7\x38\x00\x00\x00\x00\x00\x00"*10)
i cant get this to work for the life of me
tried debian clean install
tried dragonos clean install
can this be updated to have a simple install script with everything needed to run it as a standalone with rfcat?
rfcat works, but not this
It will be possible to add a jamming script?
Start listen until a signal is detected or a specific cod then to automatically start jamming for 20 sec and then get back in listen mode or jamming when a signal is detected and then when the transmission stop the jamming stops.
Or using 2 Yardstick 1 for lisen for a signal and when is detected the second one to start jamming and when the signal end the jamming end .
nice work so far! i'm liking the direction this project is going (although admittedly i haven't had a chance to make use of it yet).
this is just a note that RfCat works with Py3 now, and is pip-installable. check it out, give me any feedback you may have. then you might want to update your INSTALL docs.
hack fun!
@
I have 2 YS1's inserted and I believe I have all necessary libraries and drivers, but when I call
sudo python RFCrack.py -r -M MOD_ASK_OOK -F 433900000
it gives me this error everytime, just the exact byte that it's confused about is changing all the time
I think the EvilCrowRF hardware is interesting as it allows for full duplex with two modems and the RFQuack firmware would be supportive for complex use cases as implemented in RFCrack.
EvilcrowRF: it is even much cheaper than YARDstick One.
https://github.com/joelsernamoreno/EvilCrow-RF
RFQuack:
https://github.com/rfquack/RFQuack
Are you still interested in such gadgets and use cases? It would be great to repace RFcat with RFquack in RFcrack.
Hi sorry my noob question but when using the rolling code mode (-r) only one of the signals is repeated, the second fails. Sometimes the first fails and the second works. Any tip how could I fix this?
root@kali:~/RFCrack# python RFCrack.py -j -F 433000000
Traceback (most recent call last):
File "RFCrack.py", line 7, in
import src.attacks as attacks
File "/root/RFCrack/src/attacks.py", line 3, in
import findDevices, jam, utilities
File "/root/RFCrack/src/utilities.py", line 4, in
import Clicker
File "/root/RFCrack/src/Clicker.py", line 1, in
import matplotlib.pyplot as plt
File "/usr/local/lib/python2.7/dist-packages/matplotlib/init.py", line 126, in
from . import cbook
File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook/init.py", line 34, in
import numpy as np
File "/usr/lib/python2.7/dist-packages/numpy/init.py", line 142, in
from . import core
File "/usr/lib/python2.7/dist-packages/numpy/core/init.py", line 95, in
from . import numeric
File "/usr/lib/python2.7/dist-packages/numpy/core/numeric.py", line 3095, in
from . import arrayprint
File "/usr/lib/python2.7/dist-packages/numpy/core/arrayprint.py", line 90
if threshold is not sys.maxsize
^
SyntaxError: invalid syntax
hi,
i wanted to give a try to rfcrack, but i am facing an issue when i want to replay
nocomp@P0wnB0x:/tools/sdr/RFCrack$ python RFCrack.py -i -F 433985000/tools/sdr/RFCrack$
Traceback (most recent call last):
File "RFCrack.py", line 201, in
attacks.replayLiveCapture(d, args.rolling_code, rf_settings)
File "/home/nocomp/tools/sdr/RFCrack/src/attacks.py", line 44, in replayLiveCapture
replay_capture, signal_strength = tools.capturePayload(d,rolling_code, rf_settings)
File "/home/nocomp/tools/sdr/RFCrack/src/RFFunctions.py", line 21, in capturePayload
signal_strength= 0 - ord(str(d.getRSSI()))
File "/home/nocomp/.local/lib/python2.7/site-packages/future/types/newstr.py", line 104, in new
return super(newstr, cls).new(cls, value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 0: ordinal not in range(128)
nocomp@P0wnB0x:
any idea what can be wrong?
thx for helping
I managed to jam signals using rpitx on a raspberry pi while simultaneously capturing signals using a yard stick one with the live replay option. I believe I managed to not capture any of the jamming signals and only the ones I actually wanted, but when I replay them nothing happens. What could be the issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.