Friday, 2 November 2012

How To Crack Android Application & Game (Guide)

thnxx to www.robdown.com
and rahul maurya
your site is the best bro!

How To Crack Android Application & Game
Setting up the Ground :
Well, it seems people are getting crazy about Android platform(everyone is trying to buy an Android phone!). lets see if I can get my hands dirty with this Linux+java clean room engineered platform.
To begin our journey we need Android SDK, a target to test with and the necessary tools.
You can download the necessary file from these locations:
Download and install Android SDK, SDK platform(latest is 2.2 at the time of writing), necessary Java packages and rest of the tools. Create a virtual device from SDK menu and start emulation. Within few minutes you can see theemulator booting up and showing the phone screen. Well, thats it! we have our emulator up and running.
Getting Started with the Game :
Now we need to install the software(crackme, its legal!) to the emulator. For that you may have to get acquainted with Android debug bridge(adb). Installing a apk file is pretty simple, all you have to do is to run two commands from Android SDK directory/tools.
After the installation you can see the crackme icon from application menu.
Now run the crackme by clicking on it. If everything went as expected you will see the crackmeapplication on the screen.
Now we will play with it, pressing check button with no inputs pops a message ‘Min 4 chars’, and with a proper name it pops up ‘Bad boy’. We have to remember these strings because we will be using them as our search keys when we disassemble the apk(actually dex) files. Also note that we have two hardware ids and we need to find out what those exactly means.
Real Android Reversing :
As our crackme is up and running in emulator, we now move onto reversing it. If you have read apk file format, you can visualize it as a extended JAR file which essentially is a zip file. Now you can change the crackme file name from Crackme03.apk to Crackme03.zip and decompress it to any folder.
Now the interesting file for us is classes.dex, which contains the compiled vm codes. We are going to disassemble the dex file with baksmali. Commands are pretty simple as you can see from screen shots.
If everything worked fine, we will have a folder structure similar to Java packages. Interesting .smali files are located at ‘\com\example\helloandroid’. Open all the .smali files into your favorite text editor(I use Notepad++). If you have never done anything related to reverse engineering/esoteric programming/assembly(IL) programming, you will probably think: WTF!. Relax. We have just opened a disassembled dex file. Now, if you are thinking how on earth someone can find the correct location of checking function, I hope you remember those pop up strings I told earlier. Yeah, ‘Min 4 chars’ and ‘Bad boy’. Now we will use those strings as our search keys. Searching ?Min 4 chars? in all the opened .smali files, we will find a hit in HelloAndroid$2.smali line 130.
Our aim is to understand the serial checking function and write a keygen for it. For that we have to know all the dalvik opcodes that are used here. You can visit this page to understand the opcodes and after that you can convert disassembled code to much higher language constructs. I will provide a brief code snippet which actually implements the algorithm. Two hardware ids used are IMEI and sim serial number.
01 //Read name from text box
02 const v23, 0x7f050004
03 invoke-virtual/range {v22 .. v23}, Lcom/example/helloandroid/HelloAndroid;->findViewById(I)Landroid/view/View;
04 move-result-object v9
05
06 //Read serial from text box
07 const v23, 0x7f050006
08 invoke-virtual/range {v22 .. v23}, Lcom/example/helloandroid/HelloAndroid;->findViewById(I)Landroid/view/View;
09 move-result-object v21
10
11 //Checking whether the name is of length greate than 4
12 const/16 v22, 0×4
13 move v0, v11
14 move/from16 v1, v22
15 if-ge v0, v1, :cond_51
16
17 //Popup showing Min 4 chars
18 const-string v23, “Min 4 chars”
19 const/16 v24, 0×1
20 .line 86
21 invoke-static/range {v22 .. v24}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
22 move-result-object v13
23 .line 88
24 .local v13, notificacionToast:Landroid/widget/Toast;
25 invoke-virtual {v13}, Landroid/widget/Toast;->show()V
26
27 //There is a little exception trick to make integer string from username
28 //It converts aaaa to 97979797 which is ascii equivalent
29 invoke-virtual {v10, v5}, Ljava/lang/String;->charAt(I)C
30 move-result v3
31
32 //Getting first 5 chars from ascii converted name
33 const/16 v22, 0×0
34 const/16 v23, 0×5
35 move-object v0, v12
36 move/from16 v1, v22
37 move/from16 v2, v23
38 invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
39
40 //Converting it into integer abd xoring with 0x6B016 – Serial part 1
41 invoke-static {v12}, Ljava/lang/Integer;->parseInt(Ljava/lang/StringI
42 move-result v22
43 const v23, 0x6b016
44 xor-int v22, v22, v23
45
46 //Getting IMEI from TelephonyManager
47 //http://developer.Android.com/reference/Android/telephony/TelephonyManager.html
48 invoke-virtual {v8}, Landroid/telephony/TelephonyManager;->getDeviceId()Ljava/lang/String;
49 move-result-object v6
50 .line 102
51 .local v6, imei2:Ljava/lang/String;
52
53 //Getting sim serial
54 invoke-virtual {v8}, Landroid/telephony/TelephonyManager;->getSimSerialNumber()Ljava/lang/String;
55 move-result-object v16
56 .line 103
57 .local v16, simsn:Ljava/lang/String;
58
59 //Getting first 6 chars from IMEI, and similarly from sim serial (IMEI.Substring(0,6) will be used as Serial part 3)
60 const/16 v22, 0×0
61 const/16 v23, 0×6
62 move-object v0, v6
63 move/from16 v1, v22
64 move/from16 v2, v23
65 invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
66
67 //Converting them to integer and xoring – Serial part2
68 invoke-static/range {v19 .. v19}, Ljava/lang/Integer;->parseInt(Ljava/lang/StringI
69 move-result v22
70 invoke-static/range {v20 .. v20}, Ljava/lang/Integer;->parseInt(Ljava/lang/StringI
71 move-result v23
72 xor-int v22, v22, v23
73
74 //Making a new StringBuilder object and formatting the string to part1-part2-part3
75 new-instance v22, Ljava/lang/StringBuilder;
76 invoke-static {v12}, Ljava/lang/String;->valueOf(Ljava/lang/ObjectLjava/lang/String;
77 move-result-object v23
78 invoke-direct/range {v22 .. v23}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/StringV
79 const-string v23, “-”
80 invoke-virtual/range {v22 .. v23}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
81 move-result-object v22
82 invoke-static/range {v17 .. v18}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
83 move-result-object v23
84 invoke-virtual/range {v22 .. v23}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
85 move-result-object v22
86 const-string v23, “-”
87 invoke-virtual/range {v22 .. v23}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
88 move-result-object v22
89 move-object/from16 v0, v22
90 move-object/from16 v1, v19
91 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/StringLjava/lang/StringBuilder;
92 move-result-object v22
93
94 //Checking whether user entered serial and program made serials are equal.
95 invoke-virtual {v14, v15}, Ljava/lang/String;->equals(Ljava/lang/Object
Real Android Reversing :
As our crackme is up and running in emulator, we now move onto reversing it. If you have read apk file format, you can visualize it as a extended JAR file which essentially is a zip file. Now you can change the crackme file name from Crackme03.apk to Crackme03.zip and decompress it to any folder.
Now the interesting file for us is classes.dex, which contains the compiled vm codes. We are going to disassemble the dex file with baksmali. Commands are pretty simple as you can see from screen shots.
If everything worked fine, we will have a folder structure similar to Java packages. Interesting .smali files are located at ‘\com\example\helloandroid’. Open all the .smali files into your favorite text editor(I use Notepad++). If you have never done anything related to reverse engineering/esoteric programming/assembly(IL) programming, you will probably think: WTF!. Relax. We have just opened a disassembled dex file. Now, if you are thinking how on earth someone can find the correct location of checking function, I hope you remember those pop up strings I told earlier. Yeah, ‘Min 4 chars’ and ‘Bad boy’. Now we will use those strings as our search keys. Searching Min 4 chars in all the opened .smali files, we will find a hit in HelloAndroid$2.smali line 130.
Our aim is to understand the serial checking function and write a keygen for it. For that we have to know all the dalvik opcodes that are used here. You can visit this page to understand the opcodes and after that you can convert disassembled code to much higher language constructs. I will provide a brief code snippet which actually implements the algorithm. Two hardware ids used are IMEI and sim serial number.
As you can see, the algorithm is pretty straight forward. It is using name and two hardware ids as input and doing some operations on them to make a serial. We can easily recode it in any programming language we prefer to make it as a keygen. Anyway, I am not posting any keygen sources as it will spoil the whole phun!
Decoding the Algorithm :
A demonstrative serial calculation routine is given below:
Code:
  Name: aaaaa HW ID1: 0000000000000000 HW ID2: 89014103211118510720
Here are stepwise instructions on generating final serial number
At first ‘aaaaa’ will be converted to ’9797979797′, from which we will take first 5 letters and convert it into integer 97979
This will be xored with 0x6B016 resulting 511661 and this will be first part of serial.
For second part, we will take first 6 letters from HW ID1 and HW ID2, convert them to integer and xor, resulting 000000^890141 = 890141.
For third part we will use first 6 characters from HW ID1.
Formatting with the specified delimiter the serial will become ’511661-890141-000000′.
Final Verification of Reversing :
Now we will put the same magic number into our Crackme application.
Bingo! everything worked as expected. Now, for all those who thinks it is pretty hard to read all those disassembled instructions and manually converting them to higher language constructs, there are other options. As dalvik is based on design of Java, it is also susceptible to decompilation. There is no decompiler available at this moment, but there is hope.
For now we can use another utility which converts dex files to jar files so that we can use Java decompilers to see much more abstracted code. From starting of this blog post you may have noticed the tool dex2jar. Use dex2jar to convert classes.dex to classes.dex.dex2jar.jar. Open it in a Java decompiler and you can see much better output than dalvik disassembly. Please note that dex2jar is still in development phase and the output is meaningless at many places. This should be used only to get a quick understanding of all the functions.
Conclusion :
In this introductory article, Dhanesh explains reversing Andriod using the emulator and all available tools in sequence with pictorial elaborative steps. It is mainly based to set up your ground for further reversing work on Andriod Platform.
Well, thats it! We have analyzed an Android program and defeated its protection. Cheerio!
Special How To Crack Gameloft Android HD Games Credit Goes to Djeman for Inventing This Method:
unpack an android package (apk) with a zip extractor, disassemble dex file in smali source files with dex2jar .
delete this {blue} line in the LicenseManagement.smali in the Billing folder.
Code:
if-nez v0, :cond_1      .line 224     const-string v0, "ANDROID BILLING"      const-string v0, "THIS IS A FULL VERSION PREVIOUSLY BILLED"      invoke-static {v2, v3, v0}, Lcom/gameloft/android/GAND/GloftRFHP/Billing/GLDebug;->debugMessage(ILjava/lang/String;Ljava/lang/String;)V      .line 225     invoke-static {}, Lcom/gameloft/android/GAND/GloftRFHP/Billing/LicenseManagement;->saveUnlockGame()V      move v0, v2      .line 230     :goto_1     return v0      .line 229     :cond_1     const-string v0, "ANDROID BILLING"      const-string v0, "THIS IS NOT A FULL VERSION!!!!"
So you have to delete the blue line, to avoid the game to jump to the read line (by deleting this line game will never show THIS IS NOT A FULL VERSION).
rebuild apk After that you need to sign it to run on your mobile.
http://www.symbiantalk.net/showthrea…K-Android-File
http://developer.android.com/guide/p…p-signing.html
To understand Dalvik’s commands more, you’ll need that website
http://pallergabor.uw.hu/androidblog…k_opcodes.html
And if you want to go further, for the .so file, the ELF Dynamic library, you have to use IDA Pro to analyze it, and with ARM doc (Find it here) you’ll be allowed to modify the file with a hexadecimal editor by calculating the ARM opcodes.
All information is provided for educational purposes only.
Thanks To waytohell for nice post

Neuroshima Hex v1.0 Apk Direct|17MB


Neuroshima Hex
In the world of Neuroshima you need to prove you have what it takes to survive.
Neuroshima Hex is a fast paced, tactical board game where up to 4 players (human or AI) lead their troops to victory. Every player controls one of the four armies struggling for influence and survival in the world destroyed in a 30 years long war. March with the machines of Moloch, leading its army towards setting the new world order. Become Borgo and unite the forces of the mutants who spread terror in the wastelands. Lead The Outpost – humanity’s last and only hope and try to beat the machines in an uneven guerrilla war. Be the boss of The Hegemony – land of gangers not caring about the fate of others and living only for violence and their mad entertainment.
In the world of Neuroshima Hex you need to prove you have what it takes to survive.
Neuroshima Hex is well known in the board game community. Neuroshima Hex holds 100th place in the prestige BoardGameGeek ranking (which contains almost 50,000 games from around the world). In May 2007 Neuroshima Hex was awarded a special jury distinction for the Best Polish Designer Game published in 2006. Neuroshima Hex was also published in the US (by Z-Man Games) and France (by IELLO).
FEATURES
Official Neuroshima Hex game with original artwork
- 4 different armies with unique strategies
- Up to 4 players (human or AI)
- 3 AI difficulty levels
- In-game tutorial & manual
- Tons of gameplay
- Easy to learn, hard to master
Download

N.O.S. Car Speedrace v1.22 Apk+Data Direct|40MB



Are you bored of all those flat physics racing games out there? Then N.O.S. Car Speedrace is the right game for you! WIth its amazing 360 degrees physics emulation you will experience the most amazing car crashes you ever seen on your device breaking through smoke and fire.
This is an adrenaline pumping racing game set on the famous oval circuits of Daytona,Indianapolis,Atlanta,Bristol,Darlington and Las Vegas.
- Online multiplayer against racers from multiple device types
- Amazing 360 degrees physics emulation
- High resolution
- 12 amazing cars and 6 oval tracks based on real circuits

REQUIREMENTS: 1 Ghz processor speed minimum. If you find your car jumpy it’s because the fps is too low.
Download
N.O.S. Car Speedrace v1.22 Apk+Data

 (copy floder to sdcard)

Thursday, 1 November 2012

Deadly Dungeon armv6 apk


Deadly Dungeon armv6 apk

Hack your way through endless RANDOMLY GENERATED DUNGEONS
Evil forces have taken over the Dungeons.
As the greatest hero of the kingdom, you have been asked to
fight the deadly monsters!
- Hack your way through RANDOMLY GENERATED DUNGEONS
- Hack 'n' slash action gameplay 
- Unlock additional weapons and powerful special abilities 
- Stunning 3d graphics

Download Now

 Deadly Dungeon armv6 apk

Need For Speed Most Wanted: NFS MW Apk SD Data



 
 
 
 

NFS MW is now on ANDROID.



Buckle up, hit the gas and hold on tight; you’re in for the ride of your life. Outrun cops, outsmart rivals – and outdrive your friends – in the most dangerous Need for Speed yet. Do you dare to be the Most Wanted?




MAKE TROUBLE, GET WANTED

Evade a relentless police force while you clash with street racers. Race and chase hot cars like the SRT Viper GTS, Porsche 911 Carrera S, Hummer H1 Alpha, and many more. Feel the intensity of no-brakes-allowed street racing with realistic full-car damage for the first time on mobile. 




LEAVE YOUR MARK

Log into Origin to check the Wanted List and find out who is the Most Wanted across platforms and among your friends. Then, challenge your friends and prove your racing skills in nonstop competition. 




GO FROM ZERO TO MOST WANTED…

• Choose and customize over 35 unique cars

• Race the way you want! By popular demand you can now touch or tilt to steer

• Use Mods to enhance your car and get ahead of the pack in style

• Experience the action with mind-blowing graphics and intense full-car damage 

• Earn Speed Points to unlock new cars




Requires Android:2.3.3 and UP




Download Links: (Armv7 Only)

Download APK File:

DataFileHost:




ZippyShare:




Mirrors:




Download Data Files: (509 MB)




Install APK and download data directly from game or wait for my data to be uploaded. 

Make sure there is 1.8 GB or more space in your SDCard to download its data.

Uploading data file is failed due to internet connection problems,Data will be uploaded as soon as problems will be finished.