πŸ““
Sfoffo - Pentesting Notes
View on GitHub
  • 🏠/home/sfoffo/.pt-notes
  • 🏳️Contributions
    • 2024 Contributions
      • CVE-2024-42845
      • CVE-2024-41819
      • CVE-2024-41943
      • CVE-2024-50344
  • πŸ€Support this Project
  • πŸ“‚Active Directory
    • Initial Access
    • Internal Enumeration & Lateral Movement
    • Privilege Escalation to Domain Admin using Known Exploits
    • Domain Trusts
  • 🐧Linux Privilege Escalation
    • Enumerating Attack Vectors
    • Privileged Groups
    • Environment Variables Abuse
    • Capabilities Abuse
    • Programs, Jobs and Services
    • Miscellaneous Techniques
    • Recent CVEs
  • πŸͺŸWindows Privilege Escalation
    • Enumerating Attack Vectors
    • Excessive User Rights Abuse
    • Built-in Groups Abuse
    • File System ACLs
    • Services Hijacking
    • User Account Control (UAC) Bypass
    • Living off the Land
  • πŸ›Bug Bounty Hunting
    • Bug Bounty Tools
  • πŸ•ΈοΈWeb Applications
    • Web Attacks
      • Cross Site Scripting (XSS)
      • SQL Injection (SQLi)
      • File Upload Vulnerabilities
      • Insecure Direct Object References (IDOR)
      • OS Command Injection
      • Local File Inclusion (LFI)
      • Remote File Inclusion (RFI)
      • XML External Entities (XXE)
      • HTTP Verb Tampering
    • Web Technologies
      • Tomcat
      • CGI Applications
      • WordPress
      • WebDav
      • Microsoft IIS
      • SAP Netweaver
      • Joomla
      • Drupal
      • Gitlab
      • Jenkins
      • osTicket
      • PRTG Network Monitor
      • Splunk
    • Fuzzing
  • πŸ”Information Gathering
  • πŸ“œProtocols and Services
    • DNS
    • FTP
    • IMAP
    • IPMI
    • MSSQL
    • MySQL
    • NFS
    • Oracle TNS
    • POP3
    • RDP
    • SMB
    • SMTP
    • SNMP
  • πŸ‘ΎUtilities, Scripts and Payloads
    • Shells and Payloads
    • Metasploit Framework
    • File Transfers
    • Pivoting, Tunneling, Port Forwarding
    • Password Attacks
Powered by GitBook
On this page
  • Introduction
  • Microsoft IIS Tilde Enumeration
  • IIS Tilde Automatic Enumeration

Was this helpful?

Edit on GitHub
  1. Web Applications
  2. Web Technologies

Microsoft IIS

Introduction

  • Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web.

  • From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.


Microsoft IIS Tilde Enumeration

  • IIS tilde directory enumeration is a technique utilised to uncover hidden files, directories, and short file names on some versions of Microsoft Internet Information Services (IIS) web servers.

  • This method takes advantage of a specific vulnerability in IIS, resulting from how it manages short file names within its directories.

  • The tilde (~) character, followed by a sequence number, signifies a short file name in a URL.

  • Hence, if someone determines a file or folder's short file name, they can exploit the tilde character and the short file name in the URL to access sensitive data or hidden resources.

  • Assume the server contains a hidden directory named SecretDocuments.

  • When a request is sent to http://example.com/~s, the server replies with a 200 OK status code, revealing a directory with a short name beginning with "s".

  • The enumeration process continues by appending more characters

  • Manually sending HTTP requests for each letter of the alphabet can be a tedious process.

  • Fortunately, there is a tool called IIS-ShortName-Scanner that can automate this task.


IIS Tilde Automatic Enumeration

IIS ShortName Scanner:

  • Note: to use IIS-ShortName-Scanner, you will need to install Oracle Java.

Others:

Last updated 1 month ago

Was this helpful?

GitHub Resource:

Refer to:

- Useful to generate ad-hoc custom wordlists containing filename guesses

πŸ•ΈοΈ
https://github.com/irsdl/IIS-ShortName-Scanner
https://ubuntuhandbook.org/index.php/2022/03/install-jdk-18-ubuntu/
https://github.com/sw33tLie/sns
https://github.com/bitquark/shortscan
https://github.com/nemmusu/iis_gen