首页
社区
课程
招聘
[原创] [原创工具] FRIDA-JS-DEXDump 基于Frida的内存脱壳工具(学习frida-dexdump的成果)
2022-10-7 21:38 11542

[原创] [原创工具] FRIDA-JS-DEXDump 基于Frida的内存脱壳工具(学习frida-dexdump的成果)

2022-10-7 21:38
11542

FRIDA-JS-DEXDump

frida-js-dexdump is a copy of frida-dexdump writed by ts.
It is a frida tool to find and dump dex in memory to support security engineers in analyzing malware.

Features

  1. Support fuzzy search broken header dex(deep search mode).
  2. Compatible with all android version(frida supported).
  3. One click installation, without modifying the system, easy to deploy and use.

Require

  1. Node.js Version > 14.16 , my dev node is 16.13.2

    1
    2
    $ node -v
    v16.13.2
  2. Python3 3.10.7

    1
    2
    $ python -V
    Python 3.10.7

Installation

1
2
pip3 install frida frida-tools
npm install -g frida-fs-dexdump

Usage

CLI arguments base on frida-tools, you can quickly dump the foreground application like this:

1
frida-js-dexdump -FU

Or use select to choice app like this:

1
2
3
4
5
6
7
8
frida-js-dexdump -U
 
? What app? (Use arrow keys)
2328:bin.mt.plus-MT管理器
  2492:com.android.flysilkworm-雷电游戏中心
  4171:com.xiaojianbang.app-HookTestDemo
  12477:com.android.settings-设置
  14633:com.android.documentsui-文件

Or specify and spawn app like this:

1
frida-js-dexdump -U -f com.app.pkgname

Or select install app and spawn app like this:

1
2
3
4
5
6
7
8
9
10
11
frida-js-dexdump -U -f
 
 
? What app? (Use arrow keys)
bin.mt.plus(MT管理器)
  com.v2ray.ang(v2rayNG)
  com.xiaojianbang.app(HookTestDemo)
  com.yssenlin.app(影视森林)
  lnes.ef(一起设置)
  magisk.term(Magisk Terminal Emulator)
  player.normal.np(NP管理器)

Additionally, you can see in -h that the new options provided by frida-dexdump are:

1
2
3
-o OUTPUT, --output OUTPUT  Output folder path, default is './<appname>/'.
-d, --deep-search           Enable deep search mode.
--sleep SLEEP               Waiting times for start, spawn mode default is 5s.

When using, I suggest using the -d, --deep-search option, which may take more time, but the results will be more complete.

Build and develop

1
2
3
yarn install
yarn run watch-agent
yarn run watch

截图

screenshot

参考和致谢

See hluwa
《深入 FRIDA-DEXDump 中的矛与盾》

 





[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
点赞3
打赏
分享
最新回复 (1)
雪    币: 230
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
mb_undcejfq 2022-10-28 10:37
2
0
这个可以过百度加固吗?之前用过这个frida-dexdump工具.frida附加不上去.可以加好友请教一下吗
游客
登录 | 注册 方可回帖
返回