Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.12 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.12 KB

dropper

Tool for automatic ROP chain generation

dropper aim to automatically generate a ROP chain capable of spwaning a shell once injected in the stack of an executable.

It is in a very early stage of development and without documentation :(

It uses the BARF framework [0] under the hood (but actually it works only with slighty modified version [1]).

Dependencies

  • BARF (actually this fork[1])
  • Pyelftools

Example

from dropper import dropper
dr = dropper.dropper('/bin/mv')
dr.analyze_all()
dr.add_shared_object('/lib/x86_64-linux-gnu/libc.so.6')
dr.set_function_for_address_resolving('strrchr')
pl = dr.build_spawn_shell_payload()

here a small demo video (classification and verification time were shorthen)

https://github.com/rizlik/dropper/blob/master/demo.mp4?raw=true

TODO

  • Analyze other categories of gadgets
  • Better chain generation
  • Use planning as rop chain generation strategy! (check planning branch)

Feel free con contact me for info

rizlik@inventati.org

[0] https://github.com/programa-stic/barf-project.git

[1] https://github.com/rizlik/barf-project.git