Documentation ¶
Index ¶
- func Fexecve(fd uintptr, argv []string, envv []string) (err error)
- func FexecveDaemon(fd uintptr, argv []string, envv []string) (err error)
- func Filelessxec(cfg *config.Config)
- func PrepareStealthExec(content string) (mfd *memfd.Memfd)
- func UnstealthyExec(filename string, argv []string, envv []string) (err error)
- func WriteBinaryFile(filename string, content string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fexecve ¶
Exec binary file using file descriptor Note: syscall.Exec does not return on success, it causes the current process to be replaced by the one executed
func FexecveDaemon ¶
FexecveDaemon: Exec binary file using file descriptor. The program is a daemon (setsid). No input, or output
func PrepareStealthExec ¶
func PrepareStealthExec(content string) (mfd *memfd.Memfd)
Create a memfd with binary content and return it
func UnstealthyExec ¶
UnstealthyExec file retrieve output
func WriteBinaryFile ¶
Write Binary file on disk and chmod it to make it executable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.