Malicious Koske Userland Rootkit Installation via ld.so.preload (via file_event)

PremiumReviewedSigma · High · v1
Product
linux
Category
file_event
Author
HuntRule
Published
2026-09-06
Updated
2026-09-06

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. C2

  9. Exfiltration

  10. Impact

What it detects

This rule detects installation of the Koske userland rootkit that hooks readdir through LD_PRELOAD to hide files and processes. It fires when the hideproc.so shared object is written to disk or when /etc/ld.so.preload is modified to load it globally. Modification of ld.so.preload is uncommon on most systems and is a strong rootkit indicator.

Related detections9 linkedT1014 — drag to rearrange
Malicious TeamTNT prochider Rootkit Deployment as Shared Object (via file_event)
Malicious perfctl Rootkit Library Drop via ld.so.preload (via file_event)
Malicious Userland Rootkit Persistence via ld.so.preload on Linux
Malicious LD_PRELOAD Rootkit Persistence via ld.so.preload
Malicious Shared Library Preload Persistence via ld.so.preload (via process_creation)
Suspicious Bootkitty Rootkit Component Drop under opt via File System
Malicious VoidLink Rootkit Dropper Artifacts via Filesystem (via file_event)
Suspicious LD_PRELOAD Library Injection via PUMAKIT Userland Rootkit
Malicious VoidLink Pinned eBPF Map in BPF Filesystem (via file_event)
Malicious Koske Userland Rootkit Installation via ld.so.preload (via file_event)
Pivot detection · T1014 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.