I agree with Kostya. Although it's annoying people crack our apps, we should 
be thankful this is available for us to download, decompile, see how it 
works and then change your app easily with a single line of code so that it 
is no longer crackable.

If anyone just takes the lvl code example provided by default by google then 
you're asking for trouble. The whole purpose of lvl is to stop piracy and if 
you are going to implement it in your app and trust it, then don't be silly 
enough to copy the code verbatim and then complain why it's so easy for 
someone to know how to hack it!

If you simply look at the hooks in anti-lvl, it's incredibly easy to see how 
to foil it. Hint. Look at the method signatures it uses to spot the 
important methods. Wonder what might happen if you accidentally insert a 
dummy parameter into the middle of one of those method signatures...? Or 
maybe simply change the order of the parameters? Will it still match?

Or maybe think about a honeypot. Create another piece of code with, oh I 
don't know, maybe an isLicensed() method in it, or maybe an allowAccess() 
method. Then of course make your dummy methods returns false. The day they 
suddenly returns true, you have your answer.

Or maybe check in your code the result of a Class.forName("SmaliHook") or 
similar.

etc, etc.

As soon as you do this, it renders antilvl useless as it just does a 
standard script of actions. To hack your app now, someone has to do it 
manually looking at the smali code and trying to spot vulnerabilities. If 
you have just a few well disguised honeypots in sensitive areas, they will 
spend so long trying to find them, they will give up.

So personally, I'm thankful for the antilvl to be in the open source. Of 
course you could spend all day creating honeypots like this and if they are 
ambitious enough, you are unlikely to stop them however hard you try. Look 
at Microsoft - worth billions, but still can't stop people cracking the 
latest release of windows even before it goes on the market.

HTH.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to