evasion

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Patch

func Patch(module string, proc string, data *[]byte) (string, error)

Patch will find the target procedure and overwrite the start of its function with the provided bytes. Used to for evasion to patch things like amsi.dll!AmsiScanBuffer or ntdll.dll!EtwEvenWrite

func Read

func Read(module string, proc string, byteLength int) ([]byte, error)

Read will find the target module and procedure address and then read its byteLength

func ReadBanana

func ReadBanana(module string, proc string, byteLength int) ([]byte, error)

ReadBanana will find the target procedure and overwrite the start of its function with the provided bytes directly using the NtReadVirtualMemory syscall

func Write

func Write(module string, proc string, data *[]byte) error

Write will find the target module and procedure and overwrite the start of the function with the provided bytes

func WriteBanana

func WriteBanana(module string, proc string, data *[]byte) error

WriteBanana will find the target module and procedure and overwrite the start of the function with the provided bytes using the ZwWriteVirtualMemory syscall directly

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL