-
Notifications
You must be signed in to change notification settings - Fork 378
example of android_arm_license_validation result not as expected #135
Comments
By the way , I found it made no change even though I commented out or open the Android NDK library path, which is very strange:
|
I have solevd the android phone problem . It was because the
|
Interesting. So it does work on the correct version? |
Hi guys,
hero2lte:/data/local/tmp $ ./validate JQAE6ACMABNAAIIA
(...)
Product activation passed. Congratulations!
hero2lte:/data/local/tmp $ ./validate ABGAAWQAEEAAAAAA
{...)
Incorrect serial. As for the incorrect result string returned by Angr, could it be related to this here? @Fermiz, what happens when you change the offset in solve.py as follows: addr = found.state.memory.load(found.state.regs.r11 - 0x20, endness='Iend_LE') Does this return the correct result? |
@b-mueller Thank you very much for reply. It's a pity that after I changed it into
When go back to
it is quite weird that |
@zardus Thank you for reply, it works in the phone when I use |
Just tried this with 4.4 KitKat arm emulator and it indeed does not work (it does not except any valid serial). When switched to 5.1 Lollipop arm emulator it does work. So something is different on 4.4 and I do not know what. But perhaps add a big warning that KitKat does not work. |
The problem is in the base32_decode function, it behavies differently in KitKat then in Lollipop and I expect it to be encoding issues, but it could be totally something else. Lollipop
KitKat
Note the Outlen being set to 2 for KitKat! |
@kevinvalk Thank you for help. By the way ,did you get the |
@Fermiz NP, There are many serials that will work. The serial The symbolic execution is indeed not working anymore as you have already explained. I just did it statically without symbolic execution. |
For what it's worth, it looks like this has somehow been fixed in the last 7 months:
|
android_arm_license_validation
It seems that in Mac OS 10.12.4, the result we get are not as expected , even in Ubuntu 16.04 on my server this result is still not as expected:
According to the author's guide as http://www.vantagepoint.sg/blog/81-solving-an-android-crackme-with-a-little-symbolic-execution
The result string should be
JQAE6ACMABNAAIIA
, the worst is bothABGAAWQAEEAAAAAA
andJQAE6ACMABNAAIIA
could not pass in phone:Does anyone have ideas that can help me with this?
Thank you
The text was updated successfully, but these errors were encountered: