How lokeshpoudyal10/clone_and_fake_app_detection works
This is a desktop Android APK clone/fake-app detector. A user selects an APK and starts a scan; the GUI hashes it, extracts package and certificate metadata, checks local suspicious indicators, queries VirusTotal, presents a report, and saves scan data to CSV. The README also describes static manifest, permission, and bytecode analysis; the sampled implementation shows Androguard-backed metadata extraction, but not a separate bytecode-analysis stage. The two GUI files appear to contain overlapping implementations. Connections are limited to relationships shown in excerpts, the source index, or README.
Main entry points: ui.py Scan GUI · VirusTotal.py VirusTotal client · main.py Application entry · hashes.py APK metadata
Components 17
Desktop interface
- Application entry
main.py - Scan GUI
ui.py - Alternate GUI
import customtkinter as ctk.py - App-store search
ui.py
APK analysis
- APK hashing
hashes.py - APK metadata
hashes.py - Clone indicators
ui.py - Result report
ui.py
Threat intelligence
- VirusTotal client
VirusTotal.py
Scan records
- Scan CSV writer
csvFiles.py - CSV scan file
csvFiles.py
Configuration
- Logging setup
log.py - API key and log path
key.py
Other components
- Analyst
- App stores
- Androguard
- VirusTotal API
Connections 17
- Analyst → Application entry: starts app
main.py - Application entry → Scan GUI: creates and runs
main.py - Analyst → Scan GUI: selects and scans
ui.py - Scan GUI → APK hashing: hashes APK
ui.py - Scan GUI → APK metadata: extracts metadata
ui.py - APK metadata → Androguard: analyzes APK
hashes.py - Scan GUI → Clone indicators: checks metadata
ui.py - Scan GUI → VirusTotal client: checks hash
ui.py - VirusTotal client → VirusTotal API: requests hash report
VirusTotal.py - VirusTotal client → API key and log path: reads API key
VirusTotal.py - Scan GUI → Result report: formats and displays
ui.py - Scan GUI → Scan CSV writer: saves scan data
ui.py - Scan CSV writer → CSV scan file: appends scan row
csvFiles.py - Alternate GUI → Logging setup: logs scan errors
import customtkinter as ctk.py - Logging setup → API key and log path: reads log path
log.py - Analyst → App-store search: searches app name
ui.py - App-store search → App stores: opens store searches
ui.py