Giter Club home page Giter Club logo

pie's Introduction

Persistent Windows Python Backdoor

Proof of Concept Python persistence kit

This project started when I was looking at ways of gaining persistence with Python-based malware. I didn't find much information about gaining it on modern Windows boxes. There are the obvious ways we all know and love; but those are too well known to be effective nowadays. So I decided to create the Python Infection Engine (PIE) with a goal of parasitic infection on Python scripts.

While I was creating PIE it soon became apparent that a delivery system was also needed. That is when 'snekhunt' was born. Yes, it's quite hacky script; it was written on the fly with little to no planning and 'just had to work'. It may be something that needs adjusting per system but it's achieved its goal for me. It may be something I revisit later to clean it up.

PIE can be a little unstable. There are some scripts it completely fails to infect. Usually this is to do with the import section of the host script being a little more 'involved' than your average script. It's not something I'm looking to work on right now. I think a better workaround would be to limit the scope of snekhunt to pick out more specific/well-used libraries.

Accompanying article

pie's People

Contributors

redskal avatar

Stargazers

lindwell avatar

Watchers

 avatar

Forkers

gavz lindwell

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.