駭客善用 Google 進階搜尋語法 (Operators),精準定位企業公開暴露的敏感資訊:帳號密碼、金鑰、憑證、內部文件、資料庫備份、伺服器配置、攝影機畫面、印表機管理介面、版控倉庫洩露等。這被稱為「被動資訊蒐集」或「開放源情報 (OSINT)」關鍵手法。
| 運算子 | 功能 | 範例 |
|---|---|---|
site: | 限定網域/子網域 | site:example.com |
filetype: / ext: | 限定檔案類型 | filetype:pdf ext:sql |
inurl: | URL 包含關鍵字 | inurl:admin inurl:login |
intitle: | 標題包含關鍵字 | intitle:"index of" "parent directory" |
intext: / allintext: | 頁面內文包含關鍵字 | intext:"confidential" "salary" |
cache: | 檢視 Google 快取頁面 | cache:example.com |
link: | 反向連結 (已棄用/限制) | - |
related: | 相關網站 | related:competitor.com |
| (OR) | 邏輯或 | filetype:xls | filetype:csv |
- (NOT) | 排除 | site:example.com -site:www.example.com (找子網域) |
" " | 精確詞組 | "internal use only" |
* | 萬用字元 (單詞級) | admin * panel |
# 資料庫備份/匯出
site:target.com filetype:sql | filetype:dump | filetype:bak | filetype:dmp
# 設定檔/憑證/金鑰
site:target.com ext:xml | ext:conf | ext:config | ext:ini | ext:env | ext:yaml | ext:yml intext:password | intext:secret | intext:api_key | intext:private_key
# 文件/試算表含敏感資料
site:target.com filetype:xls | filetype:xlsx | filetype:csv intext:"password" | intext:"ssn" | intext:"credit card"
# 版控/建構產物洩露
site:target.com inurl:".git" | inurl:".svn" | inurl:".hg" | inurl:".bzr"
intitle:"index of" ".git" | ".svn" | "WEB-INF" | "backup"
site:target.com inurl:login | inurl:admin | inurl:wp-admin | inurl:phpmyadmin | inurl:cpanel | inurl:webmail | inurl:owa | inurl:rdweb
intitle:"login" "admin" | "administrator" | "dashboard" | "control panel"
site:target.com intext:"sql syntax" | "mysql_fetch" | "ORA-" | "Microsoft OLE DB" | "ODBC Driver" | "stack trace" | "exception" | "debug" | "traceback"
# 攝影機/印表機/NAS/路由器管理介面
inurl:"viewerframe?mode=motion" | inurl:"webcam" | inurl:"camera" | inurl:"nvr"
intitle:"webcam" | "IP Camera" | "Network Camera" | "Printer" | "NAS" | "Router" "login"
# Shodan/Censys/ZoomEye 更適合此類資產發現
# 專利/財報/策略文件
site:competitor.com filetype:pdf "confidential" | "internal" | "strategic" | "roadmap" | "budget"
# 專利搜尋
site:patents.google.com "competitor name" "keyword"
# 部落格/社群洩露
site:linkedin.com "competitor" "project" | "launch" | "hiring"
site:github.com "competitor" "api_key" | "secret" | "password"
| 服務 | 情報用途 | 風險範例 |
|---|---|---|
| Google Earth / Maps | 衛星影像/街景檢視競爭對手工廠佈局、載貨碼頭、數據中心外觀、實體安全設施 | 推斷產能、供應鏈、實體滲透路徑 |
| Google Patent Search | 檢視競爭對手專利全文,了解技術佈局、研發方向、關鍵參數 | 專利申請過度揭露商業秘密 (製程參數、配方、演算法細節) |
| Google Blog Search / Blogspot | 員工部落格可能洩露專案代號、技術棧、內部術語、甚至程式碼片段 | 社交工程素材、技術偵察 |
| Google Alerts | 設定關鍵字 (公司名、產品代號、高管名字、專利號) 每日郵件推送,即時掌握公開曝光資訊 | 自動化 OSINT 監控、早期洩露發現 |
| Google Drive / Docs / Sheets (公開分享) | 搜尋 `site:docs.google.com "company name" "confidential"` 發現誤設為公開的雲端文件 | 內部會議紀要、薪資表、客戶名單外洩 |
Google 是駭客最強大的「被動掃描器」,無需發送任何封包即可繪製攻擊面。企業必須建立「持續 OSINT 監控 → 快速修復洩露 → 根因改善 (SDLC/配置管理/權限最小化) → 員工意識提升」的閉環機制,將攻擊面壓縮至最小。記住:被 Google 索引到的資訊,即等於公開資訊。