Comments (1)
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:
- If your project already has an installer: Change the logic from copying a file somewhere to writing these registry values
- You need to include the C# stager for Powershell, though, as it's mandatory.
- You could optionally write the payload executable to another registry value instead of writing it to the resources. This way, updating it might be easier.
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.
from living-off-the-land.
Related Issues (13)
- Windows defender detection HOT 6
- No longer works in Windows 11? HOT 6
- Error when compiling with my own exactable: "The magic number in GZip header is not correct. Make sure you are passing in a GZip stream." HOT 2
- Can't obfuscate OR encrypt run/start commands HOT 1
- Example of UI error HOT 2
- Compilation error HOT 22
- Is it possible to make LOTL starting 2 exes? HOT 6
- Living off the Land exe don't start at bootup in Windows VM HOT 10
- Is it possible to use your project to start a dll file? HOT 2
- Can you explain more about the persistence mechanism? HOT 1
- Payload size HOT 3
- How do i run the payload execution command in powershell? HOT 34
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from living-off-the-land.