Giter Site home page Giter Site logo

v1stra / leopardseal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zimnyaa/leopardseal

0.0 0.0 0.0 13 KB

A simple Linux in-memory .so loader

Home Page: https://tishina.in/execution/linux-evasion-primitives

License: MIT License

Python 76.70% Nim 23.30%

leopardseal's Introduction

LEOPARDSEAL

LEOPARDSEAL is a simple Linux in-memory .so loader created for practicing techniques described in https://tishina.in/execution/linux-evasion-primitives and maybe even some real-world usage.

Currently, when preloading itself, it runs two copies, which I consider a good thing. You can tamper with the function used to start the process to change this behaviour.

I use sliver> generate -o linux -f shared --run-at-load to create end payloads for this.

usage

LEOPARDSEAL is written to be used to create several loader stages, either with run-at-load chaining or with signaling: lseal_signals lseal_nnosignals

The amount of features is by no means staggering:

 LEOPARDSEAL: a linux loader without an ASCII banner

usage: build.py [-h] [-o OUTPUT] [-p PROCESSNAME] [-f PREFORKS] [--signal] [--wait] [--shared] [--forever] [-s SO]

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        output
  -p PROCESSNAME, --processname PROCESSNAME
                        process to preload to
  -f PREFORKS, --preforks PREFORKS
                        prefork count
  --signal              send a SIGINT to the child process
  --wait                wait for SIGINT before running (only for shared libraries)
  --shared              generate an .so file
  --forever             run forever

required arguments:
  -s SO, --so SO        path to the .SO library

The loader is quite unstable at the moment, but it's nothing a quick 15-minute debugging session won't fix ;)

leopardseal's People

Contributors

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