Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

PhantomKiller

weaponizing a signed lenovo kernel driver to terminate any process — including EDR/AV protected processes.

overview

PhantomKiller abuses BootRepair.sys, a legitimate lenovo driver shipped with Lenovo PC Manager. the driver exposes a device object (\\.\BootRepair) with no DACL restrictions and a single IOCTL (0x222014) that takes a 4-byte PID and calls ZwTerminateProcess, no access checks, no caller validation, no protection.

full writeup: Phantom Killer — Reverse Engineering and Weaponizing a Lenovo Driver to Terminate EDR Processes

driver details

fieldvalue
file nameBootRepair.sys
sha2565ab36c116767eaae53a466fbc2dae7cfd608ed77721f65e83312037fbd57c946
signerLENOVO (Symantec Class 3 SHA256 Code Signing CA)
compiled2018-01-03
archx64
VT detections0/71 at time of discovery

vulnerability summary

  • device object created without secure DACL — any user can open a handle
  • IRP_MJ_CREATE (MajorFunction[0]) has no access checks
  • IRP_MJ_DEVICE_CONTROL (MajorFunction[14]) accepts IOCTL 0x222014
  • input: 4-byte DWORD (target PID)
  • internally calls PsLookupProcessByProcessIdObOpenObjectByPointerZwTerminateProcess
  • kills any process including PPL-protected AV/EDR processes

attack scenarios

driver already loaded: any low-privileged user can open the device and terminate any process on the system.

BYOVD: an attacker loads the signed driver via sc.exe or similar, then uses it to kill EDR processes before deploying post-exploitation tools.

usage

sc.exe create PhantomKiller binPath="C:\Path\to\BootRepair.sys" type=kernel
sc.exe start PhantomKiller
PhantomKiller.exe <pid>

disclaimer

this project is for educational and authorized security research purposes only. do not use this against systems you do not own or have explicit permission to test. the author is not responsible for any misuse.

author

j3h4ck@j3h4ck | linkedin | medium

关于 About

Another BYOVD process killer. works on all EDR's. fully signed.
byovdedredr-bypassedr-evasionredteaming

语言 Languages

C++100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
5
Total Commits
峰值: 5次/周
Less
More

核心贡献者 Contributors