Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ste94pz opened this issue Oct 7, 2023 · 9 comments

Comments

@ste94pz
Copy link

ste94pz commented Oct 7, 2023

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.

@X-Stuff
Copy link
Owner

X-Stuff commented Oct 7, 2023

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.

@ste94pz
Copy link
Author

ste94pz commented Oct 7, 2023

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.

@X-Stuff
Copy link
Owner

X-Stuff commented Oct 7, 2023

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.

@ste94pz
Copy link
Author

ste94pz commented Oct 8, 2023

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
Copy link
Author

ste94pz commented Oct 8, 2023

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 😅

@RandomN3rd
Copy link

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 😁

@ste94pz
Copy link
Author

ste94pz commented Oct 19, 2023

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

@RandomN3rd
Copy link

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

@ste94pz
Copy link
Author

ste94pz commented Oct 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@X-Stuff @ste94pz @RandomN3rd and others