Git Product home page Git Product logo

jeperez / shellcode-implant-stub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stufus/shellcode-implant-stub

0.0 2.0 0.0 56 KB

Source code in Win32 ASM and C for a shellcode execution wrapper designed to mitigate the risk of shellcode execution on a host other than a target network, intended for penetration testers and simulated attackers.

License: MIT License

PowerShell 2.31% Python 14.15% C 36.85% Batchfile 1.52% Assembly 45.17%

shellcode-implant-stub's Introduction

Almost all simulated attacks will require, at some point, the installation of a RAT and the establishment of a command and control (C2) channel. Unless you use your own custom RAT, you have limited control over the code that you use; for example publicly available options include:

There are three features that I have been looking for:

  • A check to only allow the implant to run once (either per user or globally).
  • Validation that the implant is being executed on the correct host or a host within scope.
  • A check to ensure that the implant is not executed after a certain time (i.e. the end of the engagement).

This project centres around being able to place existing shellcode inside a container that performs the above checks before executing it. It is designed for implant safety, not for anti-virus or incident response evasion.

A full blog post is available at https://labs.mwrinfosecurity.com/blog/safer-shellcode-implants/

shellcode-implant-stub's People

Contributors

stufus avatar

Watchers

James Cloos avatar José Enrique Pérez Fernández avatar

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.