Hello There, Guest! Login Register
Logo
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.


How to Crack Android Apps ? - A Brief and Newbie Friendly Tut ;)

  • 1 Vote(s) - 5 Average


09-22-2013, 01:00 AM #1
infrinjazerolux Offline Respected *****
Respected
Posts:30 Threads:8 Joined:Jun 2013 Reputation: 0
Mood: None
Reverse Engineering an Android application





Introduction:


The Android compiler suite compiles the developer's Java files into class files, and then the class files are converted into dex files. Dex files are bytecode for the DalvikVM which is a non-standard JVM that runs on Android applications. The XML files are converted into a binary format that is optimized to create small files. The dex files, binary XML files, and other resources, which are required to run an application, are packaged into an Android package file. These files have the .apk extension, but they are just ZIP files. Once the APK package is generated, it is signed with a developer's key and uploaded onto the Androidmarket via Google's website from where the user can download these APK files and install them on the Android device.


Requirements:

  • Tool to unpack the .apk file : 7zip
  • Tool to convert the .dex to a .jar file : dex2jar
  • GUI tool for Java decompilation : JD-GUI
  • The android apk file.


Detailed Steps:


Step 1: You can get the apk file matching your application to be reversed from the location/data/app/<application-name>. If you want, you can even use the tool AppSenderfrom GooglePlay on your device which allows you to export any apk mapped to your application on your device as per your choice.
Step 2: Extract the apk file using 7zip to view the contents of the .apk file. The .dex and the .xml files that were discussed earlier in the article are shown in below figure.



[Image: Selection_080.png]

Step 3: The next step will render a better view of the code using the 'dex2jar' tool. A dex2jar tool kit converts the Dalvik executable .dex files into Java .class files.



The 'classes.dex' file from our application is dropped into the dex2jar's directory and converted using the command, dex2jar.bat classes.dex.


[Image: 2.png]This creates the 'classes.dex.dex2jar.jar' file in the same directory as shown in below figure.



[Image: 2.png]



Step 4: To view the readable format of the class files, we use the tool, JD-GUI. Open the 'classes.dex.dex2jar.jar' file using JD-GUI.




[Image: 2.png]


This depicts a systematic view of the complete source code of the Android application.
Step 5: After obtaining the complete source of the application, you can perform the actual analysis of the source and check whether something is amiss.


References and Good Reads:





USE THIS METHOD TO BACKDOOR POPULAR ANDROID APPS AND SHARE IT AND THEREBYSPREAD YOUR VIRUS wink




~ INFI
MADLEETS.

SECURITY IS JUST AN ILLUSION
YOU MAKE IT ,
I BREAK IT xD

~ RESISTER INDIA ~
( INFRINJA ZEROLUX )

09-22-2013, 01:02 AM #2
H4x0rl1f3 Offline Commander In Cheif *******
Administrators
Posts:1,129 Threads:25 Joined:Jun 2012 Reputation: 15
Mood: Stoned
Very Good Share brother.
Will test some apps Smiley1

Always Aspect Reward from the Creator and not anyone or anything Created.
For Complaints & Help Contact:- [email protected]
Zone-h
http://zone-h.org/archive/notifier=H4x0rL1f3
I am the orphan of Gaza & Kashmir. Ruins of Iraq,Syria & Palestine Bombarded of Pakistan,Afghanistan, Mali & Yemen Change of Libya and Egypt Discriminated of Bahrain & Turkey Freedom of Earth's paradise and Al-AQSA. I am the hunger stricken child of Somalia, Ethopia, & rest of Africa I am the suffering of each and every single corner of the world. But Listen!!! Hope is what I am!!


09-22-2013, 01:03 AM #3
Sizziling Leet Offline Any problem of iphone ipad ipod ask me ! *****
Respected
Posts:469 Threads:53 Joined:Aug 2013 Reputation: 1
Mood: None
NIce share Biggrinsmiley

[Image: FcZ0mAj9G.gif]


[Image: xlu6ncekv.gif]





Code name : Sizziling Leet Haxor

Contact : [email protected]


Facebook
https://www.facebook.com/david.daniel.90857901 i chnaged my accout so please bros add me there


ReGarD's Worriedsmileyhy:





09-22-2013, 01:40 AM #4
FOH Offline Father Of Hacking ******
V.I.P
Posts:889 Threads:31 Joined:Jul 2012 Reputation: 4
Mood: Relaxed
Great Share bro! Smiley1

NO FEAR Father Of Hacking (FOH) IS HERE


09-22-2013, 02:55 PM #5
KinG_HaXoR(PHC) Offline $eCur!tY L0veR at P4k!$74N *****
Respected
Posts:515 Threads:81 Joined:Mar 2013 Reputation: 0
Mood: Hacker
Awesome and Rocking
Thanks bro

KinG_H4XoR
P4K!$74N H4x0r$ CR3W
Hope You Like My TUT's:
How To Acess Your Shell In JPG
550+ Vulnerable Websites
Ddos With Back Track 5 Easily
WAF BYPASS EASY

[email protected]
Www.Fb.Com/I.Love.Pakistan.Champions.Official

09-24-2013, 02:47 AM #6
alicool420 Offline H4X0R **
Registered
Posts:20 Threads:5 Joined:Jul 2013 Reputation: 0
Mood: None

nice share but its copy paste stuff bro

http://linked removed by admin



could at-least give credit to original author...


09-24-2013, 03:12 AM #7
madcodE Offline Administrator **********
Junior Administrator
Posts:501 Threads:99 Joined:Oct 2012 Reputation: 8
Mood: Devilish
(09-24-2013, 02:47 AM)alicool420 Wrote:  
nice share but its copy paste stuff bro

http://linked removed by admin



could at-least give credit to original author...
it may be Smiley1 but avoid mentioning external blogs / forum links Smiley1

admin

Name: madcodE haXor
md5: b2eafeb799f022ab22e1af81c0a2bcfa
Email: [email protected]
Facebook: http://facebook.com/haxor.py

I was raised not to be rude, but I also try to get the best work out of people...


[Image: semqRxA.gif]

09-24-2013, 04:05 AM #8
KOH Offline King Of Hacking ***
Registered
Posts:79 Threads:17 Joined:Aug 2013 Reputation: 0
Mood: None
Good Tutorial Indeed!

[Image: eoCaDgk.jpg]

09-24-2013, 04:28 AM #9
Prince Saluu Offline MaDLeeTs Legend *****
Respected
Posts:130 Threads:52 Joined:Sep 2013 Reputation: 1
Mood: None
hmm nice tut


But This Is Much Better tut


http://www.madleets.com/Thread-Free-in-a...2#pid23952



Anyway NiCe SHare

It's Time To Be Change...

09-25-2013, 12:15 AM #10
H4Z3RD Offline MaDLeeTs LoVer *****
MaDLeeTs LoVer
Posts:46 Threads:14 Joined:Sep 2013 Reputation: 0
Mood: None
Nice one bro ^_^

==========================

l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l
??????????????????????????
??????????????????????????
??????????????????????????
??????????????????????????
??????????????????????????
??????????????????????????

l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l=l

===========================

facebook

fb.com/saifbook






Forum Jump:


Users browsing this thread:1 Guest(s)