Back to directory
Tuhinshubhra avatar
Tuhinshubhra / ExtAnalysis

ExtAnalysis

Browser Extension Analysis Framework - Scan, Analyze Chrome, firefox and Brave extensions for vulnerabilities and intels

750

Stars

117

Forks

22

Watchers

GPL-3.0

License

Logo
version OS Windows 2C 20Linux blue Python Version GitHub stars GitHub license Twitter


FeaturesInstallationUseModules UsedScreenshotsLicense


With ExtAnalysis you can :

  • Download & Analyze Extensions From:
  • Analyze Installed Extensions of:
    • Google Chrome
    • Mozilla Firefox
    • Opera Browser (Coming Soon)
  • Upload and Scan Extensions. Supported formats:
    • .crx
    • .xpi
    • .zip

Features of ExtAnalysis :

  • View Basic Informations:
    • Name, Author, Description and Version
  • Manifest Viewer
  • In depth permission information
  • Extract Intels from files which include:
    • URLs and domains
    • IPv6 and IPv4 addresses
    • Bitcoin addresses
    • Email addresses
    • File comments
    • Base64 encoded strings
  • View and Edit files. Supported file types:
    • html
    • json
    • JavaScript
    • css
  • VirusTotal Scans For:
    • URLs
    • Domains
    • Files
  • RetireJS Vulnerability scan for JavaScript files
  • Network graph of all files and URLs
  • Reconnaissance tools for extracted URLs:
    • Whois Scan
    • HTTP headers viewer
    • URL Source viewer
    • GEO-IP location
  • Some Fun Stuffs that include:
    • Dark Mode
    • Inbuilt chiptune player (Jam on to some classic chiptune while ExtAnalysis does the work)

How do I install it?

Installing ExtAnalysis is simple! It runs on python3, so make sure python3 and python3-pip are installed and follow these steps:

git clone https://github.com/Tuhinshubhra/ExtAnalysis
cd ExtAnalysis
pip3 install -r requirements.txt

For proper analysis don't forget to add your virustotal api.

How do I use it?

Once the installation is done you can jump straight ahead and run ExtAnalysis by running the command: $ python3 extanalysis.py It should automatically launch ExtAnalysis in a new browser window.

For other options check out the help menu $ python3 extanalysis.py --help

usage: extanalysis.py [-h HOST] [-p PORT] [-v] [-u] [-q] [--help]

optional arguments:
  -h HOST, --host HOST  Host to run ExtAnalysis on. Default host is 127.0.0.1
  -p PORT, --port PORT  Port to run ExtAnalysis on. Default port is 13337
  -v, --version         Shows version and quits
  -u, --update          Checks for update
  -q, --quiet           Quiet mode shows only errors on cli!
  --help                Shows this help menu and exits

Installing Docker Engine

Use the following link

Docker Build

docker build -t extanalysis .

Docker Usage

docker run --rm -it -p 13337:13337 extanalysis -h 0.0.0.0

Using Docker Compose

docker compose build

docker compose up

## Or just:
docker compose up --build

## To run only for one-time use
docker-compose run --rm --build -it -p 13337:13337 extanalysis -h 0.0.0.0

## To run in the background
docker compose up -d

Python Modules Used:

  • flask for the webserver
  • python-whois for Whois lookup
  • maxminddb for parsing the Geo-IP database
  • requests for http headers and source code viewer

Screenshots

Main Menu Results

Contribution

You can contribute to the development of ExtAnalysis by improving some code or even reporting by bugs.

For any other queries feel free to contact me via twitter: @r3dhax0r

Below is a list of people who contributed to the development of ExtAnalysis (only pull requests!)

Contributors

  • WebBreacher
  • Nilay Nath Sharan

License and Credits

ExtAnalysis is licensed under GNU General Public License v3.0. Attribution to all the third-party libraries used can be found in the CREDITS file.


Releases

Jan 14, 2022

ExtAnalysis v.1.0.5

Download .zip

Version 1.0.5 changelog: Release Date: 14th January 2022

Fixed Chrome Webstore downloader (issue #13) Added support for local google chrome extensions for Mac Os Added support for Vivaldi Browser (is...

May 13, 2020

ExtAnalysis v.1.0.4

Download .zip

Version 1.0.4 changelog: Release Date: 14th March 2020

Fixed an error where local firefox extensions could not be detected (issue #9) Added support for Brave browser Fixed some CSRF issues Added --no...

Dec 6, 2019

ExtAnalysis v.1.0.3

Download .zip

Version 1.0.3 changelog: Release Date: 22nd October 2019

Show extension browser name in scan info (issue #4) Fixed a bug that created error when user is offline

May 13, 2019

ExtAnalysis v.1.0.2

Download .zip

Version 1.0.2 changelog: Release Date: 14th May 2019

Removed dummy VirusTotal column in result page Show "vulnerabilities" button along js file only if any vulnerabilities are detected Important file...

May 9, 2019

ExtAnalysis v.1.0.1

Download .zip

Version 1.0.1 changelog: Release Date: 9th May 2019

No Javascript Warning added Auto create lab directory if not exist Fix Chrome Web Store downloader Updater fixed for windows