610 likes | 1.79k Views
A Vulnerability Assessment NIKTO. Description. Nikto is a web server scanner which performs comprehensive tests against web server for multiple items 2600 potentially dangerous files/CGIs Versions on over 625 servers Version specific problems on over 230 servers
E N D
Description • Nikto is a web server scanner which performs comprehensive tests against web server for multiple items • 2600 potentially dangerous files/CGIs • Versions on over 625 servers • Version specific problems on over 230 servers • Nikto support for LibWhisker’s anti-IDS methods (IDS evasion)
Description • Nikto perform security or information checks • Misconfigurations • Default files and scripts • Insecure files and scripts • Outdate software
Purpose • To understand what is vulnerability scanner, and why we need it • To family with the operation of the Nikto vulnerability scanner.
Principle and Pre-study • A look at whisker's anti-IDS tactics • an HTTP request defined by RFC 1945 • Types of IDS • Smart • Raw
Required Facilities • Permission • Do not proceed without receiving the necessary permissions • Hardware: • PC or Workstation with UNIX-based OS • Software • Perl 5.004 • Nikto 1.32 • NET::SSLeay • LibWhisker • OpenSSL
Step (I): install Nikto Install nikto with port tree After install nikto, patch /usr/local/bin/nikto.pl to indicate the config.txt patch /usr/local/etc/nikto/config.txt to indicate the plugin directory
IDS evasion option mutate checks option IDS evasion method
Basic scan information Web server banner and basic function Report some vulnerability and suggest the solution Report the result
Step (II): execute nikto Basic scan information Web server banner and basic function Report some vulnerability and suggest the solution Report the result
Step (III): IDS evasion Detection with IDS evasion method 1 2 on target 140.123.113.86
Summary • CGI exploits are everywhere. It is most important that you scan your own site so that you can see what attackers might see. • Nikto is a PERL, open source web server scanner which supports SSL. It checks for remote web server vulnerabilities and misconfigurations.
Reference • Nikto • http://www.cirt.net/code/nikto.html • Comprehensive Perl Archive Network • http://www.cpan.org • LibWhisker • http://www.wiretrip.net/rfp/lw.asp • A look at whisker’s anti-IDS tactics • http://www.wiretrip.net/rfp/txt/whiskerids.html
Outline • A Real World Attack: wu-ftp • Vulnerability Scanners • All-Purpose Tools • Application Inspection • TRIPWIRE & MD5