'Google hacking': Everything you want someone to know , and more

The functionality that has made Google a top search engine also can be used to reveal sensitive personal data, vulnerable servers and other details about network architecture.

"We keep that catalog closely held," Long said. "We don't want bad guys writing tools."But he acknowledged that Google hacking tools already are out there. Some viruses, such as MyDoom, have used searches from infected systems to gather additional e-mail addresses to spread itself.There also are a handful of bugs in the search engine that can be exploited, Long said. "By and large, these things aren't security-related. They are bugs that we stumbled on."One such bug he calls a "Google turd": the results sometimes returned for a malformed query that should have been rejected by the search engine. Sometimes the results are typos and mistakes within a site that can reveal information to a hacker.Because Google hacking often involves legitimate queries, little has been done to thwart the technique at the search engine's end. But that might be changing, Long said."I think we're seeing Google trying to block some searches" known to have been used in automated Google hacks, he said. "We're seeing that for the first time this year."The primary defense against Google hacking is awareness on the part of the Web resources owner."It's all about policies," Long said. Enterprises must have strong, enforceable policies about what data is made accessible, and someone has to be made accountable for the information that appears on a Web site.Long, who describes himself as a clean-living family guy who just happens to like hacking stuff, says he is a white hat rather than a black hat hacker."The reason I do this talk is to raise awareness," he said. "I'm trying to walk a fine line between teaching people how to do this and raising awareness."

LAS VEGAS'The ability to type in a detailed query and perform a focused search of Web resources has made Google one of the most successful dot-com companies in the world.

But those tools also can be used to reveal data never meant to see the light of day, including credit card information, password lists, vulnerable servers and other details of network architecture.

The technique is called 'Google hacking.' 'It's the process of using the Google search engine for digging up sensitive information from a Web site," said Johnny Long, a security researcher and penetration tester for Computer Sciences Corp. in El Segundo, Calif.

Google hacking is a catchy name, but it does not have to be done with Google, Long said. 'You can do this stuff with any search engine,' although Google does have some advantages because of its rich features.

It is not a new trick, but it is one that continues to produce interesting'and sometimes embarrassing'data with little effort. Long wrote the book on the subject, titled Google Hacking for Penetration Testers.

At the risk of becoming known as the Google Guy, a title he dislikes, he returned to the Black Hat Briefings security conference this week to demonstrate techniques and results.

The practice has been around for years. Government became acutely aware of it in the wake of Sept. 11, 2001, Long said. It is one of the reasons agencies began scrubbing Web sites of sensitive data following the attacks.

"Just about every major cyberoffensive that has been recorded has started with something like a search engine" to gather publicly available data, Long said.

Gathering data through a search engine does not tip off your target that reconnaissance is being done. Information such as names, addresses, passwords, e-mail addresses and server names can be assembled to build a picture of a target system before launching an attack.

"If your target is a government, it's a lot more realistic to consider a death by a thousand cuts rather than an assault of the front gates," Long said. "It's classic asymmetrical warfare."

The primary difference between Google hacking and doing a Google search is the frame of mind, according to Long. "It's bringing a hacker's mind-set to the search," he said. "It boils down to the results you are searching for. Generally, we're using the search engine for exactly what it was intended for."

A Google hacker might, for instance, ignore the content of the links returned in a search and focus instead on the names of the servers that responded. Or, through a properly constructed query, access a list of Social Security numbers along with the names and addresses of their holders.

Long has compiled a catalog of more than 1,300 such queries that are used by legitimate developers of penetration-testing tools. Queries can return hits containing:

  • Login pages for a variety of services and servers

  • Security logs from firewalls, honeypots and intrusion detection and prevention systems that can reveal a wealth of details on vulnerabilities

  • Lists of networked devices such as printers and cameras and

  • Servers operating with default configurations, which could include default passwords.



















NEXT STORY: 'Did you hear...'

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.