google ads

Showing posts with label Tool. Show all posts
Showing posts with label Tool. Show all posts

Friday, 22 June 2018

StaCoAn – Mobile App Static Analysis Tool

StaCoAn – Mobile App Static Analysis Tool


StaCoAn is a cross-platform tool which aids developers, bug bounty hunters and ethical hackers performing mobile app static analysis on the code of the application for both native Android and iOS applications.
StaCoAn - Mobile App Static Analysis Tool

This tool will look for interesting lines in the code which can contain:
  • Hardcoded credentials
  • API keys
  • URL’s of API’s
  • Decryption keys
  • Major coding mistakes
This tool was created with a big focus on usability and graphical guidance in the user interface.

Features of StaCoAn Mobile App Static Analysis Tool

The concept is that you drag and drop your mobile application file (an .apk or .ipa file) on the StaCoAn application and it will generate a visual and portable report for you. You can tweak the settings and wordlists to get a customized experience.
The reports contain a handy tree viewer so you can easily browse through your decompiled application.
It also contains the following features:
  • Looting concept – Roughly equivalent to bookmarking findings of value.
  • Wordlists – The application uses wordlists for finding interesting lines in the code.
  • Filetypes – Any source file will be processed. This contains ‘.java', '.js', '.html', '.xml',... files.
  • Responsive Design – The reports are made to fit on all screens.
Limitations wise, this tool will have trouble with obfuscated code. If you are a developer try to compile without obfuscation turned on before running this tool.
We have covered a few other static analysis tools, but none really native mobile-focused such as:
You can download StaCoAn here:

XXEinjector – Automatic XXE Injection Tool For Exploitation

XXEinjector – Automatic XXE Injection Tool For Exploitation


XXEinjector is a Ruby-based XXE Injection Tool that automates retrieving files using direct and out of band methods. Directory listing only works in Java applications and the brute forcing method needs to be used for other applications.
XXEinjector - Automatic XXE Injection Tool For Exploitation

Usage of XXEinjector XXE Injection Tool

XXEinjector actually has a LOT of options, so do have a look through to see how you can best leverage this type of attack. Obviously Ruby is a prequisite to run the tool.
If you aren’t familiar with XXE attacks you should start here first:

Usage examples for XXinjector

Enumerating /etc directory in HTTPS application:
Enumerating /etc directory using gopher for OOB method:
Second order exploitation:
Bruteforcing files using HTTP out of band method and netdoc protocol:
Enumerating using direct exploitation:
Enumerating unfiltered ports:
Stealing Windows hashes:
Uploading files using Java jar:
Executing system commands using PHP expect:
Testing for XSLT injection:
Log requests only:
You can download XXEinjector here: