firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Rf replay not working m5stick cplus 2

Open thanatos84 opened this issue 1 year ago • 40 comments

Describe the bug: RF replay not working on m5stick C plus 2

Steps To Reproduce: Select all ranges, intercept signal and reply. Neither works if I save it and then I try to replay it

  • Device used: m5stick c plus 2

thanatos84 avatar Dec 25 '24 19:12 thanatos84

It was fixed in this commit https://github.com/pr3y/Bruce/commit/e92a3abd8b116c7cc754bbc7405c32e77e0fb4ef

please test it with the last beta

bmorcelli avatar Dec 25 '24 23:12 bmorcelli

Tried with latest beta in the website. I've tried with my garage door and now reply works but not working when I go to "main menu > rf > custom subhhz > select file", it appears "sending" but nothing happens

I'm using CC1101. Spectrum and jammer works fine

thanatos84 avatar Dec 25 '24 23:12 thanatos84

Ok, I'll keep looking into the Raw signal detection/saving.. it'll take some time tho

bmorcelli avatar Dec 26 '24 00:12 bmorcelli

As you have a HackRF, can you check one thing for me?

I believe the signal is being saved "inverted"... Like high times and Low times swapped...

If this is the problem, I might need to add one dummy time at the beginning to invert it..

If you can send a snapshot of both original signal and replayed signal, where we can see the first 10 square waves, maybe it can help me debugging this issue

bmorcelli avatar Dec 26 '24 02:12 bmorcelli

I don't know if it has anything to do with it, but checking the .sub file, it is missing ":" after the version, so no .sub file processor accepts it.

MAR1TO15 avatar Dec 26 '24 05:12 MAR1TO15

It is not the problem.. this version section is nothing but a comment

bmorcelli avatar Dec 26 '24 10:12 bmorcelli

As you have a HackRF, can you check one thing for me?

I believe the signal is being saved "inverted"... Like high times and Low times swapped...

If this is the problem, I might need to add one dummy time at the beginning to invert it..

If you can send a snapshot of both original signal and replayed signal, where we can see the first 10 square waves, maybe it can help me debugging this issue

Let me help you with that since I was analyzing simmilar yesterday with URH. What i noticed is that binary values of bruce sub compared with EvilC didnt match at all. But I didnt thought about signal being inverted and didnt look into that. Will also check this later today since I am going out now. Anyway let me at least share files with you since it might help.

Below are recordings of remote door unlock signal data transferred via 433.92MHz. Recordings are with EvilCrowRFv2 (which can also be successfully replicated) and recording of same data (same button on remote) )with Bruce where sending data is not working correctly.

Description of each shared file:

  • EvilCrow recording sub file: ECRF_remote_rec_RAW_File_433.92mHz_ASK_OOK_653_samples.sub
  • Bruce recording sub file: bruce_3_rec_remote.sub
  • EvilCrow recording of Bruces bruce_3_rec_remote.sub transmission: ECRF_rec_bruce3_RAW_File_433.92mHz_ASK_OOK_294_samples.sub sub_files.tar.gz

Screenshot_2024-12-26_15-16-15

Edit: Forgot to mention that Bruce recording and sending was done with LilyGo Tembed cc1101 modul flashed with latest beta firmware. ffa4c1f

Hope it helps!

rustysun9 avatar Dec 26 '24 14:12 rustysun9

Today I could successfully open my gate with the RAW data collected with Cardputer and T-Embed CC1101 with this last version available on Beta

@rustysun9 if you could do the testing please

bmorcelli avatar Dec 29 '24 02:12 bmorcelli

Today I could successfully open my gate with the RAW data collected with Cardputer and T-Embed CC1101 with this last version available on Beta

@rustysun9 if you could do the testing please

Wich version? Because this afternoon I updated last beta and I just received dozens of fake raw signals in m5stick cplus2

I thought may be there was some noise in the air, but I checked with flipper zero also and nothing. Also I installed latest stable and no noise (but not working for sure)

thanatos84 avatar Dec 29 '24 03:12 thanatos84

I've installed latest beta and device is not booting, I've had to install again latest stable

thanatos84 avatar Dec 29 '24 13:12 thanatos84

Today I could successfully open my gate with the RAW data collected with Cardputer and T-Embed CC1101 with this last version available on Beta

@rustysun9 if you could do the testing please

@bmorcelli Great. I will test it today and let you know.

rustysun9 avatar Dec 29 '24 13:12 rustysun9

I just tested with the latest beta my 433mhz car remote, it captures the raw signal but the replay doesn't work. I also tried saving more signals but no luck :(

hunt3rbb666NotFound avatar Dec 29 '24 16:12 hunt3rbb666NotFound

I just tested with the latest beta my 433mhz car remote, it captures the raw signal but the replay doesn't work. I also tried saving more signals but no luck :(

You mean your Cars Keyfob? Please dont try this. You can cause issues and lock yourself out of the vehicle. Its also not likely to work.

rouing avatar Dec 29 '24 16:12 rouing

Today I could successfully open my gate with the RAW data collected with Cardputer and T-Embed CC1101 with this last version available on Beta

@rustysun9 if you could do the testing please

@bmorcelli; sadly, testing was not successfull yet. I have tested opening and locking doors with two different Tembed devices (one with external antenna and second with stock HW). Both running 63a1be3 commit. Please find Bruce saved sub file named bruce_5.sub and EvilCrow sub file created with recording of transmision of bruce_5.sub from Tembed in the attached archive. I havent checked or analized data with URH yet since I am testing this at my parents place.. files.tar.gz

rustysun9 avatar Dec 29 '24 17:12 rustysun9

@rouing Flipper Zero works the replay without causing damage. Isn't this possible with bruce? Meaning I can't carry out RF tests on my car?

MayLaOwn avatar Dec 29 '24 17:12 MayLaOwn

@rouing Flipper Zero works the replay without causing damage. Isn't this possible with bruce? Meaning I can't carry out RF tests on my car?

You can cause your keyfob to get out of sync with the car. Then you will be locked out.

rouing avatar Dec 29 '24 17:12 rouing

@rouing I didn't understand the answer and for that I apologize. can you explain me better? Raw signal replay should work and cause no damage...

MayLaOwn avatar Dec 29 '24 17:12 MayLaOwn

https://tcm-sec.com/intro-to-car-hacking-replay-attacks/

"Some of these attacks may put a key fob and car out of sync, causing the key fob to no longer work until the car and fob are reprogrammed."

Everything you need to know is in that article.

rouing avatar Dec 29 '24 17:12 rouing

Bruce should still be working yes though, were having issues apparently.

rouing avatar Dec 29 '24 17:12 rouing

What devices are you using? I've tried again to flash via the website latest beta in m5stic cplus 2 and not booting, it just turn on green led when press power on… but not booting

Then I go back to stable 1.8 and boots perfectly

thanatos84 avatar Dec 29 '24 17:12 thanatos84