michal-z
Joined 5 years ago
Joined 5 years ago
bof-launcher is an open-source library for loading, relocating and launching BOFs on Windows and UNIX/Linux systems. It's an alternative to Trustedsec's COFFLoader and ELFLoader with some very interesting features:
* Fully compatibile with Cobalt Strike's Beacon. Can compile and run every BOF available at Cobalt Strike Community Kit and every other open-source BOF that adheres to generic BOF template.
* Distributed as a fully standalone library with zero dependency (it does not even use libc).
* Fully integrable with programs written in C/C++ and/or Zig progamming languages.
* Adds capability to write BOFs in Zig programming language - which is a low-level langauge with a goal of being a "better C". All the features of the language and rich standard library can be used in BOFs (hash maps and other data structures, cross-platform OS layer, http, networking, threading, crypto and more).
* Asynchronous BOF execution - capability to launch more time-consuming BOFs in a separate thread.
* BOF process injection - capability to launch more risky BOFs (i.e. privilege escalation exploits) by injecting it to a new process.
* Seamless support for both Windows COFF and UNIX/Linux ELF formats.
* ARM and AARCH64 support on Linux.
* Used in our cli4bofs tool that allows for running BOF files directly from a filesystem.
* Very flexible and efficient API allowing for so called BOF chaining.
zig-gamedev project provides Win32/D3D12 API bindings that can be used on Windows and Linux.
Wine with VKD3D-Proton provides robust solution for emulating Windows runtime.
Above components combined together gives very nice development environment for building DirectX 12 applications on Windows and Linux.
Project homepage: https://github.com/michal-z/zig-gamedev
Minimal DirectX 12 application that can be developed on Windows and Linux: https://github.com/michal-z/zig-gamedev/tree/main/samples/mi...
This works by capturing render output to a transient buffer and then playing it back at human-discernable speed.
https://twitter.com/MichalZiulek https://github.com/michal-z/zig-gamedev