elfbin is a python library that enables ELF - based code injection and execution. To that end, LIEF, an ELF - parser, is partially used to parse an ELF - file and perform code injections. On the other hand, a custom parser is used to do all the operations LIEF does not want to do.
This library aims to support analysis of ELF - files using Frida. It specifically targets ELF - files that are created for AARCH64 - architectures with Android OS.
There is currently only one way to install this package.
Currently only local installation is supported, because _rawelf_injection
is built for linux-x86_64 only, which is not allowed by PyPi. For that, just clone this repository and run the following:
$ cd injection/
$ make build
$ make locinstall
Please see my blog post for detailed information.