Active Directory 自動列舉
Active Directory 自動列舉 列舉 AD 好用的自動化工具 - PingCastle https://www.pingcastle.com/ 這是一個付費工具 - BloodHound https://bloodhound.readthedocs.io/en/latest/ 我們主要會用這個免費工具 - SharpHound https://bloodhound.readthedocs.io/en/latest/data-collection/sharphound.html 收集資料 匯入 Sharphound 模組,一樣記得要先 powershell -ep bypass 為了運行 SharpHound 必須先運行 Invoke-BloodHound 預設情況下,SharpHound 會收集 JSON 檔案中的資料並自動為我們壓縮它們。這樣方便我們以後將檔案傳輸到Kali Linux上。我們將此輸出檔案保存在桌面上,並帶有 “corp audit” 前綴 指令 Invoke-BloodHound -CollectionMethod All -OutputDirectory C:\Users\stephanie\Desktop\ -OutputPrefix "corp audit" , 需要一段時間收集相關資訊,查看桌面文件時發現有另外一個 bin 檔案,這是快取檔案用以加快資料收集速度用,分析並不需要它所以可以直接刪除或忽略 練習 1 : 使用 SharpHound 收集域資料。我們可以使用 SharpHound 的哪個函數來查看域在較長時間內發生的變化? 查看這裡 https://bloodhound.readthedocs.io/en/latest/data-collection/sharphound.html 可以知道使用 --loop 練習 2 : SharpHound 中的哪種語法允許我們對生成的 .zip 檔案設定密碼? 參考 https://github.com/BloodHoundAD/SharpHound 答案 --zippassword kali 機器上 neo...