• This repository has been archived on 15/Nov/2021
  • Stars
    star
    1,657
  • Rank 27,189 (Top 0.6 %)
  • Language Vue
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[WIP] Crappy iOS app analyzer

Discontinued Project

This project has been discontinued. Please use the new Grapefruit

#74

frida@14 compatibility issues

frida@14 introduces lots of breaking changes. After struggling a bit, I was unable to solve them. If you still need passionfruit, please keep the frida on your device to stay at 12.x.


Passionfruit

npm version License: MIT

Simple iOS app blackbox assessment tool. Powered by frida.re and vuejs.

TL;DR

npm install -g passionfruit
passionfruit

Features

  • Cross plarform web GUI!
  • Also supports non-jailbroken device (see Non-jailbroken device).
  • List all url schemes.
  • Check signature entitlements.
  • List human readable app meta info (Info.plist).
  • Capture screenshot.
  • Checksec: see if target app is encrypted, and has enabled PIE, ARC and stack canary.
  • App sandbox file browser. Directly preview images, SQLite databases and plist files on device. You can always download the file for further investigation.
  • Check the loaded frameworks. Hook exported native functions from these dylib to print the arguments and stack trace.
  • Log SQLite operations.
  • Log and try to bypass jailbreak detection.
  • List Objective-C classes from app, hook the methods and inspect the arguments and stack trace.
  • Dump KeyChain, BinaryCookies and UserDefaults.

General

Please check out Wiki for more information.

Setup

Desktop requirements:

  • node.js LTS and npm to run the api server and web gui
  • Any modern desktop browser you like

Passionfruit is now avaliable on npm, so just type following command to install:

npm install -g passionfruit

Then launch it:

passionfruit

Note that if the port 31337 is in use, set environment variable PORT to use an alternative port. Also, setting HOST can force to listen on an alternative interface, but be careful because it has no authentication yet:

HOST=192.168.1.100 PORT=12345 passionfruit

Security Warning

Passionfruit does not support authentication now, so any one that have access to the web page may control your connected devices!

Device setup:

Jailbroken Device

See https://www.frida.re/docs/ios/

Start Cydia and add Frida’s repository by going to Manage -> Sources -> Edit -> Add and enter https://build.frida.re. You should now be able to find and install the Frida package which lets Frida inject JavaScript into apps running on your iOS device. This happens over USB, so you will need to have your USB cable handy, though there’s no need to plug it in just yet.

Non-jailbroken Device

Official documentation of frida.re (linked above) also introduces how to inject FridaGadget.dylib to the ipa, requires repack and resign.

Here are some articles about how to do so:

Development setup

Clone this project and install requirements:

git clone https://github.com/chaitin/passionfruit.git
npm install

For those who wants to contribute, you may probably need to restart the api server and reload webpage each time you make a change. The following steps enable livereload.

npm run dev

Browser will be open (http://localhost:8080)

LICENCE

MIT

More Repositories

1

xray

一款完善的安全评估工具,支持常见 web 安全问题扫描和自定义 poc | 使用之前务必先阅读文档
Vue
9,727
star
2

SafeLine

一款足够简单、足够好用、足够强的免费 WAF。基于业界领先的语义引擎检测技术,作为反向代理接入,保护你的网站不受黑客攻击。 A free WAF that is sufficiently simple, effective, and powerful. Utilizing industry-leading semantic engine detection technology, it operates as a reverse proxy to protect your website from hacker attacks.
C++
8,603
star
3

veinmind-tools

veinmind-tools 是由长亭科技自研,基于 veinmind-sdk 打造的容器安全工具集
Go
1,470
star
4

rad

1,382
star
5

xpoc

为供应链漏洞扫描设计的快速应急响应工具 [快速应急] [漏洞扫描] [端口扫描] [xray2.0进行时] A fast emergency response tool designed for supply chain vulnerability scanning.
855
star
6

cloudwalker

CloudWalker Platform
Go
664
star
7

blazehttp

可用于安全测试的非标准HTTP协议解析库
Go
358
star
8

sqlchop

[DEPRECATED]A novel SQL injection detection engine built on top of SQL tokenizing and syntax analysis.
249
star
9

strapdown-zeta

Instant and elegant Markdown documents in the browser, Git powered markdown wiki server, mathjax and theme support, and many more features!
JavaScript
166
star
10

collie

牧云社区版
TypeScript
128
star
11

libveinmind

一个由长亭自研,直观而可扩展的容器安全 SDK
Go
115
star
12

Real-World-CTF-6th-Challenges

attachments and (some) writeups/source code for RWCTF 6th
100
star
13

pro

A crappy tool used in our private PS4 jailbreak
Python
99
star
14

xtools

JavaScript
92
star
15

yanshi

A regular language recognizer generater like Ragel, enhanced with features to approximate context-free grammars and substring grammars
C++
90
star
16

Real-World-CTF-3rd-Challenge-Attachments

Challenge attachments for RWCTF 3rd.
90
star
17

safeline-open-platform

Lua
87
star
18

log4j2-vaccine

log4j2-vaccine
Java
85
star
19

django-pg-partitioning

A Django extension that supports PostgreSQL 11 time ranges and list partitioning.
Python
77
star
20

mimicry

Mimicry is a dynamic deception tool that actively deceives an attacker during exploitation and post-exploitation.
Dockerfile
55
star
21

Real-World-CTF-5th-Challenges

attachments and (some) writeups/source code for RWCTF 5th
Python
52
star
22

lua-resty-t1k

Lua implementation of the T1K protocol for Chaitin/SafeLine WAF
Perl
45
star
23

Real-World-CTF-3rd-Forum-Attachments

attachments for forum of RealWorld CTF 3rd
C
40
star
24

sqlchop-http-proxy

SQLChop reverse http proxy module
JavaScript
32
star
25

Real-World-CTF-4th-Challenge-Attachments

26
star
26

Real-World-CTF-2019-Quals-Attachment

23
star
27

systracer

SysTracer: Linux 系统活动跟踪器
Go
22
star
28

gamma

16
star
29

xray_document

HTML
15
star
30

duty.html

A single page for daily duty assignment
HTML
12
star
31

querystring

Parse and stringify URL query strings
TypeScript
12
star
32

veinmind-action

基于 veinmind-tools 实现的 Github Action
Dockerfile
8
star
33

collie-app-cli

本地使用 Collie 应用或开发 Collie 应用的 CLI 工具
Rust
7
star
34

telewriter

Another jQuery typing animation script.
JavaScript
7
star
35

veinmind-jenkins

Groovy
3
star
36

veinmind-common-go

Go
2
star
37

browserslist-config-monster

JavaScript
2
star
38

veinmind-orb

1
star
39

xray-docs

MDX
1
star