PSDetour

Windows Detour Hooking in PowerShell

MIT License

Stars
65

Bot releases are hidden (Show)

PSDetour - v0.4.1 Latest Release

Published by jborean93 about 1 year ago

What's Changed

v0.4.1 - 2023-08-03

  • Allow using a scriptblock backed by a FunctionDefinitionAst (${Function:Func-Name}) for hooks provided to Trace-PSDetourProcess

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.4.0...v0.4.1

PSDetour - v0.4.0

Published by jborean93 about 1 year ago

What's Changed

v0.4.0 - 2023-08-03

  • Automatically define -FunctionsToDefine in the hooks being run with Trace-PSDetourProcess, no need to call $this.State.GetFunction('Name') to redefine it
    • $this.State.GetFunction has been removed and will no longer work
  • Ensure the scriptblocks used with Trace-PSDetourProcess keep the original stacktrace locations for better debugging

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.3.1...v0.4.0

PSDetour - v0.3.1

Published by jborean93 about 1 year ago

What's Changed

v0.3.1 - 2023-07-25

  • Added lock for Trace-PSDetourProcess output pipe to avoid multiple threads clobbering the serialized output

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.3.0...v0.3.1

PSDetour - v0.3.0

Published by jborean93 over 1 year ago

What's Changed

v0.3.0 - 2023-06-13

  • Added Trace-PSDetourProcess to make it easier to start hooks for auditing in other processes
    • This provides a common mechanism that can be used to output data from a remote hook as well as wait for input data in the hook itself
  • Provides a DetouredModules property in the hooks $this variable
    • This provides access to other detoured method's InvokeContext allowing the hook to call the underlying API
  • Remove separate parameter sets for New-PSDetourHook
    • A breaking change is that DllName and MethodName must be specified with Address now
  • Added option -AddressIsOffset to specify -Address is located at the offset of the -DllName when loaded in the process

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.2.0...v0.3.0

PSDetour - v0.2.0

Published by jborean93 over 1 year ago

What's Changed

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.1.1...v0.2.0

PSDetour - v0.1.1

Published by jborean93 almost 2 years ago

What's Changed

Full Changelog: https://github.com/jborean93/PSDetour/compare/v0.1.0...v0.1.1

PSDetour -

Published by jborean93 almost 2 years ago

v0.1.0 - 2022-10-25

  • Initial version of the PSDetour module
Badges
Extracted from project README
Test workflow codecov PowerShell Gallery License