Skip to content

jordan9001/darkelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

darkelf

Infects an elf64

This program will take a standard elf64 binary, and give it a new main. The new main will load a shared object of the users choice, and run an exported function before it returns to the original main.

Note, this is a proof of concept, and does not cover a lot of edge cases! If you want to actually be sneaky, don't use this as is! This does not handle PIE binaries right now.

possible later TODO: do our own dlopen/dlsym (fixes PIE as well)

Releases

No releases published

Packages

No packages published

Languages