安全软件
点击放大

IIS Short Name Scanner - 2012-2023 & Still Giving...
=====================
Latest presentation:
* Beyond Microsoft IIS Short File Name Disclosure
Latest blog post:
*
I recommended e to try 's new tool in Go before trying this old tool:
The latest of scanner for IIS short file name (8.3) disclosure by using the tilde (~) character. This issue has been discovered in 2010 but has been e a few times since.
This is an old tool and the code is a spaghetti, but it is capable to tackle even the latest IIS (IIS 10 on Windows Server 2022 at the time of writing this)! It has recently been updated, so it can support sending custom HTTP methods without reflection hacks in Ja, some awesome researchers ha to reimplement this tool using other technologies such as in Go, and when they become mature, they probably work better than this.
Description
-------------
Microsoft IIS contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered during the parsing of a request that contains a tilde character (~). This may allow a remote attacker to gain access to file and folder name information.
This scanner was moved from to GitHub for better support.
Original research file:
It is possible to detect short names of files and directories which have an 8.3 equi in Windows by using some in several of Microsoft IIS. For instance, it is possible to detect all short-names of ".aspx" files as they have 4 letters in their extensions.
Note: new techniques have been introduced to the latest of this scanner, and it can now scan IIS10 when it is .
It is not easy to find the original file or folder names based on the short names. However, the following methods are recommended as examples:
Installation
--------------
The recent has been compiled by using Open JDK 18 (the old jar files for other JDKs have been removed but can be found in the Git history).
You will need to download files in the /release directory to use this old application!
You can also compile this application yourself. Please submit any issues in GitHub for further in.
Usage
-------
USAGE 1 (To if the target is with the default config file):
USAGE 2 (To find 8.3 file names with the default config file):
USAGE 3 (To if the target is with a new config file):
USAGE 4 (To find 8.3 file names with a new config file):
USAGE 5 (To scan multiple targets using a linux box):
DETAILS:
Examples:
Note 1: Edit config.xml file to change the scanner settings and add additional headers.
Note 2: Sometimes it does not work for the first time, and you need to try again.
How Does It Work?
------------------
In the following examples, IIS responds with a different message when a file exists:
However, different IIS servers may respond differently, and for instance some of them may work with the following or other similar patterns:
Method of sending the request such as GET, POST, OPTIONS, DEBUG, ... is also important.
I belie the requests by using a proxy is the best way of understating this issue and this scanner.
How To Fix This Issue
----------------------
Microsoft will not patch this security issue. Their last response is as follows:
Therefore, it is recommended to deploy IIS with 8.3 names disabled by creating the following registry key on a Windows operating system:
Note: The web folder needs to be recreated, as the change to the NtfsDisable8dot3NameCreation registry entry affects only files and directories that are created after the change, so the files that already exist are not affected.
Docker Usage
------------
build the image:
file mode:
single mode:
o config file:
References
------------
Research links:
*
*
* (old original research)
Website Reference:
*
Video Links:
* at SteelCon 2023
* by shubs ()
*
Other links:
*
*
*
开发语言:Java
Star 数:1697
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕latest version of scanners for IIS short filename (8.3) disclosure vulnerability展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | IIS-ShortName-Scanner - latest version of scanners for IIS short filename |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:33:15 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 123 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |