百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

GhostKatz

> 编程语言
开源

通过易受攻击的内核驱动程序中的物理内存读取原语泄露 LSASS

338 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

通过易受攻击的内核驱动程序中的物理内存读取原语泄露 LSASS

GhostKatz

Extract LSASS credentials directly from physical memory by abusing signed vulnerable drivers with physical memory read primitives via MmMapIoSpace, bypassing traditional user-mode detection capabilities.

This tool was developed in collaboration between Julian Peña and Eric Esquivel.

This release of GhostKatz uses drivers that have already been publicly disclosed as vulnerable. For best results, GhostKatz is intended to operate with kernel drivers that expose read-memory primitive vulnerabilities and are not blocked during loading / publicly known. This public release does not include exploits for previously undisclosed drivers. Instead, the project is designed to be modular and extensible, allowing users to research their own drivers and integrate them by extending the read-memory primitive functions in utils.c. Internally, we have automated the discovery and exploitation process and maintain several signed kernel drivers with written exploits.

If you would like to contribute, please see the contribution documentation.

Why did we make GhostKatz?

We wanted to start learning how to exploit kernel drivers and thought this would be a cool project. We were also inspired when we saw Outflank's KernelKatz tool and wanted to use it, but we do not have Outflank since we are students. So we made our own.

Usage

Run make to compile the BOFs.

Load the ghostkatz.cna Aggressor Script into your Script Manager.

To run GhostKatz, use the command ghostkatz [logonpasswords/wdigest] -prv .

You can run the help command in your Beacon console with: help ghostkatz.

beacon> help ghostkatz
Synopsis: ghostkatz [logonpasswords/wdigest] -prv 
Description:
  Dump credentials from LSASS by using signed kernel drivers to read physical memory.

Examples:
  ghostkatz logonpasswords -prv 1
  ghostkatz wdigest

Demo

Tested Windows Versions

These are simply the versions we manually stress tested. Major versions such as 1607 should not have breaking changes across minor build updates.

  • Windows Server 2012 R2
    • Version 6.3 (OS Build: 9600)
  • Windows Server 2016
    • Version 1607 (OS Build: 14393.693)
  • Windows Server 2019
    • Version 1809 (OS Build: 17763.3650)
  • Windows 10
    • Version 21H2 (OS Build: 19044.6809)
    • Version 22H2 (OS Build: 19045.6466)
  • Windows Server 2022
    • Version 21H2 (OS Build: 20348.587)

[!WARNING] While GhostKatz has been tested thoroughly, you should use discretion if deploying in production. GhostKatz leverages vulnerable kernel drivers. It is possible errors may result in a BSOD.

Providers

Drivers that can be exploited with GhostKatz

Id Vendor Driver Name SHA256
1 Toshiba TPwSav 011df46e94218cbb2f0b8da13ab3cec397246fdc63436e58b1bf597550a647f6
2 TechPowerUp ThrottleStop 16f83f056177c4ec24c7e99d01ca9d9d6713bd0497eeedb777a3ffefa99c97f0

Resources

  • Outflank - Mapping Virtual to Physical Addresses Using Superfetch
  • UnknownCheats - [Information] NtQuerySystemInformation SystemSuperfetchInformation by Midi12
  • Physical Graffiti Lsass
  • Dumping LSASS with WinDBG and PyKD
  • Mimkatz structures, key offsets
  • Dumping MSV1 logon credentials
  • XPN Exploring Mimikatz WDigest

Special Thanks

Thank you to ch3rn0byl and Cedric for your time answering the dumb questions we had on the kernel, drivers, and Superfetch.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言