【问题标题】:Can't find starting point of android application找不到android应用程序的起点
【发布时间】:2019-03-08 04:56:16
【问题描述】:

所以,我正在练习一些逆向工程,现在我选择了一个 Android 木马来检查(Marcher 覆盖来自 Contagio Mobile 恶意软件样本的 Android 木马)。我已经使用Apktool 对其进行了反编译,它生成了 smali 文件和所有内容。问题是我找不到应用程序的起点。在清单中它说:

...
<activity android:label="@string/app_name" android:name="com.paranbijuv.aijuy.bkqbjl.huitou" android:noHistory="true" android:screenOrientation="portrait">
  <intent-filter>
    <action android:name="android.intent.action.MAIN"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.LAUNCHER"/>
  </intent-filter>
</activity>
... <!-- no other main/launcher in the xml, only these -->

但是反编译的源码里面没有“com.paranbijuv.aijuy.bkqbjl.huitou”。实际上根本没有“paranbijuv”包。为了确保 Apktool 没有生成错误的源,我直接在 classes.dex 文件中运行了 strings 命令,并且也没有引用这些类。我的问题是在这种情况下如何到达应用程序的起点?

编辑:或者,如果是一些混淆的情况,那么应用程序无论如何都必须有一个入口点......什么样的混淆可能会导致入口点类丢失classes.dex,如果可能的话?

【问题讨论】:

  • 关于逆向工程的问题请咨询reverseengineering.stackexchange.com
  • 问题是关于code。我需要找到代码的起始部分。执行开始的地方。所以它适合 SO
  • 适合自己。但是,您可能有更好的机会在 re.SE 网站上获得答案。祝你好运。

标签: android reverse-engineering


【解决方案1】:

public.xml 文件中搜索该名称,然后找到它是 id 并在项目中搜索。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-08-10
    • 2016-06-06
    • 2021-11-27
    • 2015-01-21
    • 1970-01-01
    • 1970-01-01
    • 2020-09-06
    相关资源
    最近更新 更多