In this article, I would like to discuss about Google Hacking.
WHAT IS GOOGLE HACKING?
Google Hacking is the term used when a hacker tries to seek vulnerabilities of a system and its sensitive data by using Google search engines. In Google search engine, the queries that help to filter the results (sensitive data) from a search line store in Google Hacking Database. Although Google blocks some of their famous hacking queries, hacker is still able to attack a website by launching the Google Hacking Database queries.
Google Hacking Database is able to identify these below information:
- Advisories and server vulnerabilities
- Error messages that contain too much information
- Files that contain unencrypted passwords
- Sensitive directories which should never show to outsider
- Pages that contain login portals
WHAT ARE COMMON KEYWORDS IN A GOOGLE SEARCH QUERY?
allintext - occurrences of all the keywords given
intext - occurrences of keywords all at once or one at a time
inurl - a URL matching one of the keywords
allinurl - a URL matching all the keywords in the queryi
intitle - occurrences of keywords in URL
allintitle - occurrences of keywords all at a time
site - a particular site and lists all the results for that site
filetype - a particular filetype in the query
link - external links to pages
numrange - specific numbers in your searches
daterange - a particular date range
Some Sample Simple Google Search Queries:
intext:@gmail.com filetype:xls
Spammer can use Google to troll email addresses across the Internet. A huge list of emails is that they need in succeeding their goals.
inurl:group_concat(username, filetype:php intext:admin
As above, hackers are able to hack some of the SQL injection results that other users made on the sites. Unfortunately, username and password combinations are still in a search result.
After that the md5 hash might be easily cracked by using any simple tool. The combination is bcheramy : 130270
HOW TO PREVENT GOOGLE HACKING ATTACKS?
First, we should verify the pages that identified by Google hacking queries. If pages provide information that could not be found on the website, we should remove such pages from the site. However, if site requires these pages, we should re-arrange them and their wording so that they are not indexed and detected by Google hacking queries.
References:
1. Google Hacking:
http://www.acunetix.com/websitesecurity/google-hacking/
2. Google Hacking Database (GHDB)
http://www.hackersforcharity.org/ghdb/










