Loader-level verification stops shared library hijacking
The proposed loader-centric verification framework prevents shared library hijacking attacks
Security & privacy arXiv 26 May 2026 Defense Prototype evidence
Published as “Resolving the Correct Library: A Loader-Level Defense Solution Against Shared Object Hijacking”
Why it matters
Deploying the loader-level whitelist can stop runtime library substitution attacks on existing Linux systems without requiring kernel changes.
Summary
The loader-level verification framework blocks shared library hijacking attacks, as demonstrated by case-study experiments where the malicious library was rejected and execution terminated. The authors evaluated the approach on both Ubuntu and Buildroot systems and showed it prevents hijacks, but the prototype adds linear start-up overhead and only works with glibc’s LD_AUDIT (e.g., disabled for setuid binaries).
What they found 2
- The mechanism prevents shared library hijacking attacks.
“Our results demonstrate that our proposed mechanism indeed prevents shared library hijacking attacks.”
- Without enforcement the hijack succeeds; with either path-based or Build-ID-based enforcement the attack is blocked.
“Hijack succeeds”
Caveats 3
- applications with large dependency graphs, plugin-heavy architectures, or highly dynamic loading behavior may experience increased process initialization latency.
- The presented prototype relies on glibc’s LD_AUDIT mechanism and therefore inherits its limitations. More specifically, audit modules may be disabled in secure-execution contexts such as setuid binaries, and the approach is specific to glibc-based systems.
- Our mechanism does not protect against attacks outside the stated trust assumptions.
What’s new here 4
- Enforces resolution correctness by checking each loaded library against a signed whitelist manifest at load time.
- Combines Build-ID primary keys with SHA-256 hashes to verify both identity and byte-level integrity.
- Implements the enforcement via glibc’s LD_AUDIT interface, requiring no kernel modifications.
- Demonstrates applicability to both general-purpose and embedded Linux environments.