linux-crt icon indicating copy to clipboard operation
linux-crt copied to clipboard

CreateRemoteThread for Linux

CreateRemoteThread for Linux ############################

CreateRemoteThread_ (thread injection) for Linux.

.. _CreateRemoteThread: https://msdn.microsoft.com/en-us/library/windows/desktop/ms682437(v=vs.85).aspx

Limitations:

  • works only for x86_64 applications (64-bit)
  • works only for dynamically linked applications
  • works only for applications using glibc
  • works only with enabled debugging (i.e., ptrace_scope set to zero, the target process is dumpable, or you have CAP_SYS_PTRACE)
  • unsafe when applied to single-threaded applications

More materials

Talk slide deck_ and detailed description_ (in Russian).

.. _Talk slide deck: https://docs.google.com/presentation/d/10JmeisHsug-7XCB5Ym1HPYoeKLU_r9MOSNNPGWAteKg/edit?usp=sharing .. _detailed description: https://habr.com/ru/post/473740/

License

GPLv2: see LICENSE <LICENSE>_.