Frida

Installation on Mac

官网的教程无法安装, 原因未明

Update (17 Mar 2017):

OSError: [Errno 1] Operation not permitted: '/tmp/pip-Xb_ctc-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

由于 OsX 10.11 预装了six 1.4.1, 因此在安装 frida 的过程中无法卸载(ref).

Solution:

$ sudo pip install frida --ignore-installed six
$ sudo pip install frida
➜  frida sudo easy_install frida

NIN: 当你见到 Running setup.py install for frida ... \ 的时候, Python 还需要下载东西, 假如没有速度, 等很久也不会安装成功.

离线安装

If failed to install via pip install frida, try to download egg and install offline.

easy_install frida-8.2.2-py2.7-macosx-10.11-intel.egg

pip doesn’t do everything that easy_install does. Specifically:

It cannot install from eggs. It only installs from source.

升级

重新运行安装的 command 即可.

// sudo pip install frida --ignore-installed six

➜  ~ sudo pip install --upgrade frida

// if OSx = 10.11
➜  ~ sudo pip install --upgrade frida --ignore-installed six

// Specific Version
➜  ~ sudo pip install --upgrade frida==10.0.3

iOS

official doc

Android

  1. Get URL
  1. frida-android-hooks
  • Remove Debugging checks from the application
  • Fake IMEI number to Android Applications
  • Selectively Fakes the presence of Files in disk
  • Hook Webview
  • Hook native code
  • Bypass root checking
  1. Brute force login PIN

Frida-dump

Bonus

AppMon

Book

Mobile Application Penetration Testing

The Mobile Application Hacker''s Handbook - Ch3

The Mobile Application Hacker''s Handbook - Ch5

Frida Learning Sources

Awesome Frida - A curated list of Frida resources

Frida Public Presentations

https://github.com/frida/frida-presentations

r2Frida

Slide

Frida-push

Wrapper tool to identify the remote device and push device specific frida-server binary.
Download

Show Comments