目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2017-6008 PoC — Sophos HitmanPro.Alert solution和Sophos Clean SurfRight HitmanPro 安全漏洞

来源
关联漏洞
标题: Sophos HitmanPro.Alert solution和Sophos Clean SurfRight HitmanPro 安全漏洞 (CVE-2017-6008)
Description:Sophos HitmanPro.Alert solution和Sophos Clean都是英国Sophos公司的病毒防护软件。SurfRight HitmanPro是其中的一个恶意软件扫描工具。 Sophos HitmanPro.Alert solution和Sophos Clean中的SurfRight HitmanPro 3.7.20 Build 286之前的版本的hitmanpro37.sys存在安全漏洞。本地攻击者可借助畸形的IOCTL调用利用该漏洞提升权限。
Description
Exploits for CVE-2017-6008, a kernel pool buffer overflow leading to privilege escalation.
介绍
# Exploit-CVE-2017-6008

The CVE-2017-6008 is a vulnerability in the HitmanPro scan that allows privilege escalation by exploiting a kernel pool buffer overflow.
The exploits here use the Quota Process Pointer Overwrite attack as described in the [Tarjei Mandt's paper](http://www.mista.nu/research/MANDT-kernelpool-PAPER.pdf)

Also, the exploits use my [Pool sprayer library](https://github.com/cbayet/PoolSprayer)

You can find a detailed paper on the Windows 7 exploit [here](https://www.gatewatcher.com/en/news/blog/kernel-pool-overflow-exploitation-in-real-world-windows-7)


# Windows 10 version

This version use another vulnerability in the hitmanpro37.sys driver, an Out-Of-Bounds read, which we use to leak the Pool Cookie.
This leak allows us to use the very same attack on Windows 10.

You can find a detailed paper of the exploit on Windows 10 [here](https://trackwatch.com/kernel-pool-overflow-exploitation-in-real-world-windows-10/)

# Update

The exploit used a technique described by Cesar Cerrudo in 2012 to elevate it's privileges by setting the field Privileges.Enabled of the TOKEN structure.

However, since Windows 10 v1607, the kernel now also checks the value of the Privileges.Present field of the Token.
The Privileges.Present field of the token is the list of privileges that CAN be enabled for this token, by using the AdjustTokenPrivileges API.
So the actual privileges of the TOKEN is now the bitfield resulting of Privileges.Present & Privileges.Enabled.

This means that the exploit in this current state doesn't work anymore since Windows 10 v1607.
Also, the exploit is also broken by the changes that happend in the pool since Windows 19H1, with the arrival of the segment heap in the kernel.

Updated work on Kernel pool exploitation since 19H1 is coming soon !
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →