• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mrexodia/TitanHide: Hiding kernel-driver for x86/x64.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

mrexodia/TitanHide

开源软件地址(OpenSource Url):

https://github.com/mrexodia/TitanHide

开源编程语言(OpenSource Language):

C 79.3%

开源软件介绍(OpenSource Introduction):

Do not come here and open issues about problems with installation, crashes with bug check 0x109: CRITICAL_STRUCTURE_CORRUPTION or questions on how to disable PatchGuard. I will permanently ban you from the issue tracker. If you don't know how to properly install the tool you don't know enough to use it responsibly and you should use something else like ScyllaHide. To disable PatchGuard, try EfiGuard, UPGDSED or Shark.

Overview

TitanHide is a driver intended to hide debuggers from certain processes. The driver hooks various Nt* kernel functions (using SSDT table hooks) and modifies the return values of the original functions. To hide a process, you must pass a simple structure with a ProcessID and the hiding option(s) to enable, to the driver. The internal API is designed to add hooks with little effort, which means adding features is really easy.

The idea for this project was thought of together with cypher, shoutout man!

Features

  • ProcessDebugFlags (NtQueryInformationProcess)
  • ProcessDebugPort (NtQueryInformationProcess)
  • ProcessDebugObjectHandle (NtQueryInformationProcess)
  • DebugObject (NtQueryObject)
  • SystemKernelDebuggerInformation (NtQuerySystemInformation)
  • SystemDebugControl (NtSystemDebugControl)
  • NtClose (STATUS_INVALID_HANDLE/STATUS_HANDLE_NOT_CLOSABLE exceptions)
  • ThreadHideFromDebugger (NtSetInformationThread)
  • Protect DRx (HW BPs) (NtGetContextThread/NtSetContextThread)

Test environments

  • Windows 10 x64 & x86
  • Windows 8.1 x64 & x86
  • Windows 7 x64 & x86 (SP1)
  • Windows XP x86 (SP3)
  • Windows XP x64 (SP1)

Compiling

  1. Install Visual Studio 2013 (Express Edition untested).
  2. Install the WDK10/WDK8/WDK7.
  3. Open TitanHide.sln and hit compile!

Installation Method 1

  1. Copy TitanHide.sys to %systemroot%\system32\drivers.
  2. Run the command sc create TitanHide binPath= %systemroot%\system32\drivers\TitanHide.sys type= kernel to create the TitanHide service.
  3. Run the command sc start TitanHide to start the TitanHide service.
  4. Run the command sc query TitanHide to check if TitanHide is running.

Installation Method 2

  1. Copy TitanHide.sys to %systemroot%\system32\drivers.
  2. Start ServiceManager.exe (available on the download page).
  3. Delete the old service (when present).
  4. Install a new service (specify the full path to TitanHide.sys).
  5. Start the service you just created.
  6. Use TitanHideGUI.exe to set hide options for a PID.

Testsigning & PatchGuard

To enable testsigning run the following command:

bcdedit /set testsigning on

To disable PatchGuard, find a tool like KPP Destroyer to disable it (Google is your friend). To check if TitanHide is working correctly, use DebugView or check C:\TitanHide.log. You can also try EfiGuard, UPGDSED or Shark.

Remarks

  • When using x64dbg, you can use the TitanHide plugin (available on the download page).
  • NEVER RUN THIS DRIVER ON A PRODUCTION SYSTEM, ALWAYS USE A VM!



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Sponsor @mrexodia on GitHub Sponsors · GitHub发布时间:2022-06-17
下一篇:
lamw/ghettoVCB: ghettoVCB发布时间:2022-06-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap