Home > Step 4: More complicated Google queries
Step-by-Step Guide:
EMAIL THIS

Step 4: More complicated Google queries

20 Oct 2005

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

OK, enough of the amateur stuff. If the random searches that I described in the last paragraph didn't turn up anything, then it's time to use a more focused search. A lot of people don't realize it, but there are a lot of different mechanisms built into Google that you can use to fine tune your search. There isn't one single page that lists all of the Google search mechanisms, but you can read about most of them at: http://www.google.com/help/refinesearch.html and at http://www.google.com/help/operators.html.

The first Google search mechanism that I want to introduce you to is the site query. Let's pretend that I had bought something from your Web site and that my name was therefore included on your customer list. That being the case, you decided to do a Google search against my name; Brien Posey. I have developed a fair amount of content for the Web, and when I performed a Google query against my own name, I received 407,000 results. There is no way that I am going to take the time to scroll through 407,000 results to see if any of the results come from a specific Web site. Fortunately, Google can do this for you. The site query tool allows you to filter the results based on domain. Let's say for example that I only wanted to see pages containing my name that came from the techtarget.com domain. To do so, I would enter my name followed by the word site, a colon, and the domain of choice (in this case techtarget.com). When I run the query, I go from receiving 408,000 results to a mere 748 results.

Brien Posey site:techtarget.com

Of course I am getting 748 results because I have written a whole lot of articles for TechTarget. If I was one of your customers and you were trying to see if my name showed up on your Web site, then hopefully you wouldn't get any results. If you don't get any results, then I don't recommend just stopping and assuming that your site is safe after performing a single query though. Try searching on other items from your customer list or from Web pages that customers should never see, just to see if anything comes up.

Earlier, I mentioned that you may have pages within your site that the public should never see, and that you should get a list of those pages. Hopefully, you have the filenames that make up those pages. If you have a list of the filenames of the pages that should never be seen by the public, you can do a search to see if Google has any knowledge of those pages within your site. The easiest way to do this is to use the INURL tool in conjunction with the SITE tool.

The INURL tool allows you to find pages that contain the search term in the page's URL. Let's say for example that you decided that your site's administrative console should never be seen by the public, and that the console's filename was ADMIN.ASP. You could do an INURL search against the word admin. This would show you pages that have the word admin in the URL. Of course you will still want to use the SITE tool as well so that you are only looking at results from your domain. After all, Google lists almost 50,000 results for pages that have the word admin in the URL.

So let's say that you wanted to search for pages with the word admin in the URL on a site named yoursite.com. That Google query would look something like this:

Inurl: admin site:yoursite.com


Google hacking to test your security

 Home: Introduction
 Step 1: Identify what could be Google hacked
 Step 2: Understand your Web applications
 Step 3: Queries to Google hack your site -- Simple stuff
 Step 4: More complicated Google queries
 Step 5: Harden your Web site against Google hacks


More information from SearchWindowsSecurity.com

  • Learning Center: Google hack Windows servers
  • Tip: Google your Windows security vulnerabilities

  • ABOUT THE AUTHOR:
    Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. He has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer, he has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit his personal Web site at www.brienposey.com.
    Copyright 2005 TechTarget


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Endpoint security management tools
    MDOP for Windows 7 available now
    Microsoft's Online Desktop Manager caters to small IT shops
    Monitoring user activity with network analyzers
    Using third-party technologies with Microsoft's NAP
    Understanding Microsoft's NAP's internal and external components
    Microsoft's NAP can ensure security compliance
    Top 5 registry keys for Windows XP
    Microsoft releases WSUS 3 SP2 with Win 7, R2 support
    Using System Center Essentials as a patch management tool
    Troubleshooting Microsoft WSUS connectivity issues

    Microsoft Internet Explorer (IE)
    Admins can wear many hats using Netcat
    Patching third-party browsers adds more work in Windows shops
    Four Internet Explorer 8 Group Policy security settings
    Safe enterprise Web browsing: Five tips in five minutes
    Top client security tips of 2006
    General security configuration: Step 1
    Protection against international domain names, URL handling: Step 3
    ActiveX opt-ins, information bar and cross-domain protection: Step 4
    Windows Vista and IE7: Step 5
    Phishing filter: Step 2

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    system tray  (SearchEnterpriseDesktop.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary




    Windows Admin Solutions - User Management, Application Management, Windows Deployments
    HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts