bytecode77 / living-off-the-land

Fileless attack with persistence
https://bytecode77.com/living-off-the-land
BSD 2-Clause "Simplified" License
279 stars 52 forks source link

Is it possible to explain more how to set our own executable? #1

Closed randomUser7852 closed 3 years ago

randomUser7852 commented 3 years ago

Hi,

I understood the payload project was the project executed, but is it possible to explain more how to set our own project?

Is a way to just add our executable?

Is there any action or characteristics that might reveal the executable?

BR and excellent work

bytecode77 commented 3 years ago

The example executable is a C++ project that is copied into the Resources\ directory on build. You could delete the project and just place your own executable in Resources.

However, I do recommend to integrate the code into your Visual Studio project, so you have all build events, etc. set up correctly. It's very easy to do and you can tailor it to your project:

This is a PoC, not a builder for a fileless system. The gist of this project is to explain the code step-by-step, so that anyone can take the idea from it and make their own implementation based on the PoC. You can take most of the source code as is and integrate it into your project.