Hacking With The Google Search Engine

Google: Yes, You Can Find Just About Anythingyou never know what you may find.More Complex
------------Search Queries
Hackers and security experts use various custom------------
and openThe Google Search Engine supports very complex
source tools to complete their tasks. In fact, one ofquery types.
theFor instance, if you were to construct a query like
tools they use you probably use every time you""parent
browse thedirectory " Gamez -xxx -html -htm -php -shtml
web, the Google Search Engine.I remember the first-opendivx -md5
time I used the Google Search Engine-md5sums", the query would result in lists upon list of
years ago. I was amazed at how quickly it fulfilled mysystems that have a /Gamez directory off the root
search request. Google's huge index of systems /of the
information and it's ability to perform complex"parent directory" of the web server. Or, to locate
searchesmusic
have evolved over the years. When we performedfiles of type mp3 you could issue a query like
security"intitle:index.of mp3 (name of band/song)".The bottom
assessments and penetration test, we regularly useline here is that it is possible to locate very
Google tospecific types of files. It is also possible to perform
locate information that organizations typically want toqueries for inline passwords from various search
keepengines by
private and confidential.The reason for me writing thisperforming a query similar to " Else Can Be Found
article is to give youWith Google Search Queries
several examples of basic and complex Google------------
search termsOne of the things we do when we are performing a
and queries. As a disclaimer, it is not my intention thatsecurity
you use this information to invade the privacy ofassessment is perform a quick review of the various
someoneweb
else or access data and files on systems that do notservers to determine what types of scripting is being
belongused.
to you. It is strictly educational information and a wayFor instance, a lot of people use PHP code to create
todynamic
make people more aware of what kind of informationcontent. Many people install PHP example code and
they mayadministrative tools to help them manage their site.
be exposing to the rest of the world.Using Google ToUnfortunately, most of the time these files are not
Locate Password Filessecured
------------and contain login ID's and passwords. We then use
One of the most common remote web authoringGoogle
tools issearch queries to locate these specific files on the
Microsoft's Front Page. Front page extensions andservers
WebDav,in question. I'd say we are successful in finding files like
the services on the web server that allow you to
remotelythese that help us gain access to systems
connect and author web pages, can be configuredapproximately 60%
with aof the time.We recently learned of a financial institution
certain degree of security. However, in certainthat was
configurations, the userID and password are stored intaking credit card information from one of their
localpartners
files on the server. Using a Google query, you canusing a web based upload service on their primary
easilyweb
locate thousands of these files and dump theserver. The problem was this file was being indexed
contents.The query form is quite simple:by the
"inurl:(filename).pwd",Microsoft Index Service, the information was being
where (filename) is the name of the .pwd file. Thisspidered
queryby search engines, and the file itself did not have
can be expanded to be very specific and target aeffective security permissions on it. The result, the file
specificwas indexed by Google and someone performing a
site by using a command to search for a specific siteGoogle query
orfound it and was able to open it in the browser,
domain. The results of a specific search like this wouldrevealing
hundreds of credit card numbers, names, and other
list hundreds if not thousands of these files that wouldpersonal
information. This happens all the time.Conclusion
contain something like "# -FrontPage-------------
dmiller:I1KEaH1TZqxEw". Basically dumping the userIDThe Google Search Engine is a powerful tool that can
andbe used
password.This type of basic query can be used toby people with ill intentions just as it can be used for
find all kinds ofbasic web searching. If you are setting up a web
interesting information such as using the "intitle:"indexserver at
of" (name of directory you want to locate)" which nothome or the office, you need to understand that you
onlymay be
reveals many web directory structures of "index of/",publishing information on the web that no one but you
itshould
also reveals how many web servers on the Internetsee. This could include financial files, credit card
do notinformation, and other private / personal information.
have even the most basic forms of permissions andThere
directoryis a lot more to setting up a "secure" site than just
security. You will find that once you access afollowing the Microsoft setup wizards.You may reprint
particularor publish this article free of charge as long as the
directory, that you can then move up the directorybylines are included.
tree and