Home / Companies / Ambassador / Blog / Post Details
Content Deep Dive

Code Injection on Linux and macOS with LD_PRELOAD

Blog post from Ambassador

Post Details
Company
Date Published
Author
Itamar Turner-Trauring
Word Count
1,223
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Code injection on Linux and macOS can be achieved using LD_PRELOAD and DYLD_INSERT_LIBRARIES. These mechanisms allow you to override system calls and shared libraries, changing the behavior of a program without modifying its source code. This technique has various uses such as manipulating time, making a process appear as root, or simulating changes in the filesystem's root directory. However, there are limitations and security concerns associated with this approach.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 3 59 19 11 -71%
Real-time 1 246 68 35 -24%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.