entrust-identityguard-tools icon indicating copy to clipboard operation
entrust-identityguard-tools copied to clipboard

How to generate a valid registration code?

Open sijanec opened this issue 3 years ago • 4 comments

How can I emulate the Entrust app to generate the registration code in format ddddd-ddddd?

I tried a random one but my bank won't accept that. Is this known?

Thanks.

sijanec avatar Apr 09 '21 21:04 sijanec

For anyone still asking themselves: Just use the actual Entrust app, and then give the code back to generate-otp.py

JHthe4 avatar Oct 03 '22 02:10 JHthe4

Thank you for the reply, I realized that may be the only option. I guess I still need the actual app because it also sends some requests to some server, confirming that it had registered itself.

The app in question is not the official Entrust app, but it's a bank app that uses Entrust's system as a library.

I guess you'd need some translation service (website is written in Slovenian), if you wanted to read how I implemented this cracking algorithm in javascript: http://sijanec.eu/nlb.shtml

But you still need the app, that's something I haven't figured out yet how to bypass, is the HTTP "registration" also a known procedute or at least similar for all Entrust apps, or is it perhaps specific to implementors (my bank in this case)?

sijanec avatar Oct 05 '22 05:10 sijanec

Hey, I think I might have misunderstood your question a bit. For me it was fine to install the app once for five minutes to generate my first code, and then just uninstall it again. Unfortunately, I'm not aware of a way to bypass it completely. Just wanted to say thank you for the great write-up though, I hope you manage to figure it out ;).

JHthe4 avatar Oct 06 '22 21:10 JHthe4

Yeah, that's exactly what I did as well, though perhaps I didn't clarify this enough. Since then I didn't look at the app much do reverse engineer the initial procedure, as I didn't need it for bank login.

Thanks for the reply.

sijanec avatar Mar 15 '23 15:03 sijanec