Thotcon and BSDCan
I’m excited to announce that I am speaking at Thotcon and BSDCan about libhijack. In the last few weeks, I’ve fixed a number of bugs. I will be releasing a new minor version of libhijack after the BSDCan presentation.. Its bug fixes include proper ptrace
handling on FreeBSD, lots of example code for FreeBSD, and the ability to resolve symbols in FreeBSD’s RTLD. This last point is especially crucial because dlopen
in FreeBSD’s libc is a stub function that simply returns an error. The real dlopen
is implemented entirely in the RTLD. When your program calls dlopen
, the call gets resolved to the RTLD’s version. Thus attempting to resolve dlopen
externally via ptrace
results in an error.