Skip to content

AppSentinel enhances mobile and web security by performing static analysis on Android (APK) and iOS (IPA) files, identifying vulnerabilities such as hard-coded secrets, API keys, Firebase links, and misconfigurations. It also evaluates URLs for threats like Subdomain Takeover, SQL Injection, XSS, Open Redirect, and LFI.

Notifications You must be signed in to change notification settings

jeel38/AppSentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

AppSentinel: Mobile & URL Security Analysis

AppSentinel enhances mobile and web security by performing static analysis on Android (APK) and iOS (IPA) files, identifying vulnerabilities such as hard-coded secrets, API keys, Firebase links, and misconfigurations. It also evaluates URLs for threats like Subdomain Takeover, SQL Injection, XSS, Open Redirect, and LFI. By providing detailed insights, AppSentinel helps developers and security professionals strengthen application security and mitigate potential risks effectively.

Static Analysis of Android APKs

Static analysis is a critical component of identifying vulnerabilities in mobile applications. This methodology involves examining the APK (Android Package Kit) files of Android applications to uncover potential security risks. The primary steps include analyzing the Android Manifest file, computing hash values, identifying package and main activity names, and detecting hard-coded secrets, Firebase links, IP addresses, Google API keys, Google OAuth values, and AWS S3 configurations.

Static Analysis of iOS IPAs

Static analysis of iOS applications involves examining IPA (iOS App Store Package) files to uncover potential security vulnerabilities. This process is crucial for identifying issues before they can be exploited in a production environment. The primary focus of this analysis is the Info.plist file, which contains key configuration details of the application. This chapter provides a detailed explanation of the steps involved in the static analysis of iOS IPAs.

URL Vulnerability Checker

In addition to analyzing mobile application files, the tool also evaluates URLs for potential vulnerabilities. This includes checking for common web-based threats such as subdomain takeover, SQL injection, cross-site scripting (XSS), open redirects, and local file inclusion (LFI). This chapter provides a detailed explanation of each URL vulnerability type and the methods used to detect them.

Project Installation

  1. Python Version: Python 3.x\
  2. Dependencies: Ensure the following tools and packages are installed:
  • Flask
  • aapt (Android SDK)
  • apktool
  • zipfile
  • plistlib
  • subprocess
  • re
  • werkzeug
  • hashlib
  • json
  • urllib
  1. Install the necessary Python packages using pip:
pip install flask werkzeug

How to Run

Step 1: Clone the Repository (if applicable):

git clone <repository-url>
cd <repository-directory>

Step 2: Start the Flask Application:

python3 app.py

Step 3: Access the Application: Open your web browser and navigate to http://localhost:5000

Implementation

APK/IPA Static Analysis Screenshot 2025-02-03 at 12 16 40 AM Screenshot 2025-02-03 at 12 17 20 AM

Static Analysis - Check Permissions Screenshot 2025-02-03 at 12 17 40 AM

APK ManiFest File Analysis - Vulnerability Result Screenshot 2025-02-03 at 12 17 51 AM

IPA Info.Plist File Analysis - Vulnerability Result Screenshot 2025-02-03 at 12 18 11 AM

Static Analysis - Firebase miss-configuration Screenshot 2025-02-03 at 12 18 33 AM

Static Analysis - Cloud miss-configuration Screenshot 2025-02-03 at 12 18 42 AM

Static Analysis - Vulnerable Google API Keys Screenshot 2025-02-03 at 12 18 55 AM

URLs Vulnerability Check Screenshot 2025-02-03 at 12 19 30 AM

URLs Vulnerability - SubDomain TakeOver Result Screenshot 2025-02-03 at 12 19 50 AM

URLs Vulnerability - Open Redirect Vulnerability Result Screenshot 2025-02-03 at 12 20 20 AM

URLs Vulnerability - LFI Vulnerability Result Screenshot 2025-02-03 at 12 20 29 AM

URLs Vulnerability - SQL Injection Vulnerability Result Screenshot 2025-02-03 at 12 20 40 AM

About

AppSentinel enhances mobile and web security by performing static analysis on Android (APK) and iOS (IPA) files, identifying vulnerabilities such as hard-coded secrets, API keys, Firebase links, and misconfigurations. It also evaluates URLs for threats like Subdomain Takeover, SQL Injection, XSS, Open Redirect, and LFI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published