BOF / COFF
Beacon Object Files / Common Object File Format
Last updated
Beacon Object Files / Common Object File Format
Last updated
Argument types for :
Type
Description
Unpack With (C)
b
binary data
BeaconDataExtract
i
4-byte integer
BeaconDataInt
s
2-byte short integer
BeaconDataShort
z
zero-terminated+encoded string
BeaconDataExtract
Z
zero-terminated wide-char string
(wchar_t *)BeaconDataExtract
A basic BOF example:
Search for argument types that the target BOF uses (usually located in accompanying Aggressor scripts):
Load the invoker into memory, fetch the BOF (-u
option) and run it providing necessary arguments with their types like this:
An example of running the BOF via RunOF from memory:
Compile RunOF.exe assembly and convert it to a PowerShell invoker (see )