Manifest Explorer

Manifest Explorer

Every android application has a policy file by the name AndroidManifest.xml policy file, which Manifest Explorer helps the user find and view.The file is of great interesting when analyzing system security because it defines the permissions the system and applications enforce and many of the particular protections being enforced.

Google has defined the following functions of a manifest file

It names the Java package for the application. The package name serves as a unique identifier for the application.

  • It describes the components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of. It names the classes that implement each of the components and publishes their capabilities (for example, which Intent messages they can handle). These declarations let the Android system know what the components are and under what conditions they can be launched.
  • It determines which processes will host application components.
  • It declares which permissions the application must have in order to access protected parts of the API and interact with other applications.
  • It also declares the permissions that others are required to have in order to interact with the application’s components.
  • It lists the Instrumentation classes that provide profiling and other information as the application is running. These declarations are present in the manifest only while the application is being developed and tested; they’re removed before the application is published.
  • It declares the minimum level of the Android API that the application requires.
  • It lists the libraries that the application must be linked against.

Android packages are .apk file. For the test purpose you can download any android application and extract it and you will see the AndroidManifest.xml file which would be difficult to open. (See Figure1.0)

clip_image002

Below is the step by step methodology to open and review it.

1. Click and download the following tools

· apktool-install-windows-file

· apktool-file

2. Unpack both to your Windows directory.

3. Now copy the APK file also in that directory and run the following command in your command prompt (See Figure 1.1):

apktool d app.apk ./app_decrypted

Here app.apk is your Android APK file

clip_image004

4. This will create a folder “app_decrypted” in your current directory. Inside it you can find the AndroidManifest.xml file in decrypted form and you can also find other XML files inside the “app_decrypted/res/layout” directory. (See Figure 1.2)

clip_image006

The manifest contains juicy information like permissions, intent filters, and lots more. A typical manifest file is shown below (See Figure 1.3):

clip_image008

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值