All Projects → nowsecure → Frida Cycript

nowsecure / Frida Cycript

Licence: agpl-3.0
Cycript fork powered by Frida.

Programming Languages

dsl
153 projects

Projects that are alternatives of or similar to Frida Cycript

IPAPatch
Patch iOS Apps, The Easy Way, Without Jailbreak.
Stars: ✭ 301 (+14.45%)
Mutual labels:  frida
frida-il2cppDumper
Riru Il2cppDumper 加强版 内存里直接dump出源码信息
Stars: ✭ 113 (-57.03%)
Mutual labels:  frida
frida setup
One-click installer for Frida and Burp certs for SSL Pinning bypass
Stars: ✭ 47 (-82.13%)
Mutual labels:  frida
iInject
Tool to automate the process of embedding dynamic libraries into iOS applications from GNU/Linux
Stars: ✭ 64 (-75.67%)
Mutual labels:  frida
frida-fs
Create a stream from a filesystem resource.
Stars: ✭ 28 (-89.35%)
Mutual labels:  frida
iNote
个人学习研究笔记,OC、iOS 逆向、Python、汇编、Bash等等!
Stars: ✭ 87 (-66.92%)
Mutual labels:  frida
LibAFL
Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, ...
Stars: ✭ 1,348 (+412.55%)
Mutual labels:  frida
taint-with-frida
just an experiment
Stars: ✭ 17 (-93.54%)
Mutual labels:  frida
tiktok-gorgon-bridge
Express server with a Frida bridge to sign TikTok API requests
Stars: ✭ 83 (-68.44%)
Mutual labels:  frida
frida-android-unpinning
A Frida script to disable SSL certificate pinning in a target application
Stars: ✭ 186 (-29.28%)
Mutual labels:  frida
AndroidSec
记录一些我自己在学习Android逆向过程中的有意思的东西
Stars: ✭ 565 (+114.83%)
Mutual labels:  frida
allsafe
Intentionally vulnerable Android application.
Stars: ✭ 135 (-48.67%)
Mutual labels:  frida
mocxx
A versatile C++ function mocking framework.
Stars: ✭ 103 (-60.84%)
Mutual labels:  frida
frida-screenshot
Grab screenshots using Frida.
Stars: ✭ 35 (-86.69%)
Mutual labels:  frida
magisk-frida
You are probably looking for: https://github.com/ViRb3/magisk-frida
Stars: ✭ 47 (-82.13%)
Mutual labels:  frida
Learn-Frida
Modding Unity app with Frida tutorial.
Stars: ✭ 143 (-45.63%)
Mutual labels:  frida
fpicker
fpicker is a Frida-based fuzzing suite supporting various modes (including AFL++ in-process fuzzing)
Stars: ✭ 175 (-33.46%)
Mutual labels:  frida
FridaAndroidTracer
Android application tracer powered by Frida
Stars: ✭ 72 (-72.62%)
Mutual labels:  frida
DetectTamper
Tamper detection in Android
Stars: ✭ 56 (-78.71%)
Mutual labels:  frida
frida-uiwebview
Inspect and manipulate UIWebView-hosted GUIs through Frida.
Stars: ✭ 36 (-86.31%)
Mutual labels:  frida

frida-cycript

This is a fork of [Cycript] 1 in which we replaced its runtime with a brand new runtime called [Mjølner] 3 powered by [Frida] 4. This enables frida-cycript to run on all the platforms and architectures maintained by [frida-core] 8.

Motivation

[Cycript] 1 is an awesome interactive console for exploring and modifying running applications on iOS, Mac, and Android. It was created by [@saurik] 2 and essentially consists of four parts:

  1. Its readline-based user interface;
  2. Compiler that takes cylang as input and produces plain JavaScript as output;
  3. A runtime that executes the plain JavaScript on JavaScriptCore, providing a set of APIs expected by the compiled scripts, plus some facilities for injecting itself into remote processes;
  4. A couple of "user-space" modules written in cylang.

We didn't touch any other aspects of Cycript or did so with minimal changes.

We went out of our way to avoid touching the compiler, and also left the user interface mostly untouched, only adding extra CLI switches for things like device selection. We did, however, mostly rewrite the Cydia Substrate module so existing scripts relying on this will get the portability and [performance boost] 5 offered by Frida's instrumentation core.

We will be maintaining this fork and intend to stay in sync with user interface and language improvements made upstream.

FAQ

What are some advantages of this fork?

WE believe the main advantage is portability, but also think you should consider:

  • Ability to attach to sandboxed apps on Mac, without touching /usr or modifying the system in any way;
  • Instead of crashing the process if you make a mistake and access a bad pointer, you will get a JavaScript exception;
  • Frida's function hooking is able to hook many functions not supported by Cydia Substrate.

What are some disadvantages?

Our runtime doesn't yet support all the features that upstream's runtime does, but we are working hard to close this gap. Please file issues if something you rely on isn't working as expected.

Is Windows support planned?

Yes. You should already be able to do this by running frida-server on Windows and connecting to it with Cycript on your UNIX system. (We didn't try this yet so please tell us if and how it works for you.)

How does this benefit existing Frida-users building their own tools?

We have improved [frida-compile] 7 to support cylang by integrating the Cycript compiler. Sources with a .cy extension get compiled transparently, and this "just works" as long as [our runtime] 3 is also included in the compiled agent.

Status

Please see [our test-suite] 6 to get an overview of what we currently support.

Building

macOS

Install Meson and Ninja:

pip3 install meson
brew install ninja

Clone this repo:

git clone --recurse-submodules https://github.com/nowsecure/frida-cycript.git

Generate the build system:

meson build --buildtype minsize --strip

Build:

ninja -C build

Run Cycript:

./build/src/cycript

Run the test-suite:

cd test && npm install && npm run test

To build the Node.js bindings:

meson build --buildtype minsize --strip --default-library static -D enable_engine=false -D enable_console=false
ninja -C build
cd bindings/node/cylang/
npm install

Windows

Install Meson and Ninja, and clone this repo, similar to above.

To build the Node.js bindings from a MSVS Native Tools Command Prompt for VS 2017:

meson build --buildtype minsize --strip --default-library static -D enable_engine=false -D enable_console=false -D b_vscrt=mt
ninja -C build
cd bindings\node\cylang
npm install

Then to run the test-suite:

npm run test

Contributing

Clone and link mojlner repository:

# build first (@see: above)
cd src
git clone [email protected]:nowsecure/mjolner.git ~/dev/mjolner
npm link ~/dev/mjolner/
npm run watch
...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].