Webapp Niktoのロゴ

Webapp Nikto

組織
AgentSecOps
webapp-nikto

セキュリティ上の問題、設定ミス、古いソフトウェアバージョンを特定するWebサーバー脆弱性スキャナーです。次の用途に使用します:(1)許可を得たWebサーバーのセキュリティ評価、(2)一般的なWeb脆弱性と設定ミスの特定、(3)古いサーバーソフトウェアと既知の脆弱性の検出、(4)Webサーバーのセキュリティ強化に向けたコンプライアンススキャン、(5)Webサーバーの情報と有効な機能の列挙、(6)セキュリティ制御とパッチ適用状況の検証。

Add to TypingMind

概要

公開者AgentSecOps
リポジトリSecOpsAgentKit
スキル名webapp-nikto
スター
225
フォーク
44
同梱ファイル
4
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AgentSecOpsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Webapp Nikto」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AgentSecOps/SecOpsAgentKit/tree/main/skills/offsec/webapp-nikto
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgentSecOps/SecOpsAgentKit.git /tmp/SecOpsAgentKit
mkdir -p .claude/skills
cp -r /tmp/SecOpsAgentKit/skills/offsec/webapp-nikto .claude/skills/webapp-nikto
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでWebapp Niktoを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にWebapp Niktoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Webapp Niktoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Nikto Web Server Scanner

Overview

Nikto is an open-source web server scanner that performs comprehensive tests against web servers for multiple security issues including dangerous files, outdated software versions, and server misconfigurations. This skill covers authorized security assessments of web servers and applications.

IMPORTANT: Nikto generates significant traffic and is easily detected. Only use with proper written authorization on systems you own or have explicit permission to test.

Quick Start

Basic web server scanning:

bash
# Scan single host
nikto -h http://example.com

# Scan with SSL
nikto -h https://example.com

# Scan specific port
nikto -h example.com -p 8080

# Scan multiple ports
nikto -h example.com -p 80,443,8080

Core Workflow

Web Server Assessment Workflow

Progress: [ ] 1. Verify authorization for web server testing [ ] 2. Identify target web servers and ports [ ] 3. Perform initial reconnaissance scan [ ] 4. Run comprehensive vulnerability assessment [ ] 5. Analyze and categorize findings [ ] 6. Document vulnerabilities with remediation [ ] 7. Generate and deliver security report [ ] 8. Verify no testing artifacts remain

Work through each step systematically. Check off completed items.

1. Authorization Verification

CRITICAL: Before any web server scanning:

  • Confirm written authorization from web server owner
  • Verify scope includes web server vulnerability assessment
  • Understand acceptable scanning windows
  • Document emergency contact procedures
  • Confirm no production impact restrictions

2. Basic Scanning

Perform basic web server scans:

bash
# Standard scan
nikto -h http://example.com

# Scan with specific User-Agent
nikto -h http://example.com -useragent "Mozilla/5.0..."

# Scan through proxy
nikto -h http://example.com -useproxy http://proxy:8080

# Scan with authentication
nikto -h http://example.com -id username:password

# SSL/TLS scan
nikto -h https://example.com -ssl

# Force SSL even on non-standard ports
nikto -h example.com -p 8443 -ssl

3. Advanced Scanning Options

Customize scan behavior:

bash
# Specify tuning options
nikto -h http://example.com -Tuning 123bde

# Enable all checks (very comprehensive)
nikto -h http://example.com -Tuning x

# Scan multiple hosts from file
nikto -h hosts.txt

# Limit to specific checks
nikto -h http://example.com -Plugins "apache_expect_xss"

# Update plugin database
nikto -update

# Display available plugins
nikto -list-plugins

Tuning Options:

  • 0: File Upload
  • 1: Interesting File/Seen in logs
  • 2: Misconfiguration/Default File
  • 3: Information Disclosure
  • 4: Injection (XSS/Script/HTML)
  • 5: Remote File Retrieval (Inside Web Root)
  • 6: Denial of Service
  • 7: Remote File Retrieval (Server Wide)
  • 8: Command Execution/Remote Shell
  • 9: SQL Injection
  • a: Authentication Bypass
  • b: Software Identification
  • c: Remote Source Inclusion
  • d: WebService
  • e: Administrative Console
  • x: Reverse Tuning (exclude specified)

4. Output and Reporting

Generate scan reports:

bash
# Output to text file
nikto -h http://example.com -o results.txt

# Output to HTML report
nikto -h http://example.com -o results.html -Format html

# Output to CSV
nikto -h http://example.com -o results.csv -Format csv

# Output to XML
nikto -h http://example.com -o results.xml -Format xml

# Multiple output formats
nikto -h http://example.com -o results.txt -Format txt -o results.html -Format html

5. Performance Tuning

Optimize scan performance:

bash
# Increase timeout (default 10 seconds)
nikto -h http://example.com -timeout 20

# Limit maximum execution time
nikto -h http://example.com -maxtime 30m

# Use specific HTTP version
nikto -h http://example.com -vhost example.com

# Follow redirects
nikto -h http://example.com -followredirects

# Disable 404 guessing
nikto -h http://example.com -no404

# Pause between tests
nikto -h http://example.com -Pause 2

6. Evasion and Stealth

Evade detection (authorized testing only):

bash
# Use random User-Agent strings
nikto -h http://example.com -useragent random

# Inject random data in requests
nikto -h http://example.com -evasion 1

# Use IDS evasion techniques
nikto -h http://example.com -evasion 12345678

# Pause between requests
nikto -h http://example.com -Pause 5

# Use session cookies
nikto -h http://example.com -cookies "session=abc123"

Evasion Techniques:

  • 1: Random URI encoding
  • 2: Directory self-reference (/./)
  • 3: Premature URL ending
  • 4: Prepend long random string
  • 5: Fake parameter
  • 6: TAB as request spacer
  • 7: Change case of URL
  • 8: Use Windows directory separator ()

Security Considerations

Authorization & Legal Compliance

  • Written Permission: Obtain explicit authorization for web server scanning
  • Scope Verification: Only scan explicitly authorized hosts and ports
  • Detection Risk: Nikto is noisy and will trigger IDS/IPS alerts
  • Production Impact: Scans may impact server performance
  • Log Flooding: Nikto generates extensive log entries

Operational Security

  • Rate Limiting: Use -Pause to reduce server load
  • Scan Windows: Perform scans during approved maintenance windows
  • Session Management: Use -maxtime to limit scan duration
  • Proxy Usage: Route through authorized proxy if required
  • User-Agent: Consider using custom User-Agent for tracking

Audit Logging

Document all Nikto scanning activities:

  • Target hosts and ports scanned
  • Scan start and end timestamps
  • Tuning options and plugins used
  • Findings and vulnerability counts
  • False positives identified
  • Remediation priorities
  • Report delivery and recipients

Compliance

  • OWASP ASVS: V14 Configuration Verification
  • NIST SP 800-115: Technical Guide to Information Security Testing
  • PCI-DSS: 6.6 and 11.3 - Vulnerability scanning
  • CWE: Common Weakness Enumeration mapping
  • ISO 27001: A.12.6 - Technical vulnerability management

Common Patterns

Pattern 1: External Perimeter Assessment

bash
# Scan external web servers
for host in web1.example.com web2.example.com; do
  nikto -h https://$host -o nikto_${host}.html -Format html
done

# Scan common web ports
nikto -h example.com -p 80,443,8080,8443 -o external_scan.txt

Pattern 2: Internal Web Application Assessment

bash
# Comprehensive internal scan
nikto -h http://intranet.local \
  -Tuning 123456789abcde \
  -timeout 30 \
  -maxtime 2h \
  -o internal_assessment.html -Format html

Pattern 3: SSL/TLS Security Assessment

bash
# SSL-specific testing
nikto -h https://example.com \
  -Plugins "ssl" \
  -ssl \
  -o ssl_assessment.txt

Pattern 4: Authenticated Scanning

bash
# Scan with authentication
nikto -h http://example.com \
  -id admin:password \
  -cookies "sessionid=abc123" \
  -Tuning 123456789 \
  -o authenticated_scan.html -Format html

Pattern 5: Bulk Scanning

bash
# Create host file
cat > web_servers.txt <<EOF
http://web1.example.com
https://web2.example.com:8443
http://web3.example.com:8080
EOF

# Scan all hosts
nikto -h web_servers.txt -o bulk_scan.csv -Format csv

Integration Points

CI/CD Integration

bash
#!/bin/bash
# ci_nikto_scan.sh - Automated web security scanning

TARGET_URL="$1"
OUTPUT_DIR="nikto_results/$(date +%Y%m%d_%H%M%S)"

mkdir -p "$OUTPUT_DIR"

# Run Nikto scan
nikto -h "$TARGET_URL" \
  -Tuning 123456789 \
  -maxtime 30m \
  -o "$OUTPUT_DIR/nikto_report.xml" -Format xml

# Check for critical findings
if grep -i "OSVDB" "$OUTPUT_DIR/nikto_report.xml"; then
  echo "CRITICAL: Vulnerabilities detected!"
  exit 1
fi

echo "Scan completed successfully"
exit 0

SIEM Integration

bash
# Export findings to JSON for SIEM
nikto -h http://example.com -o findings.xml -Format xml

# Parse XML to JSON (requires xmlstarlet or similar)
xmlstarlet sel -t -m "//item" -v "concat(@id,',',description,','
,uri)" -n findings.xml > findings.csv

Troubleshooting

Issue: Scan Takes Too Long

Solutions:

bash
# Limit scan duration
nikto -h http://example.com -maxtime 15m

# Reduce tuning scope
nikto -h http://example.com -Tuning 123

# Disable 404 checking
nikto -h http://example.com -no404

Issue: SSL/TLS Errors

Solutions:

bash
# Force SSL
nikto -h example.com -ssl -p 443

# Ignore SSL certificate errors
nikto -h https://example.com -ssl -nossl

# Specify SSL version
nikto -h https://example.com -ssl

Issue: Too Many False Positives

Solutions:

  • Manually verify findings
  • Use -Tuning to focus on specific vulnerability types
  • Review and update Nikto database with -update
  • Exclude known false positives from reports

Issue: WAF Blocking Scans

Solutions:

bash
# Use evasion techniques
nikto -h http://example.com -evasion 1234567

# Add delays
nikto -h http://example.com -Pause 10

# Use custom User-Agent
nikto -h http://example.com -useragent "legitimate-browser-string"

Defensive Considerations

Protect web servers against Nikto scanning:

Web Application Firewall Rules:

  • Detect and block Nikto User-Agent strings
  • Implement rate limiting
  • Block known Nikto attack patterns
  • Monitor for scan signatures

Server Hardening:

  • Remove default files and directories
  • Disable directory listing
  • Remove server version banners
  • Apply security patches regularly
  • Follow CIS benchmarks for web server hardening

Detection and Monitoring:

  • Monitor for rapid sequential requests
  • Alert on multiple 404 errors from single source
  • Detect common vulnerability probes
  • Log and correlate scan patterns
  • Implement honeypot files/directories

Common Nikto detection signatures:

  • User-Agent contains "Nikto"
  • Requests to known vulnerable paths
  • Sequential URI enumeration
  • Specific HTTP header patterns

References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Webapp Nikto」では何ができますか?

セキュリティ上の問題、設定ミス、古いソフトウェアバージョンを特定するWebサーバー脆弱性スキャナーです。次の用途に使用します:(1)許可を得たWebサーバーのセキュリティ評価、(2)一般的なWeb脆弱性と設定ミスの特定、(3)古いサーバーソフトウェアと既知の脆弱性の検出、(4)Webサーバーのセキュリティ強化に向けたコンプライアンススキャン、(5)Webサーバーの情報と有効な機能の列挙、(6)セキュリティ制御とパッチ適用状況の検証。

TypingMindでWebapp Niktoを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Webapp Niktoはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにWebapp Niktoをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AgentSecOps/SecOpsAgentKit/tree/main/skills/offsec/webapp-niktoを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Webapp Niktoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Webapp Niktoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもWebapp Niktoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Webapp Nikto」は無料ですか?

AgentSecOpsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇