Giter Site home page Giter Site logo

shaddy43 / position_independent_backdoor Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.59 MB

This project contains methodology of creating position independent code that is used to extract shellcode from the generated binary. Position independent shellcode could be injected in any process for evading defenses and creating backdoors.

Assembly 72.40% C++ 20.67% C 5.54% CMake 0.66% Python 0.73%
shellcode customshellcode injector processinjection backdoor c3

position_independent_backdoor's Introduction

Position_Independent_Backdoor

This project contains methodology of creating position independent code that is used to extract shellcode from the generated binary. Position independent shellcode could be injected in any process for evading defenses and creating backdoors. This code is called position independent code because it doesn't depend on a linker to resolve external dependencies like importing dlls and using functions inside.

It uses cmd to get commands from the c3 server after every 10 seconds and execute it on the system. With the help of MSVC we can convert this code to .asm file and then link those assembly instructions to a binary. After that we can extract shellcode from the .text section of that binary.

A demo video provided that takes commands from c3 and execute on victim system: This demo uses a custom injector https://github.com/shaddy43/Donut_Injector, with custom shellcode encryptor https://github.com/shaddy43/AES_Shellcode_Encryptor to encrypt and save custom created shellcode which is injected in a running process.

bandicam.2022-04-10.00-24-00-749.mp4

position_independent_backdoor's People

Contributors

shaddy43 avatar

Stargazers

 avatar  avatar

Watchers

 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.