Coder Social home page Coder Social logo

superuser5 / steelcon-python-injection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiphosresearch/steelcon-python-injection

0.0 0.0 0.0 136 KB

Python Process Injection PoC Code from my SteelCon talk in 2014

Home Page: http://www.xiphosresearch.com/2014/08/07/Process-Injection.html

License: Do What The F*ck You Want To Public License

Python 100.00%

steelcon-python-injection's Introduction

SteelCon 2014 - Python Process Injection Proof of Concept Code

Proof of Concept code written to demonstrate using python-ptrace to inject code into arbritary processes on Linux for my talk at SteelCon in July 2014.

Dependencies:

Licence:

See LICENCE.txt - uses the WTFPL licence.

What?

  • x86-inject.py - Simple x86 process injection tool for demonstration purposes.
  • x64-inject.py - Simple x86_64 process injection tool for demonstration purposes.
  • x64-inject-fork.py - Simple x86_64 process injection tool for demonstration purposes, which prepends the shellcode with a "fork" call in the hopes of not harming target process.
  • armv7l-inject.py - Simple ARMv7l process injection tool for demonstration purposes. (missing, somewhere on my Nexus 7...)
  • EnchantedMushroom.py - Multi Arch (ARMv7l, x86, x86_64) process injection tool which intelligently detects which architecture it is running on, and deploys the correct shellcode/technique as-needed
  • DiabolicalMouse-mass.py - Automatic stager for deploying python scripts in-memory across multiple hosts using SSH.

Author

Darren Martyn

Contact:

Best way is probably twitter - @info_dox

Thanks

Many thanks to the SteelCon crew for giving me a chance to present this, and also to my colleagues at Xiphos Research Labs who helped me out with presenting it and testing out the code.

Also thanks to jtripper, elfmaster, and the various authors of Phrack articles that helped me get the idea solid in my head and understand what I was trying to do with their sample code and articles and such

Notes

Lots of work to be done. Also, please, for the love of god, use your own shellcode...

steelcon-python-injection's People

Contributors

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