Google hacking explained

Google hacking should not be confused with Google Hacks.

[1] Google hacking, also named Google dorking,[2] [3] is a hacker technique that uses Google Search and other Google applications to find security holes in the configuration and computer code that websites are using.

Basics

Google hacking involves using operators in the Google search engine to locate specific sections of text on websites that are evidence of vulnerabilities, for example specific versions of vulnerable Web applications. A search query with intitle:admbook intitle:Fversion filetype:php would locate PHP web pages with the strings "admbook" and "Fversion" in their titles, indicating that the PHP based guestbook Admbook is used, an application with a known code injection vulnerability. It is normal for default installations of applications to include their running version in every page they serve, for example, "Powered by XOOPS 2.2.3 Final", which can be used to search for websites running vulnerable versions.

Devices connected to the Internet can be found. A search string such as inurl:"Mode=" will find public web cameras.

History

The concept of "Google hacking" dates back to August 2002, when Chris Sullo included the "nikto_google.plugin" in the 1.20 release of the Nikto vulnerability scanner.[4] In December 2002 Johnny Long began to collect Google search queries that uncovered vulnerable systems and/or sensitive information disclosures – labeling them googleDorks.[5]

The list of Google Dorks grew into a large dictionary of queries, which were eventually organized into the original Google Hacking Database (GHDB) in 2004.[6] [7]

Concepts explored in Google hacking have been extended to other search engines, such as Bing[8] and Shodan.[9] Automated attack tools[10] use custom search dictionaries to find vulnerable systems and sensitive information disclosures in public systems that have been indexed by search engines.[11]

Google Dorking has been involved in some notorious cybercrime cases, such as the Bowman Avenue Dam hack[12] and the CIA breach where around 70% of its worldwide networks were compromised.[13] Star Kashman, a legal scholar, has been one of the first to study the legality of this technique.[14] Kashman argues that while Google Dorking is technically legal, it has often been used to carry out cybercrime and frequently leads to violations of the Computer Fraud and Abuse Act.[15] Her research has highlighted the legal and ethical implications of this technique, emphasizing the need for greater attention and regulation to be applied to its use.

Protection

Robots.txt is a well known file for search engine optimization and protection against Google dorking. It involves the use of robots.txt to disallow everything or specific endpoints (hackers can still search robots.txt for endpoints) which prevents Google bots from crawling sensitive endpoints such as admin panels.

External links

Notes and References

  1. Schennikova . N. V. . 2016 . LINGUISTIC PROJECTION: POLEMIC NOTES . University proceedings. Volga region. Humanities . 4 . 10.21685/2072-3024-2016-4-12 . 2072-3024. free .
  2. Web site: Term Of The Day: Google Dorking - Business Insider . . January 17, 2016 . June 19, 2020 . https://web.archive.org/web/20200619024800/https://www.businessinsider.com/term-of-the-day-google-dorking-2014-8 . live .
  3. http://whatis.techtarget.com/definition/Google-dork-query Google dork query
  4. Web site: nikto-versions/nikto-1.20.tar.bz2 at master · sullo/nikto-versions . 2023-08-30 . GitHub . en . August 30, 2023 . https://web.archive.org/web/20230830140742/https://github.com/sullo/nikto-versions/blob/master/nikto-1.20.tar.bz2 . live .
  5. Web site: googleDorks created by Johnny Long . Johnny Long . December 8, 2002 . dead . https://web.archive.org/web/20021208144443/http://johnny.ihackstuff.com/security/googleDorks.shtml . December 8, 2002 .
  6. Web site: Google Hacking Database (GHDB) in 2004 . Johnny Long . October 5, 2004 . dead . https://web.archive.org/web/20070707185932/http://johnny.ihackstuff.com/blog/my-blog-like-thing/google-hacking-database.html . July 7, 2007 .
  7. Book: Google Hacking for Penetration Testers, Volume 1 . 2005 . Johnny Long . 1931836361 .
  8. Web site: Bing Hacking Database (BHDB) v2 . July 15, 2013 . Bishop Fox . August 27, 2014 . June 8, 2019 . https://web.archive.org/web/20190608014128/http://www.bishopfox.com/resources/tools/google-hacking-diggity/attack-tools/#bing-hacking-database---bhdb-v2 . live .
  9. Web site: Shodan Hacking Database (SHDB) - Part of SearchDiggity tool suite . Bishop Fox . June 21, 2013 . June 8, 2019 . https://web.archive.org/web/20190608014128/http://www.bishopfox.com/resources/tools/google-hacking-diggity/attack-tools/#shodan-hacking-database---shdb . live .
  10. Web site: SearchDiggity - Search Engine Attack Tool Suite . July 15, 2013 . Bishop Fox . August 27, 2014 . June 8, 2019 . https://web.archive.org/web/20190608014128/http://www.bishopfox.com/resources/tools/google-hacking-diggity/attack-tools/#searchdiggity . live .
  11. Web site: Google Hacking History . July 15, 2013 . Bishop Fox . August 27, 2014 . June 3, 2019 . https://web.archive.org/web/20190603025255/http://www.bishopfox.com/resources/tools/google-hacking-diggity/google-hacking-history/ . dead .
  12. News: Seven Iranians Working for Islamic Revolutionary Guard Corps-Affiliated Entities Charged for Conducting Coordinated Campaign of Cyber Attacks Against U.S. Financial Sector . UNITED STATES DEPARTMENT OF JUSTICE . March 27, 2023 . September 24, 2023 . https://web.archive.org/web/20230924092759/https://www.justice.gov/opa/pr/seven-iranians-working-islamic-revolutionary-guard-corps-affiliated-entities-charged . live .
  13. News: Gallagher . Sean . How did Iran find Cia Spies? They googled it . Ars Technica . March 27, 2023 . October 18, 2023 . https://web.archive.org/web/20231018103413/https://arstechnica.com/tech-policy/2018/11/how-did-iran-find-cia-spies-they-googled-it/ . live .
  14. Kashman . Star . GOOGLE DORKING OR LEGAL HACKING: FROM THE CIA COMPROMISE TO YOUR CAMERAS AT HOME, WE ARE NOT AS SAFE AS WE THINK . Wash. J. L. Tech. & Arts . 2023 . 18 . 2.
  15. Kashman . Star . GOOGLE DORKING OR LEGAL HACKING: FROM THE CIA COMPROMISE TO YOUR CAMERAS AT HOME, WE ARE NOT AS SAFE AS WE THINK . Washington Journal of Law, Technology & Arts . 2023 . 18 . 2 . 1 . March 27, 2023 . October 23, 2023 . https://web.archive.org/web/20231023091719/https://digitalcommons.law.uw.edu/wjlta/vol18/iss2/1/ . live .