From 54464906ea6b70be7cf0a8076beb8b0abd53a4c5 Mon Sep 17 00:00:00 2001 From: Ne0nd0g Date: Tue, 1 Jan 2019 13:39:59 -0500 Subject: [PATCH] Added in missing ExecuteShellcodeRtlCreateUserThread function --- pkg/agent/exec.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/agent/exec.go b/pkg/agent/exec.go index 0828a143..eb6c55ba 100644 --- a/pkg/agent/exec.go +++ b/pkg/agent/exec.go @@ -61,6 +61,11 @@ func ExecuteShellcodeRemote(shellcode []byte, pid uint32) error { return errors.New("shellcode execution is not implemented for this operating system") } +// ExecuteShellcodeRtlCreateUserThread executes provided shellcode in the provided target process using the Windows RtlCreateUserThread call +func ExecuteShellcodeRtlCreateUserThread(shellcode []byte, pid uint32) error { + return errors.New("shellcode execution is not implemented for this operating system") +} + // ExecuteShellcodeQueueUserAPC executes provided shellcode in the provided target process using the Windows QueueUserAPC API call func ExecuteShellcodeQueueUserAPC(shellcode []byte, pid uint32) error { return errors.New("shellcode execution is not implemented for this operating system")