Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOOL] Add APKleaks & Deprecate APKEnum #2818

Open
TheDauntless opened this issue Jul 14, 2024 · 7 comments · May be fixed by #3052
Open

[TOOL] Add APKleaks & Deprecate APKEnum #2818

TheDauntless opened this issue Jul 14, 2024 · 7 comments · May be fixed by #3052
Assignees
Labels

Comments

@TheDauntless
Copy link
Collaborator

TheDauntless commented Jul 14, 2024

APKEnum is mentioned a few times in the MASTG, though it's Python 2.7 and doesn't look actively maintained. Let's remove the references from the MASTG and leave a deprecation note.

Add APKleaks as a MASTG-TOOL and replace references and potential examples used.

https://github.com/dwisiswant0/apkleaks/

@cpholguera
Copy link
Collaborator

Maybe we can replace it with the forked and updated version

https://github.com/furkanumut/APKLeakData

@jeel38
Copy link
Collaborator

jeel38 commented Oct 17, 2024

@cpholguera
We can add apkleaks tool https://github.com/dwisiswant0/apkleaks which use python3 and activity maintained.
Please assign to me, i work on it.

@cpholguera
Copy link
Collaborator

Thanks for the suggestion @jeel38. Could you please select 2 widely used apps like WhatsApp and TikTok for example and run both

https://github.com/furkanumut/APKLeakData

and

https://github.com/dwisiswant0/apkleaks

on them so we can compare results and know if the tools complement each other or if they do the same, to see which one provides better results?

@jeel38
Copy link
Collaborator

jeel38 commented Oct 25, 2024

@cpholguera

The apkleaks provides more information when compared to apkleakdata. Apkleaks provides custom regex rules that can be added to the json file https://github.com/dwisiswant0/apkleaks/blob/master/config/regexes.json

To run the tool using these custom rules, use the following command:

$ apkleaks -f /path/to/file.apk -p regexed.json -o ~/Documents/apkleaks-results.txt

WhatsApp

Apkleaks Result: Apkleakdata:
Authorization_Basic URLs
Generic_Secret IP_Address
Google_API_Key Google_API_Key
IP_Address
JSON_Web_Token
LinkFinder
URLs

Instagram

Apkleaks Result: Apkleakdata:
Facebook_ClientID URLs
Facebook_Secret_Key IP_Address
Firebase Google_API_Key
Google_API_Key
IP_Address
JSON_Web_Token
URLs

@cpholguera
Copy link
Collaborator

Awesome, thank you for checking that @jeel38! Would you like to help us create a MASTG-TOOL file for that?

Android tools live here: https://github.com/OWASP/owasp-mastg/tree/master/tools/android

You can simply create a file following the same style and structure of the rest. Like MASTG-TOOL-xxxx.md

To set the number xxxx in the filename please use the next ID available after sorting this table: https://mas.owasp.org/MASTG/tools/

Please also update this mention to @MASTG-TOOL-xxxx (with the new number)

https://mas.owasp.org/MASTG/techniques/android/MASTG-TECH-0022/

@jeel38
Copy link
Collaborator

jeel38 commented Oct 26, 2024

@cpholguera

Sure, Will work on it please assign to me.

@cpholguera cpholguera changed the title [TOOL] APKEnum [TOOL] APKleaks Oct 26, 2024
@cpholguera
Copy link
Collaborator

It's yours. Thank you @jeel38!

@cpholguera cpholguera changed the title [TOOL] APKleaks [TOOL] Add APKleaks & Deprecate APKEnum Oct 26, 2024
@jeel38 jeel38 linked a pull request Nov 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants