CudaKeeloq icon indicating copy to clipboard operation
CudaKeeloq copied to clipboard

Help on input data type, and compatibility with Flipper Zero data captures

Open ste94pz opened this issue 2 years ago • 9 comments

Hi, I'm trying to use the captured data of my Flipper Zero and a FAAC SLH remote, but I don't quite understand the format of the inputs required by this software. Can you give me some suggestions, please? Thank you.

IMG_3788

The seed should be 0x2C5882E1.

ste94pz avatar Oct 07 '23 11:10 ste94pz

Unfortunately, I cannot help here.

Yes, bruteforce algorithms was taken from flipper's firmware (dark flipper), but I did not have any experience with seeded learning types by myself. Honestly, I thought without seed it's impossible to decrypt FAAC, however I could see on your photo all the information (Button, Serial). This is in fact already decoded information, and the inputs for bruteforcer should be captured bits of encoded signal.

You could try to ask/search this forum phreakerclub they have plenty information.

X-Stuff avatar Oct 07 '23 12:10 X-Stuff

Could you tell me where the input ota keys are used, so I could edit the functions to extract fix, hop, button and serial? I this way, I think I could adapt the program to work directly with the keys from the Flipper captures, like the one in the photo. Or I could pass the hop strings as inputs, and fix as another argument.

ste94pz avatar Oct 07 '23 18:10 ste94pz

I would rather suggest you to do just reverse. From hopping code and fixed part re-create a OTA data. How OTA data is interpreted you can find here

As far as I remember the OTA data is bit reversed, in big-endian, because it's more natural for transmitting hardware.

X-Stuff avatar Oct 07 '23 21:10 X-Stuff

I'm trying this way, but I can't recreate the correct ota from the data of the Flipper captures. In your program the fix is made of "button + serial", in the Flipper is "serial + button" and there are differences in the hop generation. Sorry to waste your time, maybe I don't understand something.

ste94pz avatar Oct 08 '23 13:10 ste94pz

I managed to edit the program to work with Flipper captures, but it's a very shitty work, and very likely it breaks the funtioning in modes other than seed bruting with faac learning type. I'm here if you're curious to give it a look 😅

ste94pz avatar Oct 08 '23 20:10 ste94pz

I managed to edit the program to work with Flipper captures, but it's a very shitty work, and very likely it breaks the funtioning in modes other than seed bruting with faac learning type. I'm here if you're curious to give it a look 😅

Hi! I would love to give your version a try since I'm trying to accomplish your same task with the same hardware...I can also test for bugs

Best Regards 😁

RandomN3rd avatar Oct 14 '23 11:10 RandomN3rd

I managed to edit the program to work with Flipper captures, but it's a very shitty work, and very likely it breaks the funtioning in modes other than seed bruting with faac learning type. I'm here if you're curious to give it a look

Hi! I would love to give your version a try since I'm trying to accomplish your same task with the same hardware...I can also test for bugs

Best Regards

Have a look here https://github.com/ste94pz/CudaKeeloq/tree/wip

ste94pz avatar Oct 19 '23 21:10 ste94pz

Have a look here https://github.com/ste94pz/CudaKeeloq/tree/wip

Hi! Thanks for your work! Replying here because there's no way to create issues in your repo.

I gave it a try on windows and unfortunately visual studio gives an error while compiling saying in keeloq_kernel.inl "Kenrel_keeloq_single_check isn't defined" referring to the bottom of the file (below //GPU)

Also tried on ubuntu but while building the container, it says there are errors in some of the modifyed files and doesn't complete the build

If you happen to have a successfully built .exe or container I can test with that

RandomN3rd avatar Oct 26 '23 17:10 RandomN3rd

Have a look here https://github.com/ste94pz/CudaKeeloq/tree/wip

Hi! Thanks for your work! Replying here because there's no way to create issues in your repo.

I gave it a try on windows and unfortunately visual studio gives an error while compiling saying in keeloq_kernel.inl "Kenrel_keeloq_single_check isn't defined" referring to the bottom of the file (below //GPU)

Also tried on ubuntu but while building the container, it says there are errors in some of the modifyed files and doesn't complete the build

If you happen to have a successfully built .exe or container I can test with that

I enabled the issues on my repo and I solved the problem, now it should work.

ste94pz avatar Oct 27 '23 20:10 ste94pz