資訊搜集
1.子域名資訊
(1)主域防護嚴密,迂回拿下子域,進而靠近主域
www.aaa.com不存在漏洞
edu.aaa.com存在漏洞,拿下子域
(2)工具:Maltego ,wydomain,subDomainsBrute,DNSMAPER,Layer子域名挖掘機
(3)搜索引擎進行挖掘,谷歌語法
(4)第三方網站:http://tool.chinaz.com/subdomain,http://dnsdumpster.com
(5) 證書透明度公開日志列舉:https://crt.sh/ http://censys.io/
(6)其他途徑:https://phpinfo.me/domain http://dns.aizhan.com
2.CMS指紋識別
(1)CMS,又稱整站系統或文章系統,用于網站內容管理,各種CMS都具有獨特的結構命名規則和特定的檔案內容,可以獲取CMS站點的具體軟體和版本,如:dedecms Discuz phpcms wordpress
(2)在線識別: http://whatweb.bugscaner.com/look/ http://www.yunsee.cn/finger.html
(3)本地工具: whatweb 御劍web指紋識別程式 大禹CMS識別程式 wpscan
(4)CMS漏洞查詢:https://bugs.shuimugan.com
3.敏感目錄
(1)御劍后臺掃描工具
(2)wwwscan
(3)dirb
(4)dirbuster
4.埠資訊
(1) netstat -anbo netstat -panto
(2)namp
(3)masscan
(4)在線網站:http://tool.chinaz.com/poprt/
(5)埠攻擊:
| 22 | SSH遠程連接 | 爆破,SSH隧道及內網代理轉發,檔案傳輸
| 23 | Telnet遠程連接 | 爆破,嗅探,弱口令
| 3389| rdp遠程桌面 | shift后門,爆破
| 5900 | VNC遠程連接 | 弱口令,RC
|5632 | PcAnywhere | 嗅探,代碼執行
(6)搜索埠攻擊
5.敏感資訊
(1)搜索引擎搜索目標暴露在互聯網上的關聯資訊(資料庫檔案,SQL注入,服務器配置資訊,通過git找到泄露的原始碼,redis,robots.txt
(2)谷歌黑客:
site 搜索域名 site:baidu.com
inurl 指定URL的關鍵字 inurl:php?id=
intext 網頁的關鍵字 intext:網站管理
filetype 檔案型別 filetype:txt
intitle 網頁標題的關鍵字 intitle:后臺管理
link 網頁連接 link:baidu.com
info 搜索網頁資訊 info:baidu.com
(3)Google hacking資料庫
(4)HTTP頭
(5)Github
6.CDN(內容分發網路)與IP
(1)ping 命令
(2)在線ping 站長之家,多地ping
(3)有CDN查IP:
收集內部郵箱IP地址
phpinfo
查詢子域名,子站可能未使用CDN
國外訪問網站,https://asm.ca.com/en/ping.php
查看域名決議記錄
7.shaodan
(1)webcam 搜索攝像頭
(2) port:埠號
(3)host:xxx.xxx.xxx.xxx 搜索IP
(4)city:beijing 搜索城市
(5)shodan命令列:
初始化: shodan init API KEY
shodan count Apache 查詢Apache服務數量
shodan search microsoft iis 6.0 命令列搜索

獲取指定IP資訊:shodan host xxx.xxx.xxx.xxx
獲取賬號資訊: shodan info 查看自身賬戶資訊
獲取自身外部IP: shodan myip
檢測蜜罐: shodan honeyscore xxx.xxx.xxx.xxx
配合python , https://developer,shodan.io/api
import shodan
SHODAN_API_KEY=" 值 "
api=shodan.Shodan(SHODAN_API_KEY)
result=api.search('apache')
result2=api.host('1111.111.111.111')
print(result['total'][)
8.服務器,容器,腳本型別,資料庫
(1)ping 主機判斷Windows Linux ,Windows的TTL值都是一般是128,Linux則是64,所以大于100的肯定是Windows,而幾十的肯定是Linux
(2)nmap -O -sV -T4
(3)HTTP頭
(4)瀏覽器插件
9.旁站 C段
在線查詢 http://www.webscan.cc/ https://phpinfo.me/bing.php
10.漏洞掃描
AWVS Nessus Appscan OWASP-ZAP
11.管理員資訊
賬號資訊
12whois資訊
13社工
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/289170.html
標籤:其他
上一篇:加殼學習系列(二)-殼代碼
下一篇:DC-1滲透靶機詳解
