LD_PRELOAD: Making a Backdoor by Hijacking accept()

A demonstration on how to use LD_PRELOAD to create a backdoor in processes by hooking the accept() function.
LD_PRELOAD: How to Run Code at Load Time

Today I want to continue the series on using LD_PRELOAD. What if we want to run code before the program even runs from within the target process?
Not-So-Random: Using LD_PRELOAD to Hijack the rand() Function

In today’s post we are going to hijack the rand() function in a simple random number guessing game to control the generation of random numbers
LD_PRELOAD – Introduction

Today I wanted to start what I plan to be a small series of blog posts about LD_PRELOAD. LD_PRELOAD is related to Linux based systems.