Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchConfig ¶
func PatchConfig(req *PatchConfigRequest) ([]byte, error)
PatchConfig patches a pre-compiled template binary with runtime config by invoking malefic-mutant patch-config.
func Sigforge ¶
func Sigforge(req *SigforgeRequest) ([]byte, error)
Sigforge manipulates PE file signatures using malefic-mutant sigforge tool
func Srdi ¶
func Srdi(req *SrdiRequest) ([]byte, error)
Srdi converts DLL to shellcode using malefic-mutant srdi tool
func Strip ¶
func Strip(req *StripRequest) ([]byte, error)
Strip removes paths from binary files using malefic-mutant strip tool
Types ¶
type PatchConfigRequest ¶
type SigforgeRequest ¶
type SigforgeRequest struct {
Operation string // extract, copy, inject, remove, check
SourceBin []byte // source PE file
TargetBin []byte // target PE file (for copy operation)
Signature []byte // signature data (for inject operation)
}
SigforgeRequest represents the parameters for the Sigforge tool
type SrdiRequest ¶
type SrdiRequest struct {
Bin []byte
Arch string // x86 or x64
FunctionName string
Platform string // win
Type string // link or malefic
Userdata []byte
}
SrdiRequest represents the parameters for the SRDI tool
type StripRequest ¶
StripRequest represents the parameters for the Strip tool
Click to show internal directories.
Click to hide internal directories.