Skip to main content

Android Application Penetration Testing Part 2

RED SECURIUM provides BEST Ethical Hacking Training in Noida based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. RED SECURIUM provides Ethical Hacking Certified Courses in NoidaRED SECURIUM is standout amongst the most valid Ethical Hacking preparing organizations in Noida offering hands on practical knowledge and full job assistance with basic as well as advanced level Ethical Hacking training courses. At RED SECURIUM Ethical Hacking Training in Noida is conducted by subject specialist corporate professionals with 10+ years of experience in managing real-time Ethical Hacking projects.

Android Application Pentesting

With my last article(Android Application Penetration testing Part 1) we had look on basic architecture of the Android device. Now Let’s collect some Android Application Pentesting tools and build a setup for hacking:
There are many tools for an android application penetration test, But which tools are used for which purpose and which details we can extract from it is the most important thing.
We can also use set of all tools built in some framework. They all are available as open source
Appuse, Appie, Santoku, Pentestbox, MobSF etc.
Also, we recommend you to take the best Android Hacking and Penetration Testing Course online to enhance your Android hacking &Pentesting skills.

Let’s start with Appuse

AppUse is a VM (Virtual Machine) developed by AppSec Labs. It is a unique platform for mobile application security testing in the Android environment and includes exclusive custom-made tools created by AppSec Labs. Free version is sufficient

Emulator


It is built in Appuse framework or else external rooted mobile device can be attached and tested. Launching emulator will give you virtual device.
Android Application Penetration testing Part 2
Root Device: It will root emulator device and give sudo access by using superuser.apk
Open ADB shell: It will open ADB shell
The mobile device can be connected to App use if you don’t want to use an emulator
Step1: On mobile device enable USB debugging and connect to the machine
Step2: adb devices will show you attached devices
Android Application Penetration testing Part 2

Android Application Pentesting Tools:

Some basic tools for pentesting which will be useful in many test cases are already there for you. You just have to click on the tool
Android Application Penetration testing Part 2
  • Burp Suite  Burp Suite is the leading software for web security testing. It is a proxy tool which will help to intercept request between client and server.
  • Wireshark It is network traffic capture tool which will give a clear picture on packets on the network.
  • IDA – IDA is a Windows, Linux or Mac OS X hosted multi-processor disassembler and debugger
  • Eclipse – Eclipse provides IDEs and platforms for nearly every language and architecture
  • NetBeans – It is free source use to develop desktop, mobile and web applications With Java, JavaScript, HTML5, PHP, C/C++ etc.
  • Firefox browser– because its hackers browser ðŸ˜‰
  • SQLite browser – It uses to see database files
  • Nmap – network scanner we can install it as it is an open source

Reversing of .apk file

For reverse engineering and many Pentest tools are already built in App use.
Tools:
Click on load APK if you want to load .apk file which is already installed in device/emulator. Else you can select .apk file from Local i.e. from the base machine. Google play option is also available.
  • Mainly we will be decoding an APK file for that we need to run apktool d filename.apk. After running that, it will create a folder in the same directory with decompiled files in it. Or another way, in app, use it all linked up with the dashboard which we can use directly.

Concept

Apk file is a zip file. Zip file consists of XML and other android application resources. Apktools decodes the resource files and converts the android bytecode into assembly level small files. Dex2jar converts the dex files into java bytecode file archived inside the jar file. JD GUI and Luyten decompiles java byte code to java source code file.
  • After installing or selecting .apk file, we can View android manifest file by clicking view Manifest.
Dalvik Virtual Machine does not use java bytecode. Instead, it uses its own file format called dex (Dalvik Executable Format). It holds the definition of multiple classes and relative data.
  • Smali /Baksmali is reassembler / disassembler for dex file format respectively.
  • Save java sources – The dex2jar tool is used to decode the .dex file to a .jar file
  • JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files.

Drozer

It is not in built-in app use you can install with guidance of below link
Drozer allows you to assume the role of an Android app and interact with other apps. It can do anything that an installed application can do, such as make use of Android’s Inter-Process Communication (IPC) mechanism and interact with the underlying operating system.
If you’re interested in online certification for hackers, check out Red Securium

For more information, visit our website.


Contact us:

Red Securium Pvt Limited Company
Address: Block A, A-25, Second Floor, Sector 3, Noida, Uttar Pradesh 201301
Telephone number: +91-120 429 1672
Website : redsecurium.org
Email: info@redsecurium.org
Mobile number: +91-931 991 8771
Blog: https://redsecurium.com/blog
Google+ Profile: Red Securium
Facebook profile: Red Securium
Twitter Profile: Red Securium
Instagram Profile: Red Securium

Comments

Popular posts from this blog

Information Security Analyst Interview Questions

Top 12 Information Security Analyst Interview Questions & Answers 1) Explain what is the role of information security analyst? From small to large companies role of information security analyst includes Implementing security measures to protect computer systems, data and networks Keep himself up-to-date with on the latest intelligence which includes hackers techniques as well Preventing data loss and service interruptions Testing of data processing system and performing risk assessments Installing various security software like firewalls, data encryption and other security measures Recommending security enhancements and purchases Planning, testing and implementing network disaster plans Staff training on information and network security procedures 2) Mention what is data leakage? What are the factors that can cause data leakage? The separation or departing of IP from its intended place of storage is known as data leakage.  The factors that are respons...

Community Health Systems agrees to pay nearly $3.1 million as a part of settlement for 2014 data breach

The settlement covers a total of 4.5 million patients impacted in the breach. The cyber attack took place in April and June of 2014 and was orchestrated by a Chinese criminal group. Tennessee-based Community Health Systems has reached a settlement over a 2014 data breach that 4.5 million patients. A proposed amount of $3.1 million has been reached as a part of the settlement in a class action lawsuit filed against the healthcare. What happened? According to court records, the cyber attack took place in April and June of 2014 and was orchestrated by a Chinese criminal group, that solely focused on obtaining intellectual data. The hackers used an advanced malware and exfiltrated a variety of information such as patient names, Social Security numbers, addresses, dates of birth, and phone numbers. However, no credit card details and medical details were affected in the breach. Following the breach, the healthcare firm had notified the patients about the breach. However, the...
Phishing Campaigns Targeting Google and Yahoo Accounts To Bypassing Two-Factor Authentication Several phishing campaigns targeting hundreds of individuals across the Middle East and North Africa. The attacker targers HRDs, journalists, political actors. Amnesty International published a report on multiple campaigns that traget self-described “secure email” services, such as Tutanota and ProtonMail and another campaign that aimed in bypassing two-factor authentication. Crafted Phishing Sites – Secure Email Providers The phishing campaign primarily targeted popular secure email service providers such as Tutanota and ProtonMail. Threat actors used a well-crafted phishing page – by obtaining the domain tutanota[.]org, whereas the original domain of the service provider is tutanota[.]com. A phishing attack is one of the dangerous social engineering attacks that leads to capture a victim’s username and password that will get store it to an attacker machine and reuse it l...