
VanquishはKali Linuxベースの列挙オーケストレーターです。VanquishはKali上のオープンソースの列挙ツールを活用し、複数の能動的情報収集フェーズを実行します。
Vanquishは、Kali Linuxベースの列挙オーケストレーターでPythonで構築されています。VanquishはKali上のオープンソースの列挙ツールを活用して、複数のアクティブな情報収集フェーズを実行します。各フェーズの結果は次のフェーズに投入され、リモートシェルを獲得するために利用できる脆弱性を特定します。
Vanquishが他の列挙スクリプトと比べて特に優れている点は何でしょうか?
VanquishはKali Linux上で以下のコマンドを使用してインストールできます。
git clone https://github.com/frizb/Vanquish
cd Vanquish
python Vanquish2.py -install
vanquish --help
Vanquishがインストールされると、Kali Linuxのベスト・オブ・ブリードツールを活用してホストをスキャンできます。
echo 192.168.126.133 >> test.txt
vanquish -hostFile test.txt -logging
echo 結果を確認しましょう!
cd test
cd 192_168_126_133
ls -la
| NMap | Hydra | Nikto | Metasploit | | Gobuster | Dirb | Exploitdb | Nbtscan | | Ntpq | Enum4linux | Smbclient | Rpcclient | | Onesixtyone | Sslscan | Sslyze | Snmpwalk | | Ident-user-enum | Smtp-user-enum | Snmp-check | Cisco-torch | | Dnsrecon | Dig | Whatweb | Wafw00f | | Wpscan | Cewl | Curl | Mysql | Nmblookup | Searchsploit | | Nbtscan-unixwiz | Xprobe2 | Blindelephant | Showmount |
CTRL + C
CTRL + Cで列挙フェーズを終了し、次のフェーズにスキップします(コマンドの実行に時間がかかりすぎる場合に便利です)。 Vanquishは、出力ファイルが既に存在する場合、そのコマンドの再実行をスキップします。 コマンドを再実行したい場合は、出力ファイル(.txt、.xml、.nmapなど)を削除してからVanquishを再度実行してください。
CTRL + Z
CTRL + ZでVanquishを終了します。
再開モード
Vanquishは、出力ファイルが既に存在する場合、そのコマンドの再実行をスキップします。
列挙コマンドの再実行
コマンドを再実行したい場合は、出力ファイル(.txt、.xml、.nmapなど)を削除してからVanquishを再度実行してください。
Command Line Arguments
usage: vanquish [-h] [-install] [-outputFolder folder] [-configFile file]
[-attackPlanFile file] [-hostFile file] [-workspace workspace]
[-domain domain] [-dnsServer dnsServer] [-proxy proxy]
[-reportFile report] [-noResume] [-noColor]
[-threadPool threads] [-phase phase] [-noExploitSearch]
[-benchmarking] [-logging] [-verbose] [-debug]
Vanquish is Kali Linux based Enumeration Orchestrator.
optional arguments:
-h, --help show this help message and exit
-install Install Vanquish and it's requirements
-outputFolder folder output folder path (default: name of the host file))
-configFile file configuration ini file (default: config.ini)
-attackPlanFile file attack plan ini file (default: attackplan.ini)
-hostFile file list of hosts to attack (default: hosts.txt)
-workspace workspace Metasploit workspace to import data into (default: is
the host filename)
-domain domain Domain to be used in DNS enumeration (default:
megacorpone.com)
-dnsServer dnsServer DNS server option to use with Nmap DNS enumeration.
Reveals the host names of each server (default: )
-proxy proxy Proxy server option to use with scanning tools that
support proxies. Should be in the format of ip:port
(default: )
-reportFile report filename used for the report (default: report.txt)
-noResume do not resume a previous session
-noColor do not display color
-threadPool threads Thread Pool Size (default: 8)
-phase phase only execute a specific phase
-noExploitSearch disable searchspolit exploit searching
-benchmarking enable bench mark reporting on the execution time of
commands(exports to benchmark.csv)
-logging enable verbose and debug data logging to files
-verbose display verbose details during the scan
-debug display debug details during the scan
GoBuster Max
GoBuster Maxは、すべてのWebアプリケーションコンテンツ検出辞書をターゲットに対して実行する攻撃計画です。
Vanquish -hostFile test.txt -attackPlanFile ./attackplans/gobuster-max.ini -logging
Hydra認証情報スキャナー
ユーザーは複数のシステム間でパスワードを使い回すのが大好きです。ネットワークを探索し、ユーザー名とパスワードを収集するにつれて、それらのユーザー名とパスワードが他にどこで使われているかを確認するのは良いアイデアです。この攻撃計画はまさにそれを、単一ホストまたはネットワーク全体に対して行います。攻撃計画はまた、以前のスキャンからネットワークについて学んだことを活用し、発見されたサービスを自動的に認証情報テストの一部として使用します。
この攻撃は、ネットワークの既知の認証情報のリストを使用し、発見されたすべてのホストとサービスに対してそれらをテストします。
認証情報はスキャンパスのルートにあるファイルに保存し、名前をcredentials.txtにしてください。
例:ホストリストを含むファイル:/root/Documents/Vanquish/myhosts.txt
/root/Documents/Vanquish/myhosts/credentials.txt
既知の各認証情報は、テキストファイル内にusername:password形式で保存します。
例:credentials.txt
elvis:Password!
jamesdean:rockyou
justin:12345678
注:この攻撃計画は >> <output>.txt ファイルを作成しないため、出力ファイルを削除することなく繰り返し実行できます。これにより、新しい認証情報をリストに追加し、ネットワークを頻繁に再スキャンできます。
python Vanquish2.py -hostFile hostlist.txt -attackPlanFile ./attackplans/credentials.ini
Hydraユーザー名とパスワードリストスキャナー
この攻撃は、ネットワークの既知のユーザー名のリストと既知のパスワードのリストを使用し、発見されたすべてのホストとサービスに対してそれらをテストします。
ユーザー名はスキャンパスのルートにあるファイルに保存し、名前をusernames.txtにしてください。
例:ホストリストを含むファイル:/root/Documents/Vanquish/myhosts.txt
/root/Documents/Vanquish/myhosts/usernames.txt
パスワードはスキャンパスのルートにあるファイルに保存し、名前をpasswords.txtにしてください。
例:ホストリストを含むファイル:/root/Documents/Vanquish/myhosts.txt
/root/Documents/Vanquish/myhosts/passwords.txt
各ユーザー名またはパスワードはテキストファイルの新しい行に保存します。 例:usernames.txt
elvis
jamesdean
justin
パスワードも同様にpasswords.txtファイルに保存します。
注:この攻撃計画は >> <output>.txt ファイルを作成しないため、出力ファイルを削除することなく繰り返し実行できます。これにより、新しい認証情報をリストに追加し、ネットワークを頻繁に再スキャンできます。
python Vanquish2.py -hostFile hostlist.txt -attackPlanFile ./attackplans/usernamespasswords.ini