MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / indirectSyscall

Struct indirectSyscall

internal/evasion/indirect_syscall.go:60–62  ·  view source on GitHub ↗

indirectSyscall evasion refers to executing the syscall instruction by diverting the execution flow into a legitimate, clean ntdll stub that performs the syscall on process behalf. This achieves code origin legitimacy, since the execution lands in .text of a signed Microsoft module (ntdll.dll). Sta

Source from the content-addressed store, hash-verified

58// of a signed Microsoft module (ntdll.dll). Stack frames look identical to
59// a normal API call, which achieves call stack normalization.
60type indirectSyscall struct {
61 offsets map[event.Type]uintptr // stores expected syscall stub offsets
62}
63
64func NewIndirectSyscall() Evasion {
65 return &indirectSyscall{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected