Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Vanguard"

From NetSec
Jump to: navigation, search
(SQL injection)
(SQL injection)
Line 84: Line 84:
 
   - '&&'
 
   - '&&'
  
===SQL injection===
+
===[[SQL injection]]===
 
{{info|You can find these configuration files & options in '''modules/test/SQL_GET/conf.yml''' and '''modules/test/SQL_POST/conf.yml'''.}}{{code|text=
 
{{info|You can find these configuration files & options in '''modules/test/SQL_GET/conf.yml''' and '''modules/test/SQL_POST/conf.yml'''.}}{{code|text=
 
This file defines several variables for automated [[SQL injection]] testing.   
 
This file defines several variables for automated [[SQL injection]] testing.   
Line 101: Line 101:
 
   - )/*
 
   - )/*
 
'''sql_spacers''':
 
'''sql_spacers''':
 
+
Different [[database engine|database backends]] parse spaces differently.  Microsoft Access, for example, prefers '+' to be used as a "space" character, however for most linux based database solutions, a simple uri encoded space (%20) will suffice.
  
 
'''sql_entries''':
 
'''sql_entries''':
Line 107: Line 107:
  
 
'''sql_exits''':
 
'''sql_exits''':
 +
 
}}
 
}}
  

Revision as of 06:24, 9 January 2012

Description

c3el4.png Vanguard is a comprehensive web pen testing tool that identifies vulnerabilities in web applications.

Features

Main application features:

  • Fully Configurable
  • WebCrawlers crawl all open HTTP and HTTPS ports output from nmap
  • LibWhisker2 For HTTP IDS Evasion (Same options as nikto)
  • Tests via GET,POST, and COOKIE

Web penetration tests:

Usage

 perl scan.pl -h [hostname] -e [evasion option]

Installation

Application Dependencies

c3el4.png You must have nmap from http://nmap.org installed to run this application correctly.
Notice: You must run this application as root.
Protip: You can undo the root requirement by removing the check for root and modifying the nmap configuration.


Perl Dependencies

Configuration

Main Configuration

c3el4.png This is the configuration in config.yml.
---
rewrite: 0
use_whitelist: 1
module_whitelist:
  - WEBAPPS
  - SHELL
  - NMAP
  - CRAWL
  - XSS_GET
  - SQL_GET
  - LFI_GET
  - RCI_GET

WebCrawler

c3el4.png This configuration is located in /modules/recon/CRAWL/conf.yml
---
depth: 20

Nmap Module

---
flags: "-P0 --defeat-rst-ratelimit -sSV -F"
Protip: The S in -sSV is the reason this scan requires root.


Local File Inclusion

c3el4.png You can find this blah
---
lfi_test: '%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd'
lfi_match: "root\:.\:0\:0"
lfi_exits:
  - '%00'
  -

LDAP

c3el4.png you can find blah
---
ldap_true:
  - ")(&"
  - ")(&)("
ldap_false:
  - ")(|"
  - ")(|)("

RFI

c3el4.png You can find this blah
---
rfi_test: http://asdf.com/
rfi_match: 89asdf.gi

Command Injection

---
entries:
  - '|'
  - ';'
  - '&&'

SQL injection

c3el4.png You can find these configuration files & options in modules/test/SQL_GET/conf.yml and modules/test/SQL_POST/conf.yml.

This file defines several variables for automated SQL injection testing.

---
sql_spacers:
  - '%20'
  - '+'
sql_entries:
  - ""
  - '%27'
  - '%bf%27'
sql_exits:
  - --
  - /*
  - )--
  - )/*

sql_spacers: Different database backends parse spaces differently. Microsoft Access, for example, prefers '+' to be used as a "space" character, however for most linux based database solutions, a simple uri encoded space (%20) will suffice.

sql_entries: Because SQL injection utilizes an escape string, entries are used to define what escape string is necessary. Some injections are mis-handled integers and do not require this, hence we have an empty entry. The next entry is a url encoded single quote, and the final entry is an escape string affecting non-utf8 character encodings to bypass php's addslashes() function.

sql_exits:

Download

RPU0j.png The end-user is liable for his-or her own actions with the use of this software. Running this against a system you do not own without written authorization is a criminal act.

Other Tools

See Also