Code Monkey home page Code Monkey logo

Comments (1)

bytecode77 avatar bytecode77 commented on June 20, 2024

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 (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.