The concept of “Google Hacking” dates back to 2002, when Johnny Long began to collect interesting Google search queries that uncovered vulnerable systems and/or sensitive information disclosures – labeling them “Google Dorks”. some people call it google hacking.

In my opinion A Google dork is an employee who unknowingly exposes sensitive corporate information on the Internet.
As a passive attack method, Google dorking can return usernames and passwords, email lists, sensitive documents, personally identifiable financial information (PIFI) and website vulnerabilities.

That information can be used for any number of illegal activities, including cyberterrorism, industrial espionage,identity theft and cyberstalking.

Earlier this year, a cyberattack by suspected Iranian hackers made headlines when they used a simple technique called Google Dorking to access the computer system that controlled a water dam in New York. Google Dorking is readily available and has been used by hackers for many years to identify vulnerabilities and sensitive information accessible on the Internet.

Google Dorking, however, isn’t as simple as performing a traditional online search. It uses advanced operators in the Google search engine to locate specific information (e.g., version, file name) within search results. The basic syntax for using an advanced operator in Google is Operator_name: keyword.

The use of advanced operators in Google is referred to as “Dorking” and the strings themselves are called “Google Dorks.” Dorks can be as basic as just one string, or they can be a more complex combination of multiple advanced operators in a single search string. Each Dork has a special meaning to the Google search engine that enables hackers and others to filter out unwanted results and significantly narrow down search results. For example, Google Dorks can be used to find administrator login pages, user names and passwords, vulnerabilities, sensitive documents, open ports, email lists, bank account details, and more.

OPERATORS

 Google dorks also has its operators, I will not be able to show all operators but here are the most commonly used Operators.

Lets take a look at the special google search operators that are used to construct those high powered google hack search terms.

intitle

 Specifying intitle, will tell google to show only those pages that have the term in their html title. For example intitle:”login page” will show those pages which have the term “login page” in the title text.

allintitle

Similar to intitle, but looks for all the specified terms in the title.

inurl

Searches for the specified term in the url. For example inurl:”login.php”.

allinurl

Same as inurl, but searches for all terms in the url.

filetype
Searches for specific file types. filetype:pdf  will looks for pdf files in websites. Similarly filetype:txt looks for files with extension .txt
 
ext

Similar to filetype. ext:pdf finds pdf extension files.

intext

Searches the content of the page. Somewhat like a plain google search. For example intext:”index of /”.
 
allintext

Similar to intext, but searches for all terms to be present in the text.

site
Limits the search to a specific site only. site:cyberhackersz.tk
THE FORMULA OF GOOGLE DORKS

Dorks : They are like search criteria in which a search engine returns results related to your dork.
The process can be a little time consuming, but the outcome will be worth it after learning on how to use dorks.

Basic Formula of dork,

“inurl:.”domain”/”dorks” “
So you would normally understand it like this:
“inurl” = input URL
“domain” = your desired domain ex. .gov
“dorks” = your dork of your choice

Here is another example of that
You can use following words instead of inurl :
intitle:
inurl:
intext:
define:
site:
phonebook:
maps:
book:
froogle:
info:
movie:
weather:
related:
link:
All these also help yo find other things then vulnerables.

Anyway now I am going to explain you how to use some for finding vulnerability in websites.

INTITLE:
You can use the intitle to find anything in the title of the website. Which also could be usefull to find downloads or anything else.
intitle: index of mp3
This is an example to download mp3 songs for free.

INURL:
The inurl basicly looks for anything after the : in the site urls.
inurl:index.php?id=
INTEXT:
you can find literally everything using intext, you could even use the inurl dorks whit this.
intext:”Design & Developed By Seawind Solution Pvt.Ltd.”
Google will give you all the websites created by IT Masons taht recently has bypass Admin Page Vulnerability in some websites,
to try just choose a target from google and add this to the url /adminpanel/
And fill username and password like the information below :
Username : ‘=’ ‘OR’
Password : ‘=’ ‘OR’
and you will get the admin panel of the website some example:
http://www.vulnerablewebsite.com/adminpanel/index.php

DEFINE
Google will define this massage and will look for what had this error for example,
define:”sql syntax error”

SITE:
Obvious, when we will use it, google will looks for a site .
site:cyberhackersz.tk
Google will look for any site related with cyberhackersz.

PHONEBOOK:
It will look for the phone number related to me, so use your victims name or yours instead.
phonebook:Mr Ayush Saini

MAPS:
Google will look on google maps for your search.

BOOKS:
Google has an online library store. If you want to find interesting books use this dork.
book:java language
This will look for any book google has indexed whith java language in it.

FROOGLE:
Used for froogle search instead of google.

INFO:
google looks for anything you inputted but only information about string which you have puted next to info: .
info:firefox
Above dork will show you alot off things about firefox like what is firefox etc.

MOVIE:
You can find information about movies on google using this dork.
movie:watch Transformers online

WEATHER:
You can find information about weather on google using this dork.
weather: 01/08/2015 london

RELATED:
This will look for anything related to what you have entered next to related: .
related:hacking
Google responds whith sites about hacking stuffs.

LINK:
This one will works better instead of only looking in search url, it will also look in the site for urls that possibly are vulnerable.
link:index.php?id=
This is very usefull I would say even more then inurl.

Vulnerability Approach :
Once you search website using above dorks, now its time to check whether the website is vulnerable to SQL injection or not, we simply put in a quote ” ‘ ” at the end of the url address.
So our site will look like this,
http://www.site.com/index.php?id=123;
i will explain how to proceed advanced sqli in the next tutorial

As far as i researched Google Dorks can help us getting the data of many websites.
These are some Google Dorks which can affect our online business:
site:.com intitle:”Thank You For Your Order” intext:Click Here to Download
site:.com intitle:”Thank You For Your Purchase” intext:Click Here to Download
intitle:Thank you for your Purchase! intext:PLR OR MRR OR Package OR Bonus
inurl:/thankyou.html intitle:Thank you for your order! intext:Click Here to Download

Google dorks are very important, so I advise before you start your exploits against a particular victim the best way is to use google and see what you can find about the victim, and believe me, byt using google, a lot of times I did not even turn on Linux kali, by simple search on google, I found the password of my victim.

As far as i researched the best website for fresh google dorks is the exploit db website https://ww.exploit-db.com

here you will find fresh google dorks and you can also submits yours.

another cool website is http://www.google-dorking.com

you can also mention some websites here

to say that the best way to learn is by teaching, so I’m here to share what I know, and as always

I hope you will make correction where I’m wrong, because it is from mistakes that we learn ..

 

Advertisements