Frida is a dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers. It allows you to inject your own scripts into black box processes. Hook any function, spy on crypto APIs or trace private application code, no source code needed. Edit, hit save, and instantly see the results. All without compilation steps or program restarts. It’s the swiss army knife for process injections for native apps and is a popular dynamic code instrumentation toolkit. It lets you inject snippets of JavaScript or your own library into native apps on Windows and Android. It is the go-to tool you use for API tracing.
Frida is a dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers. It allows you to inject your own scripts into black box processes. Hook any function, spy on crypto APIs or trace private application code, no source code needed. Edit, hit save, and instantly see the results. All without compilation steps or program restarts. It’s the swiss army knife for process injections for native apps and is a popular dynamic code instrumentation toolkit. It lets you inject snippets of JavaScript or your own library into native apps on Windows and Android. It is the go-to tool you use for API tracing.
At the end of this course you will be able to:
learn how to reverse engineer and perform process injection into android and windows applications
hook functions and modify its behaviour
perform basic bypass of security restrictions on android and windows apps
Features of this course:
Designed with beginners in mind.
Simple android apps and windows crackme's designed to learn process injection and function hooking
Practical and hands-on
Using free tools only
Suitable for:
Reverse Engineering and Malware Analysis Students
Students planning on entering Malware Analysis and Reverse Engineering, or Penetration Testers as a Career Path
Security researchers
Prerequisite:
Windows PC
Basic Java/Javascript would be helpful but not mandatory
Preferably have an Android phone (non-rooted)
Enroll now and I will see you inside.
Intro to Frida
Intro to Frida Injection
Installing LD-player emulator
Installing platform tools
Installing frida-server on the android emulator
How to determine which version of frida-server to install into LDPlayer emulator
Installing objection and frida tools on the pc
Testing objection and frida
Installing Android-studio build-tools
Installing the apktool
Patching the target apk file with the frida-gadget (frida-server)
Enabling developer-mode on the android phone
Installing the patched-apk file to the android phone and testing it
If the frida gadget that we patch into the apk does not work, you can use an alternative solution. We extract the apk from the physical phone and install it into a rooted LDPlayer.
Reverse engineering using the apktool
Installing dex2jar and jd-gui
Decompiling an apk file using dex2jar and jd-gui
Understanding the Frida CLI
Simple Frida hello-world script
Frida script to list classes
Frida scripts to list methods and properties
Intro to hooking functions
Decompiling apk to identify target function to hook
Hooking functions and modifying them
Dumping function parameters
Analyzing app functions
Implementing app functions in frida and decrypting password
Listing windows modules (DLL libraries) using Frida
Hooking windows MessageBox function
Modifying the windows MessageBox API
Listing windows process functions
Hooking file reading functions
Memory scanning and hacking
Additional lessons on android ethical hacking to supplement Frida.
Installing Burpsuite
Setting Burpsuite proxy for LDplayer emulator
Installing the Insecure Banking app
Installing burpsuite CA cert
Modifying network-security-config
Creating keystore signing and intercepting https
Local data storage vulnerabilities
Exported application component vulnerabilities
Insecure logging vulnerability
Running Frida scripts after objection root bypass
Bonus lecture.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.