Pulp Google Hacking
The Next Generation Search Engine Hacking Arsenal
3 August 2011 – Black Hat 2011 – Las Vegas, NV




                                                 Presented by:
                                                 Francis Brown
                                                 Rob Ragan
                                                 Stach & Liu, LLC
                                                 www.stachliu.com
Agenda
     OVERVIEW


• Introduction/Background

• Advanced Attacks
    • Google/Bing Hacking - Core Tools
    • NEW Diggity Attack Tools

• Advanced Defenses
    • Google/Bing Hacking Alert RSS Feeds
        • NEW Diggity Alert Feeds and Updates
    • NEW Diggity Alert RSS Feed Client Tools

• Future Directions

                                                2
Introduction/
Background
GETTING UP TO SPEED




                      3
Open Source Intelligence
     SEARCHING PUBLIC SOURCES



 OSINT – is a form of intelligence
 collection management that involves
 finding, selecting, and acquiring
 information from publicly available
 sources and analyzing it to produce
 actionable intelligence.




                                       4
Google/Bing Hacking
  SEARCH ENGINE ATTACKS




                          5
Google/Bing Hacking
   SEARCH ENGINE ATTACKS


 Bing's source leaked!
 class Bing {
    public static string Search(string
    query)
    {
      return Google.Search(query);
    }
 }

                                         6
Attack Targets
          GOOGLE HACKING DATABASE

• Advisories and Vulnerabilities (215)   • Pages containing network or
• Error Messages (58)                      vulnerability data (59)
• Files containing juicy info (230)      • Sensitive Directories (61)
• Files containing passwords (135)       • Sensitive Online Shopping Info (9)
• Files containing usernames (15)        • Various Online Devices (201)
• Footholds (21)                         • Vulnerable Files (57)
• Pages containing login portals (232)   • Vulnerable Servers (48)
                                         • Web Server Detection (72)




                                                                                7
Google Hacking = Lulz
      REAL WORLD THREAT



LulzSec and Anonymous believed to use
Google Hacking as a primary means of
identifying vulnerable targets.

Their releases have nothing to do with their goals
or their lulz. It's purely based on whatever they
find with their "google hacking" queries and then
release it.
-- A-Team, 28 June 2011


                                                     8
Google Hacking = Lulz
         REAL WORLD THREAT
22:14 <@kayla> Sooooo...using the link above and the google hack string.
!Host=*.* intext:enc_UserPassword=* ext:pcf Take your pick of VPNs you
want access too. Ugghh.. Aaron Barr CEO HBGary Federal Inc.
22:15 <@kayla> download the pcf file
22:16 <@kayla> then use http://www.unix-ag.uni-
kl.de/~massar/bin/cisco-decode?enc= to clear text it
22:16 <@kayla> = free VPN




                                                                           9
Quick History
   GOOGLE HACKING RECAP

   Dates          Event
   2004           Google Hacking Database (GHDB) begins
   May 2004       Foundstone SiteDigger v1 released
   2005           Google Hacking v1 released by Johnny Long
   Jan 2005       Foundstone SiteDigger v2 released
   Feb 13, 2005   Google Hack Honeypot first release
   Jan 10, 2005   MSNPawn v1.0 released
   Dec 5, 2006    Google stops issuing Google SOAP API keys
   Mar 2007       Bing disables inurl: link: and linkdomain:
   Nov 2, 2007    Google Hacking v2 released


                                                               10
Quick History…cont.
   GOOGLE HACKING RECAP

   Dates           Event
   Mar 2008        cDc Goolag - gui tool released
   Sept 7, 2009    Google shuts down SOAP Search API
   Nov 2009        Binging tool released
   Dec 1, 2009     FoundStone SiteDigger v 3.0 released
   2010            Googlag.org disappears
   April 21, 2010 Google Hacking Diggity Project initial releases
   Nov 1, 2010     Google AJAX API slated for retirement
   Nov 9, 2010     GHDB Reborn Announced – Exploit-db.com
   July 2011       Bing ceases ‘&format=rss’ support


                                                                    11
Advanced Attacks
WHAT YOU SHOULD KNOW




                       12
Diggity Core Tools
    STACH & LIU TOOLS

 Google Diggity
    • Uses Google JSON/ATOM API
        • Not blocked by Google bot detection
        • Does not violate Terms of Service
    • Required to use

 Bing Diggity
    • Uses Bing 2.0 SOAP API
    • Company/Webapp Profiling
        • Enumerate: URLs, IP-to-virtual hosts, etc.
    • Bing Hacking Database (BHDB)
        • Vulnerability search queries in Bing format


                                                        13
New Features
    DIGGITY CORE TOOLS

 Google Diggity - New API
    • Updated to use Google JSON/ATOM API
    • Due to deprecated Google AJAX API




 Misc. Feature Uprades
    • Auto-update for dictionaries
    • Output export formats
        • Now also XLS and HTML
    • Help File – chm file added


                                            14
New Features
     DOWNLOAD BUTTON

 Download Buttons for Google/Bing Diggity
     • Download actual files from Google/Bing search results
          • Downloads to default: C:DiggityDownloads




     • Used by other tools for file download/analysis:
          • FlashDiggity, DLP Diggity, MalwareDiggity,…




                                                               15
New Features
    AUTO-UPDATES

 SLDB Updates in Progress
    • Example: SharePoint Google Dictionary
        • http://www.stachliu.com/resources/tools/sharepoint-hacking-diggity-
          project/#SharePoint – GoogleDiggity Dictionary File




                                                                                16
Google Diggity
   DIGGITY CORE TOOLS




                        17
Bing Diggity
   DIGGITY CORE TOOLS




                        18
Bing Hacking Database
               STACH & LIU TOOLS


BHDB – Bing Hacking Data Base                        Example - Bing vulnerability search:
                                                     • GHDB query
• First ever Bing hacking database                         •   "allintitle:Netscape FastTrack Server Home Page"
                                                     • BHDB version
• Bing hacking limitations                                 •   intitle:”Netscape FastTrack Server Home Page"
     • Disabled inurl:, link: and linkdomain:
       directives in March 2007
     • No support for ext:, allintitle:, allinurl:
     • Limited filetype: functionality
           •   Only 12 extensions supported




                                                                                                               19
Hacking CSE’s
  ALL TOP LEVEL DOMAINS




                          20
NEW GOOGLE HACKING TOOLS


Code Search Diggity

                           21
Google Code Search
       VULNS IN OPEN SOURCE CODE

 • Regex search for vulnerabilities in indexed
   public code, including popular open source
   code repositories:

 • Example: SQL Injection in ASP querystring
      • select.*from.*request.QUERYSTRING




                                                 22
CodeSearch Diggity
  AMAZON CLOUD SECRET KEYS




                             23
NEW GOOGLE HACKING TOOLS


Bing LinkFromDomainDiggity

                             24
Bing LinkFromDomain
  DIGGITY TOOLKIT




                      25
Bing LinkFromDomain
  FOOTPRINTING LARGE ORGANIZATIONS




                                     26
NEW GOOGLE HACKING TOOLS


Malware Diggity

                           27
MalwareDiggity
      DIGGITY TOOLKIT

 1. Leverages Bing’s linkfromdomain: search directive
    to find off-site links of target applications/domains


 2. Runs off-site links against Google’s Safe Browsing API
    to determine if any are malware distribution sites




 3. Return results that identify malware sites that your web
    applications are directly linking to



                                                               28
Mass Injection Attacks
      MALWARE GONE WILD

Malware Distribution Woes – WSJ.com – June2010
   • Popular websites victimized, become malware distribution sites to their own
     customers




                                                                                   29
Mass Injection Attacks
      MALWARE GONE WILD

Malware Distribution Woes – LizaMoon – April2011
   • Popular websites victimized, become malware distribution sites to their own
     customers




                                                                                   30
Mass Injection Attacks
      MALWARE GONE WILD

Malware Distribution Woes – willysy.com - August2011
   • Popular websites victimized, become malware distribution sites to their own
     customers




                                                                                   31
Malware Diggity
  DIGGITY TOOLKIT




                    32
Malware Diggity
  DIAGNOSTICS IN RESULTS




                           33
NEW GOOGLE HACKING TOOLS


DLP Diggity

                           34
DLP Diggity
   LOTS OF FILES TO DATA MINE




                                35
DLP Diggity
       MORE DATA SEARCHABLE EVERY YEAR

                                 Google Results for Common Docs
                                  513,000,000
  600,000,000


  500,000,000


  400,000,000
                           260,000,000
                                                                                                               2004
  300,000,000
                                                                                                               2007
                                                  84,500,000
   200,000,000                                                                                                 2011
                                                                    17,300,000          46,400,000
                                            42,000,000
   100,000,000                                                 16,100,000                               2011
                    10,900,000                                                     30,100,000
                                     2,100,000
                0                                                                                    2007
                                                         969,000
                    PDF                                                     1,720,000
                                     DOC                                                        2004
                                                         XLS
                                                                             TXT


                                                                                                                      36
DLP Diggity
   DIGGITY TOOLKIT




                     37
NEW GOOGLE HACKING TOOLS


FlashDiggity

                           38
Flash Diggity
      DIGGITY TOOLKIT

 • Google for SWF files on target domains
     • Example search: filetype:swf site:example.com
 • Download SWF files to C:DiggityDownloads
 • Disassemble SWF files and analyze for Flash vulnerabilities




                                                                 39
NEW GOOGLE HACKING TOOLS


DEMO

                           40
GoogleScrape Diggity
            DIGGITY TOOLKIT


GoogleScrape Diggity
• Uses Google mobile interface
     • Light-weight, no advertisements
     • Violates Terms of Service

• Bot detection avoidance
     • Distributed via proxies
     • Spoofs User-agent and Referer
       headers
     • Random &userip= value
     • Across Google servers




                                         41
NEW GOOGLE HACKING TOOLS


Baidu Diggity

                           42
BaiduDiggity
     CHINA SEARCH ENGINE

 • Fighting back




                           43
Advanced Defenses
  PROTECT YO NECK




                    44
Traditional Defenses
     GOOGLE HACKING DEFENSES

 • “Google Hack yourself” organization
     • Employ tools and techniques used by hackers
     • Remove info leaks from Google cache
         • Using Google Webmaster Tools

 • Regularly update your robots.txt.
     • Or robots meta tags for individual page exclusion

 • Data Loss Prevention/Extrusion Prevention Systems
     • Free Tools: OpenDLP, Senf

 • Policy and Legal Restrictions



                                                           45
Existing Defenses
    “H A C K Y O U R S E L F”


  Tools exist
  Convenient
  Real-time updates
  Multi-engine results
  Historical archived data
  Multi-domain searching
                                46
Advanced Defenses
         NEW HOT SIZZLE


Stach & Liu now proudly presents:
   • Google and Bing Hacking Alerts
       • SharePoint Hacking Alerts – 118 dorks
       • SHODAN Hacking Alerts – 26 dorks
   • Diggity Alerts FUNdle Bundles
       • Consolidated alerts into 1 RSS feed
   • Alert Client Tools
       • Alert Diggity – Windows systray notifications
       • iDiggity Alerts – iPhone notification app


                                                         47
Google Hacking Alerts
     ADVANCED DEFENSES

 Google Hacking Alerts
    • All hacking database queries using
    • Real-time vuln updates to >2400 hack queries via RSS
    • Organized and available via                importable file




                                                                   48
Google Hacking Alerts
   ADVANCED DEFENSES




                        49
Bing Hacking Alerts
     ADVANCED DEFENSES

 Bing Hacking Alerts
    • Bing searches with regexs from BHDB
    • Leverages http://api.bing.com/rss.aspx
    • Real-time vuln updates to >900 Bing hack queries via RSS




                                                                 50
Bing/Google Alerts
   LIVE VULNERABILITY FEEDS

 World’s Largest Live Vulnerability Repository
    • Daily updates of ~3000 new hits per day




                                                 51
Diggity Alerts
                         One Feed to Rule Them All




ADVANCED DEFENSE TOOLS


Diggity Alert Fundle Bundle

                                                     52
FUNdle Bundle
 ADVANCED DEFENSES




                     53
FUNdle Bundle
 ADVANCED DEFENSES




                     54
FUNdle Bundle
  MOBILE FRIENDLY




                    55
ADVANCED DEFENSE TOOLS


SHODAN Alerts

                         56
SHODAN Alerts
  FINDING SCADA SYSTEMS




                          57
SHODAN Alerts
  SHODAN RSS FEEDS




                     58
Bing/Google Alerts
   THICK CLIENTS TOOLS

 Google/Bing Hacking Alert Thick Clients
    • Google/Bing Alerts RSS feeds as input

    • Allow user to set one or more filters
        • e.g. “yourcompany.com” in the URL

    • Several thick clients being released:
        • Windows Systray App
        • Droid app (coming soon)
        • iPhone app




                                              59
ADVANCED DEFENSE TOOLS


Alert Diggity

                         60
Alerts Diggity
    ADVANCED DEFENSES




                        61
iDiggity Alerts




ADVANCED DEFENSE TOOLS


iDiggity Alerts

                                           62
iDiggity Alerts
    ADVANCED DEFENSES




                        63
iDiggity Alerts
    ADVANCED DEFENSES




                        64
New Defenses
“G O O G L E / B I N G H A C K A L E R T S”


  Tools exist
  Convenient
  Real-time updates
  Multi-engine results
  Historical archived data
  Multi-domain searching
                                              65
Future Direction
   IS NOW




                   66
Diggity Alert DB
   DATA MINING VULNS   Diggity Alerts
                         Database




                                        67
Dictionary Updates
      3RD P A R T Y I N T E G R A T I O N

New maintainers of the GHDB – 09 Nov 2010
   • http://www.exploit-db.com/google-hacking-database-reborn/




                                                                 68
Special Thanks
Oscar “The Bull” Salazar
Brad “BeSickWittIt” Sickles
Nick “King Luscious” Harbin
Prajakta “The Flasher” Jagdale
Ruihai “Ninja” Fang
Jason “Blk-majik” Lash
Questions?
Ask us something
We’ll try to answer it.
                   For more info:
                   Email: contact@stachliu.com
                   Project: diggity@stachliu.com
                   Stach & Liu, LLC
                   www.stachliu.com
Thank You




Stach & Liu Google Hacking Diggity Project info:
http://www.stachliu.com/index.php/resources/tools/google-hacking-diggity-project/


                                                                                    71

More Related Content

PDF
Lord of the Bing - Black Hat USA 2010
PDF
Black Hat 2011 - Pulp Google Hacking: The Next Generation Search Engine Hacki...
PDF
Tenacious Diggity - Skinny Dippin in a Sea of Bing
PDF
Lord of the bing b-sides atl
PDF
CloudBots - Harvesting Crypto Currency Like a Botnet Farmer
PDF
Offensive OSINT
PDF
Web application penetration testing lab setup guide
PDF
OSINT tools for security auditing [FOSDEM edition]
Lord of the Bing - Black Hat USA 2010
Black Hat 2011 - Pulp Google Hacking: The Next Generation Search Engine Hacki...
Tenacious Diggity - Skinny Dippin in a Sea of Bing
Lord of the bing b-sides atl
CloudBots - Harvesting Crypto Currency Like a Botnet Farmer
Offensive OSINT
Web application penetration testing lab setup guide
OSINT tools for security auditing [FOSDEM edition]

What's hot (14)

PDF
StachLiu-NotInMyBackYard
PPTX
PDF
PDF
Is Enterprise Search Ripe for Open Source Disruption?
PDF
Practical White Hat Hacker Training - Passive Information Gathering(OSINT)
PDF
What you need to know about OSINT
PDF
OSINT- Leveraging data into intelligence
PDF
RAR and GNAP for VC HTTP API
PDF
OSINT x UCCU Workshop on Open Source Intelligence
PPTX
Let’s hunt the target using OSINT
PDF
Open Source Information Gathering Brucon Edition
PPTX
Utilizing OSINT in Threat Analytics and Incident Response
KEY
Tactical Information Gathering
PPT
Advanced Information Gathering AKA Google Hacking
StachLiu-NotInMyBackYard
Is Enterprise Search Ripe for Open Source Disruption?
Practical White Hat Hacker Training - Passive Information Gathering(OSINT)
What you need to know about OSINT
OSINT- Leveraging data into intelligence
RAR and GNAP for VC HTTP API
OSINT x UCCU Workshop on Open Source Intelligence
Let’s hunt the target using OSINT
Open Source Information Gathering Brucon Edition
Utilizing OSINT in Threat Analytics and Incident Response
Tactical Information Gathering
Advanced Information Gathering AKA Google Hacking

Similar to Hack attack pulp google (20)

PDF
Pulp Google Hacking
PDF
InfoSec World 2013 – W4 – Using Google to Find Vulnerabilities in Your IT Env...
PDF
DEFCON 20 (2012) – Tenacious Diggity – 29July2012 – Slides.PDF
PDF
Lord of the Bing: Taking Back Search Engine Hacking From Google and Bing
PDF
CITEC #CON2-Dirty Attack with Google Hacking
PDF
Google Hacking: Convergence of Google and Bots
PDF
Hii the convergence_of_google_and_bots_-_searching_for_security_vulnerabiliti...
PDF
Web Security - Introduction
PDF
Web Security - Introduction v.1.3
PDF
Google Hacking by Ali Jahangiri
PDF
D google searching tactics
PDF
Dangerous Google searching for secrets
PDF
Dangerous google searching for secrets
PDF
Owasp modern information gathering
 
PPT
Google and Beyond: Advanced Search Engine Hacking
PPTX
Website ethical hacking and testing
PDF
HES 2012- Killing a Bug Bounty Program by Itzhak Zuk Avraham&Nir Goldshlager
PDF
Advanced Malware Analysis
PPS
Information Gathering With Google
PPS
Information Gathering with Google (c0c0n - India)
Pulp Google Hacking
InfoSec World 2013 – W4 – Using Google to Find Vulnerabilities in Your IT Env...
DEFCON 20 (2012) – Tenacious Diggity – 29July2012 – Slides.PDF
Lord of the Bing: Taking Back Search Engine Hacking From Google and Bing
CITEC #CON2-Dirty Attack with Google Hacking
Google Hacking: Convergence of Google and Bots
Hii the convergence_of_google_and_bots_-_searching_for_security_vulnerabiliti...
Web Security - Introduction
Web Security - Introduction v.1.3
Google Hacking by Ali Jahangiri
D google searching tactics
Dangerous Google searching for secrets
Dangerous google searching for secrets
Owasp modern information gathering
 
Google and Beyond: Advanced Search Engine Hacking
Website ethical hacking and testing
HES 2012- Killing a Bug Bounty Program by Itzhak Zuk Avraham&Nir Goldshlager
Advanced Malware Analysis
Information Gathering With Google
Information Gathering with Google (c0c0n - India)

Recently uploaded (20)

PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Empowerment Technology for Senior High School Guide
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Computer Architecture Input Output Memory.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
IGGE1 Understanding the Self1234567891011
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
My India Quiz Book_20210205121199924.pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
What if we spent less time fighting change, and more time building what’s rig...
Empowerment Technology for Senior High School Guide
202450812 BayCHI UCSC-SV 20250812 v17.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Chinmaya Tiranga quiz Grand Finale.pdf
Computer Architecture Input Output Memory.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
LDMMIA Reiki Yoga Finals Review Spring Summer
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
IGGE1 Understanding the Self1234567891011
Environmental Education MCQ BD2EE - Share Source.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Share_Module_2_Power_conflict_and_negotiation.pptx
Paper A Mock Exam 9_ Attempt review.pdf.
TNA_Presentation-1-Final(SAVE)) (1).pptx
My India Quiz Book_20210205121199924.pdf

Hack attack pulp google

  • 1. Pulp Google Hacking The Next Generation Search Engine Hacking Arsenal 3 August 2011 – Black Hat 2011 – Las Vegas, NV Presented by: Francis Brown Rob Ragan Stach & Liu, LLC www.stachliu.com
  • 2. Agenda OVERVIEW • Introduction/Background • Advanced Attacks • Google/Bing Hacking - Core Tools • NEW Diggity Attack Tools • Advanced Defenses • Google/Bing Hacking Alert RSS Feeds • NEW Diggity Alert Feeds and Updates • NEW Diggity Alert RSS Feed Client Tools • Future Directions 2
  • 4. Open Source Intelligence SEARCHING PUBLIC SOURCES OSINT – is a form of intelligence collection management that involves finding, selecting, and acquiring information from publicly available sources and analyzing it to produce actionable intelligence. 4
  • 5. Google/Bing Hacking SEARCH ENGINE ATTACKS 5
  • 6. Google/Bing Hacking SEARCH ENGINE ATTACKS Bing's source leaked! class Bing { public static string Search(string query) { return Google.Search(query); } } 6
  • 7. Attack Targets GOOGLE HACKING DATABASE • Advisories and Vulnerabilities (215) • Pages containing network or • Error Messages (58) vulnerability data (59) • Files containing juicy info (230) • Sensitive Directories (61) • Files containing passwords (135) • Sensitive Online Shopping Info (9) • Files containing usernames (15) • Various Online Devices (201) • Footholds (21) • Vulnerable Files (57) • Pages containing login portals (232) • Vulnerable Servers (48) • Web Server Detection (72) 7
  • 8. Google Hacking = Lulz REAL WORLD THREAT LulzSec and Anonymous believed to use Google Hacking as a primary means of identifying vulnerable targets. Their releases have nothing to do with their goals or their lulz. It's purely based on whatever they find with their "google hacking" queries and then release it. -- A-Team, 28 June 2011 8
  • 9. Google Hacking = Lulz REAL WORLD THREAT 22:14 <@kayla> Sooooo...using the link above and the google hack string. !Host=*.* intext:enc_UserPassword=* ext:pcf Take your pick of VPNs you want access too. Ugghh.. Aaron Barr CEO HBGary Federal Inc. 22:15 <@kayla> download the pcf file 22:16 <@kayla> then use http://www.unix-ag.uni- kl.de/~massar/bin/cisco-decode?enc= to clear text it 22:16 <@kayla> = free VPN 9
  • 10. Quick History GOOGLE HACKING RECAP Dates Event 2004 Google Hacking Database (GHDB) begins May 2004 Foundstone SiteDigger v1 released 2005 Google Hacking v1 released by Johnny Long Jan 2005 Foundstone SiteDigger v2 released Feb 13, 2005 Google Hack Honeypot first release Jan 10, 2005 MSNPawn v1.0 released Dec 5, 2006 Google stops issuing Google SOAP API keys Mar 2007 Bing disables inurl: link: and linkdomain: Nov 2, 2007 Google Hacking v2 released 10
  • 11. Quick History…cont. GOOGLE HACKING RECAP Dates Event Mar 2008 cDc Goolag - gui tool released Sept 7, 2009 Google shuts down SOAP Search API Nov 2009 Binging tool released Dec 1, 2009 FoundStone SiteDigger v 3.0 released 2010 Googlag.org disappears April 21, 2010 Google Hacking Diggity Project initial releases Nov 1, 2010 Google AJAX API slated for retirement Nov 9, 2010 GHDB Reborn Announced – Exploit-db.com July 2011 Bing ceases ‘&format=rss’ support 11
  • 12. Advanced Attacks WHAT YOU SHOULD KNOW 12
  • 13. Diggity Core Tools STACH & LIU TOOLS Google Diggity • Uses Google JSON/ATOM API • Not blocked by Google bot detection • Does not violate Terms of Service • Required to use Bing Diggity • Uses Bing 2.0 SOAP API • Company/Webapp Profiling • Enumerate: URLs, IP-to-virtual hosts, etc. • Bing Hacking Database (BHDB) • Vulnerability search queries in Bing format 13
  • 14. New Features DIGGITY CORE TOOLS Google Diggity - New API • Updated to use Google JSON/ATOM API • Due to deprecated Google AJAX API Misc. Feature Uprades • Auto-update for dictionaries • Output export formats • Now also XLS and HTML • Help File – chm file added 14
  • 15. New Features DOWNLOAD BUTTON Download Buttons for Google/Bing Diggity • Download actual files from Google/Bing search results • Downloads to default: C:DiggityDownloads • Used by other tools for file download/analysis: • FlashDiggity, DLP Diggity, MalwareDiggity,… 15
  • 16. New Features AUTO-UPDATES SLDB Updates in Progress • Example: SharePoint Google Dictionary • http://www.stachliu.com/resources/tools/sharepoint-hacking-diggity- project/#SharePoint – GoogleDiggity Dictionary File 16
  • 17. Google Diggity DIGGITY CORE TOOLS 17
  • 18. Bing Diggity DIGGITY CORE TOOLS 18
  • 19. Bing Hacking Database STACH & LIU TOOLS BHDB – Bing Hacking Data Base Example - Bing vulnerability search: • GHDB query • First ever Bing hacking database • "allintitle:Netscape FastTrack Server Home Page" • BHDB version • Bing hacking limitations • intitle:”Netscape FastTrack Server Home Page" • Disabled inurl:, link: and linkdomain: directives in March 2007 • No support for ext:, allintitle:, allinurl: • Limited filetype: functionality • Only 12 extensions supported 19
  • 20. Hacking CSE’s ALL TOP LEVEL DOMAINS 20
  • 21. NEW GOOGLE HACKING TOOLS Code Search Diggity 21
  • 22. Google Code Search VULNS IN OPEN SOURCE CODE • Regex search for vulnerabilities in indexed public code, including popular open source code repositories: • Example: SQL Injection in ASP querystring • select.*from.*request.QUERYSTRING 22
  • 23. CodeSearch Diggity AMAZON CLOUD SECRET KEYS 23
  • 24. NEW GOOGLE HACKING TOOLS Bing LinkFromDomainDiggity 24
  • 25. Bing LinkFromDomain DIGGITY TOOLKIT 25
  • 26. Bing LinkFromDomain FOOTPRINTING LARGE ORGANIZATIONS 26
  • 27. NEW GOOGLE HACKING TOOLS Malware Diggity 27
  • 28. MalwareDiggity DIGGITY TOOLKIT 1. Leverages Bing’s linkfromdomain: search directive to find off-site links of target applications/domains 2. Runs off-site links against Google’s Safe Browsing API to determine if any are malware distribution sites 3. Return results that identify malware sites that your web applications are directly linking to 28
  • 29. Mass Injection Attacks MALWARE GONE WILD Malware Distribution Woes – WSJ.com – June2010 • Popular websites victimized, become malware distribution sites to their own customers 29
  • 30. Mass Injection Attacks MALWARE GONE WILD Malware Distribution Woes – LizaMoon – April2011 • Popular websites victimized, become malware distribution sites to their own customers 30
  • 31. Mass Injection Attacks MALWARE GONE WILD Malware Distribution Woes – willysy.com - August2011 • Popular websites victimized, become malware distribution sites to their own customers 31
  • 32. Malware Diggity DIGGITY TOOLKIT 32
  • 33. Malware Diggity DIAGNOSTICS IN RESULTS 33
  • 34. NEW GOOGLE HACKING TOOLS DLP Diggity 34
  • 35. DLP Diggity LOTS OF FILES TO DATA MINE 35
  • 36. DLP Diggity MORE DATA SEARCHABLE EVERY YEAR Google Results for Common Docs 513,000,000 600,000,000 500,000,000 400,000,000 260,000,000 2004 300,000,000 2007 84,500,000 200,000,000 2011 17,300,000 46,400,000 42,000,000 100,000,000 16,100,000 2011 10,900,000 30,100,000 2,100,000 0 2007 969,000 PDF 1,720,000 DOC 2004 XLS TXT 36
  • 37. DLP Diggity DIGGITY TOOLKIT 37
  • 38. NEW GOOGLE HACKING TOOLS FlashDiggity 38
  • 39. Flash Diggity DIGGITY TOOLKIT • Google for SWF files on target domains • Example search: filetype:swf site:example.com • Download SWF files to C:DiggityDownloads • Disassemble SWF files and analyze for Flash vulnerabilities 39
  • 40. NEW GOOGLE HACKING TOOLS DEMO 40
  • 41. GoogleScrape Diggity DIGGITY TOOLKIT GoogleScrape Diggity • Uses Google mobile interface • Light-weight, no advertisements • Violates Terms of Service • Bot detection avoidance • Distributed via proxies • Spoofs User-agent and Referer headers • Random &userip= value • Across Google servers 41
  • 42. NEW GOOGLE HACKING TOOLS Baidu Diggity 42
  • 43. BaiduDiggity CHINA SEARCH ENGINE • Fighting back 43
  • 44. Advanced Defenses PROTECT YO NECK 44
  • 45. Traditional Defenses GOOGLE HACKING DEFENSES • “Google Hack yourself” organization • Employ tools and techniques used by hackers • Remove info leaks from Google cache • Using Google Webmaster Tools • Regularly update your robots.txt. • Or robots meta tags for individual page exclusion • Data Loss Prevention/Extrusion Prevention Systems • Free Tools: OpenDLP, Senf • Policy and Legal Restrictions 45
  • 46. Existing Defenses “H A C K Y O U R S E L F”  Tools exist  Convenient  Real-time updates  Multi-engine results  Historical archived data  Multi-domain searching 46
  • 47. Advanced Defenses NEW HOT SIZZLE Stach & Liu now proudly presents: • Google and Bing Hacking Alerts • SharePoint Hacking Alerts – 118 dorks • SHODAN Hacking Alerts – 26 dorks • Diggity Alerts FUNdle Bundles • Consolidated alerts into 1 RSS feed • Alert Client Tools • Alert Diggity – Windows systray notifications • iDiggity Alerts – iPhone notification app 47
  • 48. Google Hacking Alerts ADVANCED DEFENSES Google Hacking Alerts • All hacking database queries using • Real-time vuln updates to >2400 hack queries via RSS • Organized and available via importable file 48
  • 49. Google Hacking Alerts ADVANCED DEFENSES 49
  • 50. Bing Hacking Alerts ADVANCED DEFENSES Bing Hacking Alerts • Bing searches with regexs from BHDB • Leverages http://api.bing.com/rss.aspx • Real-time vuln updates to >900 Bing hack queries via RSS 50
  • 51. Bing/Google Alerts LIVE VULNERABILITY FEEDS World’s Largest Live Vulnerability Repository • Daily updates of ~3000 new hits per day 51
  • 52. Diggity Alerts One Feed to Rule Them All ADVANCED DEFENSE TOOLS Diggity Alert Fundle Bundle 52
  • 53. FUNdle Bundle ADVANCED DEFENSES 53
  • 54. FUNdle Bundle ADVANCED DEFENSES 54
  • 55. FUNdle Bundle MOBILE FRIENDLY 55
  • 57. SHODAN Alerts FINDING SCADA SYSTEMS 57
  • 58. SHODAN Alerts SHODAN RSS FEEDS 58
  • 59. Bing/Google Alerts THICK CLIENTS TOOLS Google/Bing Hacking Alert Thick Clients • Google/Bing Alerts RSS feeds as input • Allow user to set one or more filters • e.g. “yourcompany.com” in the URL • Several thick clients being released: • Windows Systray App • Droid app (coming soon) • iPhone app 59
  • 61. Alerts Diggity ADVANCED DEFENSES 61
  • 62. iDiggity Alerts ADVANCED DEFENSE TOOLS iDiggity Alerts 62
  • 63. iDiggity Alerts ADVANCED DEFENSES 63
  • 64. iDiggity Alerts ADVANCED DEFENSES 64
  • 65. New Defenses “G O O G L E / B I N G H A C K A L E R T S”  Tools exist  Convenient  Real-time updates  Multi-engine results  Historical archived data  Multi-domain searching 65
  • 66. Future Direction IS NOW 66
  • 67. Diggity Alert DB DATA MINING VULNS Diggity Alerts Database 67
  • 68. Dictionary Updates 3RD P A R T Y I N T E G R A T I O N New maintainers of the GHDB – 09 Nov 2010 • http://www.exploit-db.com/google-hacking-database-reborn/ 68
  • 69. Special Thanks Oscar “The Bull” Salazar Brad “BeSickWittIt” Sickles Nick “King Luscious” Harbin Prajakta “The Flasher” Jagdale Ruihai “Ninja” Fang Jason “Blk-majik” Lash
  • 70. Questions? Ask us something We’ll try to answer it. For more info: Email: contact@stachliu.com Project: diggity@stachliu.com Stach & Liu, LLC www.stachliu.com
  • 71. Thank You Stach & Liu Google Hacking Diggity Project info: http://www.stachliu.com/index.php/resources/tools/google-hacking-diggity-project/ 71