Skip to content

Automatically modifies the "ic_launcher.png" icons with stripped red lines, and creates the tampered app. For the purpose of rapidly testing Android application tampering during Penetration Tests.

License

Notifications You must be signed in to change notification settings

emanuelfc/ApkIconTamperingPoC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApkIconTamperingPoC

Creates PoC Android apps with its Icons modified to rapidly test application tampering.

Description

Automatically modifies the "ic_launcher.png" icons with stripped red lines, and creates the tampered app. For the purpose of rapidly testing Android application tampering during Penetration Tests.


Requirements

Python3 argparse Pillow shutil glob


Usage

usage: ApkIconTamperingPoC.py [-h] -p PACKAGE -o OUTPUT

Android Application Icon Tampering PoC - Automatically modifies the "ic_launcher.png" icons with stripped red lines,
and creates the tampered app.

optional arguments:
  -h, --help            show this help message and exit
  -p PACKAGE, --package PACKAGE
                        Target Application package (.apk file)
  -o OUTPUT, --output OUTPUT
                        Output Location for Tampered Application

Example:

Creates the PoC app for the given apk file, and saves PoC apk directory - with the name 'PACKAGE-tampered-signed-aligned.apk'.

python3 ApkIconTamperingPoC.py -l "com.example.exampleApp"

The tampered package name is quite lengthy, but this intentional as a version is created for each stage (Tampering, Signing, Aligning). This allows better control.


About

Automatically modifies the "ic_launcher.png" icons with stripped red lines, and creates the tampered app. For the purpose of rapidly testing Android application tampering during Penetration Tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages