This is a Beacon Object File (BOF) that executes unmanaged PEs inline and retrieves their output without allocating a console…