Coder Social home page Coder Social logo

rakhithjk / shellcode-in-memory-decoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhaskar/shellcode-in-memory-decoder

0.0 0.0 0.0 1.26 MB

A simple C implementation to decoded your shellcode and writes it directly to memory

License: GNU General Public License v3.0

C 58.96% Python 41.04%

shellcode-in-memory-decoder's Introduction

Shellcode-In-Memory-Decoder

A simple C implementation to decoded your shellcode and writes it directly to memory, You can use this code to perform process injection.

Usage

You need to encode your shellcode first, the file xor-encoder.py is a very simple example of how you can encode your shellcode using XOR.

Then you need to copy the output of xor-encoder.py and paste it into shellcode array in the file decoder.c.

To compile the code from Linux you can use Mingw64 Like the following:

x86_64-w64-mingw32-gcc decoder.c -o decoder.exe -w

After that, you can run it in the target machine and pass the PID like the following:

C:\Users\askar\Desktop>decoder.exe 3796

Run Decoder

And after we run it, we will get the following nice beacon:

GitHub Logo

shellcode-in-memory-decoder's People

Contributors

mhaskar 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.