Skip to content

Hook GetLocalTime(...) in kernelbase.dll for manipulate system time steps.

License

Notifications You must be signed in to change notification settings

proxytype/Clock-Hooker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clock-Hooker

alt text

Payload

Hook GetLocalTime(...) in kernelbase.dll for manipulate system time steps.

Payload 2

Hook GetTimeFormatEx(...) in kernelbase.dll to overwrite clock strings in process (ex: explorer.exe)

Requierments:

Microsoft Detours Library - https://github.com/microsoft/Detours

Compile:

  1. Unzip source code, open command line and enter to source directory
  2. SET DETOURS_TARGET_PROCESSOR=X64
  3. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
  4. NMAKE

Add detours.lib to Linker additional libraries.

Hooked Function:

  • GetLocalTime
  • GetTimeFormatEx

About

Hook GetLocalTime(...) in kernelbase.dll for manipulate system time steps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published