Reverse Engineering an apk using Jadx-Gui (2024)

Reverse Engineering is the process of disassembling an application to understand how its system workings. The methods and tricks employed depend on the target, so it is possible that the reverse engineering approach for each application will differ.

One of the activities commonly performed in Reverse Engineering is Decompilation. Decompilation is the process of recovering the source code from a compiled application.

One of many tools that can be used for decompiling an application is JADX. JADX is an open-source tool used for decompiling Android applications, with a specific focus on those developed for the Android platform. By utilizing JADX, users can analyze and comprehend the source code structure of an Android application.

Releases · skylot/jadx (github.com)

Reverse Engineering an apk using Jadx-Gui (2)

At the moment, I won’t provide additional explanations about JADX, but I’ll commence the reverse engineering process. The application of choice is Androgoat.

The vulnerability we will attempt to address through reverse engineering is the “Unprotected Android Package”. In short, if there are elements in the application that cannot be opened or clicked, this technique will potentially allow us to overcome such issues without the need for clicking.

Reverse Engineering an apk using Jadx-Gui (3)
Reverse Engineering an apk using Jadx-Gui (4)

Tools needed:

  1. Jadx-gui
  2. ADB

Step to reproduce:

Open Jadx-gui

Choose the application you want to decompile (Androgoat)

Reverse Engineering an apk using Jadx-Gui (5)

We have to analyze first. Where is our issue, what features, or what pop-ups are present? If you take a closer look, our issue is related to the Input Validations feature. If we get more specific, the function that cannot be clicked is called OS CMD Injection

Reverse Engineering an apk using Jadx-Gui (6)

To save time, click the search button as we cannot analyze one by one.

You can fill in the column with anything, but it’s better if it’s more specific.

Reverse Engineering an apk using Jadx-Gui (7)

There is a function with the same name as the issue we are looking for. Let’s analyze it!

Reverse Engineering an apk using Jadx-Gui (8)

Let’s make sure again that the function is the one we want to penetrate by looking at the AndroidManifest.xml file that has been decompiled by JADX.

Reverse Engineering an apk using Jadx-Gui (9)

After a closer look, it seems that this is the function we’re looking for. The next step is to proceed with the ADB tools.

  • Make sure that ‘adb devices’ is already connected
  • Launch adb shell and enter the command as follows:
Reverse Engineering an apk using Jadx-Gui (10)

In our case, am start -n owasp.sat.agoat/.InputValidationsOSCMDInjectionMain2Activity

Reverse Engineering an apk using Jadx-Gui (11)

As a result, we have successfully accessed/penetrated the OS CMD Injection feature.

Reverse Engineering an apk using Jadx-Gui (2024)
Top Articles
Self-proclaimed bitcoin inventor is not ‘Satoshi Nakamoto,’ UK judge rules | CNN Business
How to Invest in Index Funds
Cranes For Sale in United States| IronPlanet
Koopa Wrapper 1 Point 0
Ffxiv Palm Chippings
Lifewitceee
Practical Magic 123Movies
Chris wragge hi-res stock photography and images - Alamy
50 Meowbahh Fun Facts: Net Worth, Age, Birthday, Face Reveal, YouTube Earnings, Girlfriend, Doxxed, Discord, Fanart, TikTok, Instagram, Etc
Smokeland West Warwick
Dityship
Planets Visible Tonight Virginia
Marion County Wv Tax Maps
The Superhuman Guide to Twitter Advanced Search: 23 Hidden Ways to Use Advanced Search for Marketing and Sales
Telegram Scat
Trac Cbna
Nhl Tankathon Mock Draft
Mccain Agportal
Quick Answer: When Is The Zellwood Corn Festival - BikeHike
Highmark Wholecare Otc Store
Garnish For Shrimp Taco Nyt
When Does Subway Open And Close
Drift Hunters - Play Unblocked Game Online
Apartments / Housing For Rent near Lake Placid, FL - craigslist
Jermiyah Pryear
Haunted Mansion Showtimes Near Epic Theatres Of West Volusia
Suspiciouswetspot
3 Ways to Drive Employee Engagement with Recognition Programs | UKG
Funky Town Gore Cartel Video
Graphic Look Inside Jeffrey Dresser
Cheap Motorcycles Craigslist
The Pretty Kitty Tanglewood
The Ride | Rotten Tomatoes
Kelsey Mcewen Photos
Mydocbill.com/Mr
Laff Tv Passport
Frcp 47
Craigslist Pets Plattsburgh Ny
Author's Purpose And Viewpoint In The Dark Game Part 3
2132815089
5A Division 1 Playoff Bracket
Former Employees
Candise Yang Acupuncture
VerTRIO Comfort MHR 1800 - 3 Standen Elektrische Kachel - Hoog Capaciteit Carbon... | bol
The Many Faces of the Craigslist Killer
Sams Gas Price San Angelo
Bellelement.com Review: Real Store or A Scam? Read This
Definition of WMT
Aaca Not Mine
Karen Kripas Obituary
Https://Eaxcis.allstate.com
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 6272

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.