GO KALI FREE

Objection

Reverse Engineering

Intermediatemedium risk

Objection is a runtime mobile exploration toolkit, powered by Frida, built to help you assess the security of your mobile applications without needing a jailbroken or rooted device.

Installation

pip install objection

Basic Syntax

objection -g <package_name> explore

Quick Facts

Full Name
Objection
License
MIT
Language
Python
Platforms
Linux, macOS, Windows (with Frida)
Category
Mobile Security Testing
Created By
sensepost

Tool Overview

Objection is a runtime mobile exploration toolkit powered by Frida. It provides pre-built commands for common mobile security testing tasks without writing code.

The tool supports both Android and iOS. It can bypass SSL pinning, disable root/jailbreak detection, hook methods, and dump memory.

Objection is ideal for mobile app security assessments where you need quick results without writing custom Frida scripts.

Common Commands

objection -g com.example.app exploreAttach to an app by package/bundle ID and open the interactive REPL
objection --gadget com.example.app explore -qStart exploration quietly without the ASCII banner
objection -S <serial> -g com.example.app exploreAttach to a specific device by serial then explore
objection --network --host 10.10.10.10 --port 27042 exploreConnect to a remote frida-server over the network and explore
objection -g com.example.app explore --startup-command "android sslpinning disable"Attach and immediately run a startup command in the REPL
objection patchapk -s app.apkRepackage an APK with the Frida gadget injected
objection patchipa -s app.ipaPatch an iOS IPA with the Frida gadget
objection signapk app.objection.apkZipalign and sign a patched APK for installation
android hooking list activitiesList all activities of the target Android app
android hooking list classesList all loaded Java classes in the running app
android hooking search classes <name>Search loaded classes for a keyword
android hooking watch class com.example.app.LoginActivityHook and log all methods of a class as they are called
android hooking watch class_method com.example.app.Login.check --dump-args --dump-returnWatch a method and dump its arguments and return value
android hooking set return_value com.example.app.Auth.isValid trueForce a Java method to return a fixed value
android sslpinning disableAttempt to bypass common SSL certificate pinning on Android
android root disableHook common root detection checks to make them return safe values
android keystore listList entries stored in the Android KeyStore
ios sslpinning disableAttempt to bypass SSL pinning on iOS
ios jailbreak disableHook common jailbreak detection routines
ios keychain dumpDump the iOS keychain items accessible to the app
ios cookies getDisplay the app's HTTP cookies
memory list modulesList loaded native modules in the process memory
memory dump all /path/to/fileDump the entire readable process memory to a file
file download /data/data/com.example.app/shared_prefs/prefs.xml /path/to/fileDownload a file from the device to the local machine
jobs listList active hooking jobs running in the session

Step-by-Step Guide

  1. 1Install the tool suite on your host computer
  2. 2Verify the background server is communicating with your test device
  3. 3Open the application you intend to audit
  4. 4Connect to the app using the 'explore' parameter
  5. 5Disable internal security checks like pinning if necessary
  6. 6Map out the internal code structures
  7. 7Intercept and modify specific methods in real-time
  8. 8Extract memory segments for sensitive data review

Use Cases

SSL Pinning Bypass

Bypass certificate pinning on Android/iOS.

Root Detection Bypass

Bypass root/jailbreak detection.

Method Hooking

Watch and modify method calls.

Memory Dump

Extract sensitive data from memory.

Key Features

Related Tools

Frida

Reverse Engineering

Frida is a dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers. It allows you to inject snippets of JavaScript or your own library into native apps on various platforms — making it the industry standard for runtime analysis and mobile app security testing.

ADB

Reverse Engineering

ADB, or Android Debug Bridge, is a versatile command-line tool that acts as a client-server program, facilitating communication between your development machine (the client) and an Android device (running the adbd daemon) via a server process binding TCP port 5037. It ships as part of the Android SDK Platform Tools, and on Kali Linux, it's available as the `android-tools-adb` package. ADB is the standard device bridge for Android mobile pentesting and forensics, enabling actions like deploying Frida servers, pulling APKs, and capturing detailed logcat output for analysis.

Ghidra

Reverse Engineering

This hands-on guide shows how to use Ghidra to inspect a program you compile yourself. You'll compare decompiled code with the underlying assembly, follow cross-references, and document what the binary does without executing it.

GDB

Reverse Engineering

Learn how to use GDB, the GNU Debugger, by building a small C program with debug symbols and following it from the first breakpoint to a crash. Use the same steps to inspect variables, read a backtrace, and tell when a core dump or a look at the assembly would help.

Radare2

Reverse Engineering

Radare2 (r2) is a complete open-source framework for reverse engineering and binary analysis. It bundles a disassembler, debugger, hex editor, and scripting engine into a single lightweight command-line toolkit that supports dozens of architectures and executable formats.

objdump

Reverse Engineering

objdump displays information about object files. It can disassemble executables, show headers, symbols, and more.

Related Cybersecurity Guides

Ethical Hacking · Intermediate

Reverse Engineering for Beginners: Learn to Analyze Binaries with Ghidra & GDB

Learn reverse engineering from scratch: analyze binaries with Ghidra and GDB, read assembly, crack a practice binary, and build a starter toolkit.

Maltego · Beginner

Maltego Community Edition: Free OSINT Tool Guide

A comprehensive guide to Maltego Community Edition — the free version of Maltego. Learn what you get, what you don't, and how to maximize your OSINT capabilities without spending a dime.

Ethical Hacking · Intermediate

Docker Security Best Practices: How to Secure Docker Containers and Images

Secure your Docker containers step by step: hardened images, Trivy scanning, secrets, runtime limits and daemon hardening — with a worked Flask example.

OSINT · Intermediate

Google Dorking: How to Use Google Dorks for OSINT & Security Research

Learn Google dorking: advanced search operators, a worked OSINT example on a domain you own, GHDB dorks, a cheat sheet, and how to protect your site.

Frequently Asked Questions

What is Objection used for?

Objection is a runtime mobile exploration toolkit for Android and iOS. It provides pre-built commands for SSL pinning bypass, root detection bypass, and more.

Does Objection need root?

Yes, Objection requires a rooted Android device or jailbroken iOS device since it is built on Frida.

How do I bypass SSL pinning with Objection?

Run 'android sslpinning disable' after connecting to the app to bypass SSL certificate pinning.

Is Objection better than Frida?

Objection is easier for common tasks. Frida is more flexible for custom instrumentation. Use Objection for quick tests, Frida for custom hooks.

Tags

#reverse-engineering#mobile-security#frida#android#ios

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.