Header Ads

Scan website for vulnerabilities in Kali Linux using Grabber

Grabber is a web application scanner. Basically it detects some kind of vulnerabilities in your website. Grabber is simple, not fast but portable and really adaptable. This software is designed to scan small websites such as personals, forums etc. absolutely not big application: it would take too long time and flood your network.

Why this kind of application ?

This is a very small application (currently 2.5kLOC in Python) and the first reason of this scanner is to have a “minimum bar” scanner for the Samate Tool Evaluation Program at NIST.
Grabber is also for me a nice way to do some automatics verification on websites/scripts I do. Users should know some things about web vulnerabilities before using this soft because it only tell you what vulnerability it is… not how to solve it.

Current featuresScan website for vulnerabilities in Kali Linux using Grabber - blackMORE Ops 1

Because it’s a small tool, the set of vulnerabilities is small…
  1. Cross-Site Scripting
  2. SQL Injection (there is also a special Blind SQL Injection module)
  3. File Inclusion
  4. Backup files check
  5. Simple AJAX check (parse every JavaScript and get the URL and try to get the parameters)
  6. Hybrid analysis/Crystal ball testing for PHP application using PHP-SAT
  7. JavaScript source code analyzer: Evaluation of the quality/correctness of the JavaScript with JavaScript Lint
  8. Generation of a file [session_id, time(t)] for next stats analysis.

Does it scan the JavaScript ?

Yes! It can handle the JavaScript files, parse it to retrieve the server sides scripts names and try to get some parameters name…

What’s nice with Grabber ?

Because every patterns are in a “quite standard” XML file, you can add, or test what ever you want. You can also focus of a kind of vulnerability then do a massive test. You can also do all the test on a single page…

What are you using ?

This application is based on:
  1. Researchs from famous websites/guys:
    • ha.ckers.org (the XSS vector at least)
    • SPI-Dynamics lab/portal
    • Whitehatsec
    • cgisecurity.com
    • OWASP etc.
    • and a huge amount of information given by lots of tools (Pantera, Paros, Wapiti, WebInspect, Hailstorm, AppScan etc.)
  2. Python:
Grabber aim to be simple. It’s a small tool, does not provide any GUI or PDF report! There is XML reports (you can easily create a XSLT to render the XML for you manager).

What needs to be done on Grabber ?

There are couple of things I want to fix/do:
  1. Cookies/Http Auth/Login Page authentification systems
  2. Multi site support (which is not too hard to do due to the XML structure)
  3. Fix the parsers
  4. Make a real/better detection system
  5. Plug a JavaScript engine for real XSS detection
  6. Make a real output
  7. Provide solution for the given vulnerabilities? (not quite sure about this)
  8. Definitely, playing with the differents encodings types.

How do I use Grabber ?

Grabber comes per-installed with Kali Linux.

Grabber Help Menu - Press to expand

Grabber usage

Spider the web application to a depth of 1 (–spider 1) and attempt SQL (–sql) and XSS (–xss) attacks at the given URL (–url http://kali-test-random-gen.com):

Grabber Output - Click to expand

Scan website for vulnerabilities in Kali Linux using Grabber - blackMORE Ops 2

No comments