This is a kernel pwnable for Windows 10. Exploit works on RS4 with medium integrity. In RS3 low integrity was enough, because HM could be used to leak palette object addresses.
It was called "elgoog2" at 34C3 CTF, but had an unintended bug. Brought back for WCTF 2018, as "searchme".
We have a kernel driver that deals with document indexing. It lets
you build an in index by adding documents incrementally to an index, and
then compressing the posting lists using an [binary interpolative code][1],
of course all in kernel land, IOCTLs. Data structures are stored on
the paged kernel pool.
While adding documents to an in list, the code [tries to keep the list
unique][2] but clearly this is broken because we can just add the same document
twice with one other document in between.
Then we can trigger an awkward mismatch between the [size computation][3] and
[actual implementation][4] of the interpolati, which allows us to
write more than the size that was computed. So we can make almost all of thewrite_XXX functions receive an out-of-bounds *buf pointer. For write_bit,
this is a problem, because the bounds check is incorrect, and hence we can
o by one byte.
The primitive we can obtain from this bug is an arbitrary off-by-one o
in the paged kernel pool, where some NT data structures but also all of the
elgoog-specific data structures reside.
The intended solution was to corrupt the PrevSize field of a _POOL_HEADER and
trigger a backward consolidation, leading to o pool chunks. With that
we can corrupt elgoog's own data structures that contain pointers, and achieve
an arbitrary write. Refer to the [exploit code][5] for details.
We then use that to o our own SEP_TOKEN_RPI and give us debug
pri, which allows us to inject code into winlogon.exe.
[1]:
[2]:
[3]:
[4]:
[5]:
开发语言:C
Star 数:66
该项目属于CTF思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕elgoog/searchme challenge from 34C3 CTF / WCTF 2018: sources & exploit展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | elgoog - elgoog/searchme challenge from 34C3 CTF / WCTF 201 |
| 所属分类 | CTF思路 |
| 发布作者 | admin |
| 发布时间 | 2026-10-06 00:02:21 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 181 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |