top of page

Nmap brute 指令與參數:http-iis-short-name-brute

8月21日
讀畢需時 2 分鐘

指令摘要


嘗試暴力破解根目錄中 8.3 檔名(通常稱為短名稱) 這些都存在於易受攻擊的 IIS 伺服器中。此腳本是 PoC「iis shortname scanner」的實作。


腳本使用 ~,?以及 * 用來暴力破解 IIS 文件根中存在的檔案短名稱。 短名稱限制為 6 字元的檔名,後面有 3 字元的副檔名。


備註:

根據原作者說,劇本可能得播兩次。

測試時是針對 IIS 6.0 和 5.1。


參考資料:


指令參數


slaxml.debug

請參閱 slamxml 函式庫的文件。


http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

請參閱 http 函式庫的文件。


smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

請參閱 smbauth 函式庫的文件。


vulns.short, vulns.showall

請參閱 Vulns 函式庫的文件。


指令範例


nmap -p80 --script http-iis-short-name-brute <target>

指令輸出


PORT STATE SERVICE

80/tcp open http

| http-iis-short-name-brute:

| VULNERABLE:

| Microsoft IIS tilde character "~" short name disclosure and denial of service

| State: VULNERABLE (Exploitable)

| Description:

| Vulnerable IIS servers disclose folder and file names with a Windows 8.3 naming scheme inside the webroot folder.

| Shortnames can be used to guess or brute force sensitive filenames. Attackers can exploit this vulnerability to

| cause a denial of service condition.

|

| Extra information:

|

| 8.3 filenames found:

| Folders

| admini~1

| Files

| backup~1.zip

| certsb~2.zip

| siteba~1.zip

|

| References:


作者:


Jesper Kueckelhahn Paulino Calderon

License: Same as Nmap--See https://nmap.org/book/man-legal.html


隨選即看研討會


延伸閱讀

CyberScope Nmap 滲透測試手持式網路分析儀,整合了 Nmap 功能,為站點存取層提供全面的網路安全風險評估、分析、和報告——包括所有的端點和網路探索、有線與無線網路安全、漏洞評估 (Nmap) 以及網段和設定驗證;IT 人員透過單一工具以及單一介面,即可快速且即時的掌握企業或組織的各種混合式網路環境 (有線、無線、PoE)、各種連網終端裝置的拓樸、架構、設定、網段、效能、直到網路安全評估。


歡迎 訂閱翔宇科技主題式電子報 >,您將可同步掌握最新的產業新訊以及技術文章。
bottom of page