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.
pip install frida-tools
frida -U -f <package_name> -l <script.js>
Frida is a dynamic instrumentation toolkit that lets you inject JavaScript into running processes. It hooks functions, modifies behavior, and inspects runtime data — all without recompiling the target application. This makes it the go-to tool for security researchers, reverse engineers, and mobile app testers.
The toolkit supports Android, iOS, Windows, macOS, and Linux. It uses a client-server architecture: frida-tools runs on your host computer while frida-server runs on the target device. Communication happens over USB, TCP, or even Wi-Fi, giving you flexible deployment options.
Frida is the industry standard for mobile app security testing. It is used for SSL pinning bypass, root detection bypass, function hooking, API monitoring, and runtime manipulation. Whether you are testing a banking app, analyzing malware, or reverse engineering a proprietary protocol, Frida provides the instrumentation engine you need.
The Frida architecture consists of four main components: the frida-tools CLI client on your host machine, the frida-server daemon on the target device, the frida-agent shared library injected into target processes, and your JavaScript scripts that define the hooking logic. This modular design allows Frida to support multiple platforms and scripting languages while keeping the core instrumentation engine lightweight and efficient.
frida-ps -UList running processes on USB device — find the target app process before attachingfrida-ps -UaiList all installed apps on USB device — enumerate installed packagesfrida -U -f com.example.appSpawn and attach to app — start instrumenting an app from launchfrida -U -n "App Name"Attach to running app by name — hook into an already running appfrida -U -p 12345Attach to process by PID — connect to a specific process IDfrida -U -f com.app -l bypass.jsLoad custom Frida script — run custom hooks and bypassesfrida-trace -U -i "open*" com.appTrace function calls — monitor API calls matching a patternfrida-trace -U -j "Java!*" com.appTrace Java method calls — monitor Android Java method invocationsJava.perform(() => { ... })Hook Java/Android methods — intercept Android app logic at runtimeInterceptor.attach(ptr, { ... })Hook native functions — intercept native code execution at the C/C++ levelfrida -U -f com.app --no-pauseSpawn app without pausing — instrument from the very start of executionfrida -U -D emulator-5554 com.appConnect to specific device — target a specific emulator or device by nameBypass certificate pinning in mobile apps to intercept HTTPS traffic for security testing. Hook SSLContext.checkServerTrusted or native SSL functions.
Intercept and modify function calls at runtime. Read arguments, change return values, and trace execution paths in both Java and native code.
Observe application behavior at runtime without source code. Monitor API calls, network requests, file operations, and data transformations.
Analyze malware behavior dynamically by hooking system calls, network functions, and file operations to understand what the malware does.
Bypass root detection mechanisms in Android apps by hooking checks for su binary, root management apps, and system property queries.
Monitor all API calls an application makes to external services. Capture request headers, bodies, and responses for security analysis.
Trace every method invocation in an Android app to understand application flow, data handling, and business logic without source code.
Debug production applications by injecting logging hooks, inspecting variable values, and monitoring exception handling in real time.
Combine static analysis from tools like JADX with Frida's runtime hooking to fully reverse engineer Android applications and their native libraries.
Instrument iOS apps on jailbroken devices to bypass security controls, inspect Keychain access, and analyze Objective-C method calls.
Study application vulnerabilities by hooking security-critical functions, understanding memory corruption patterns, and testing exploit mitigations.
Reverse engineer proprietary network protocols by hooking socket functions, SSL libraries, and serialization routines to decode custom protocols.
Reverse Engineering
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.
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.
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.
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.
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.
Forensics
Learn how to use Binwalk to scan a firmware image, read the signature table, extract embedded filesystems, and spot encrypted regions — a beginner tutorial for Kali Linux.
Learn reverse engineering from scratch: analyze binaries with Ghidra and GDB, read assembly, crack a practice binary, and build a starter toolkit.
Tools · IntermediateEvery SQLMap command you need - target, enumeration, tamper scripts, WAF bypass, OS shell - with a worked DVWA example, troubleshooting and the developer fix.
Ethical Hacking · BeginnerLearn the core principles of ethical hacking, the five-phase penetration testing methodology, types of security testing, and how to build your own hacking lab.
OSINT · IntermediateLearn 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.
Frida output displays hooked function calls, parameter values, return values, and any console.log statements from your scripts. When a hook fires, Frida prints the function name, its arguments, and the modified or original return value. Errors appear as stack traces pointing to the line in your script that caused the issue.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.