Skip to content

BSD payload

Native BSD agent for the commercial tier. Supports core agent commands plus BSD-specific operations like sh, chmod, and in-memory ELF execution via load-elf.

Plugin ID: shelldot.payload.bsd

Template ID (x64): shelldot.payload.bsd-x64

Supported types: DEBUG_EXECUTABLE, EXECUTABLE

These types describe the generated payload itself. Its command and listener ExecUnits use FreeBSD native libraries; see ExecUnit Execution on FreeBSD for their compatibility and communication model.

Info

Currently limited to x64 FreeBSD systems. Payload generation supports executable output, while the runtime accepts native-library ExecUnits. This does not imply compatibility with other BSD operating systems or every FreeBSD release.

Configuration

Attribute Required Default Explanation
type Yes None The payload type. Options: DEBUG_EXECUTABLE, EXECUTABLE.
initialWait No 0 Seconds to wait after startup before launching the main payload code.
paddingSize No 0 Number of bytes of NULL-padding appended to the payload. Positive values normally inflate the file size; zero, negative, or omitted values add no padding.
pluginLoadingDirectory No Not set Directory used for temporary files for plugin loading.
customTemplate No Built-in template A filename or relative path beneath this plugin's configured template directory, or a direct http: or https: URL.
mutex No Not set A string-based mutex that prevents the payload from launching multiple concurrent instances with the same mutex value on the same machine.
autoDestructDate No Not set ISO-8601 timestamp after which the agent will terminate itself automatically.