Skip to content

About

Contains materials for my technical presentation exploring Linux malware tradecraft—from userland and fileless techniques to kernel rootkits, ftrace, eBPF, and defensive strategies.

Resources

Stars

96 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

The Architecture of Stealth: Linux Malware Techniques

Security Presentation Target

An advanced technical presentation and research repository detailing the evolution of Linux threat mechanics—moving from userland hooking (LD_PRELOAD) into kernel-space subversion (ftrace), fileless in-memory execution, and modern eBPF offensive primitives.


🧭 Presentation Outline

  1. Module 1: Userland Interception & Linker Hijacking

    • Mechanics of /etc/ld.so.preload and dynamic linking.
    • Process hiding and network flow redirection.
    • Case Study: Symbiote (2022).
  2. Module 2: Fileless & In-Memory Execution

    • Bypassing noexec mounts with memfd_create and fexecve.
    • Anonymous file descriptors and hidden memory mappings.
    • Case Study: Kinsing / H2Miner.
  3. Module 3: Ring 0 Kernel Rootkits & ftrace Subversion

    • From brittle sys_call_table patching to opcode-safe ftrace dynamic hooking.
    • Direct Kernel Object Manipulation (DKOM) for task/module hiding.
    • Case Study: Drovorub (APT28).
  4. Module 4: eBPF Offensive Primitives

    • Leveraging fentry/fexit for silent kernel tracing and manipulation.
    • In-memory authorization bypasses and zero-port network listeners.
    • Case Study: BPFDoor (Red Menshen).
  5. Module 5: Defensive Architecture & Hardening

    • Telemetry asymmetry and detection engineering.
    • Kernel Lockdown mode, module signing, and BPF restrictions.

🛠️ Repository Contents

  • Presentation slides, architecture diagrams, and thematic assets.
  • Conceptual proof-of-concept snippets and detection logic (e.g., verifying ftrace hooks on kernel syscalls).

🎥 Presentation Videos


📜 Quote

"Every sophisticated Linux implant operates under a fundamental rule of engineering: they must eventually interact with the substrate of the operating system... Everything that has a beginning has an end."


📄 License

Unless otherwise noted, the material in this repository is dedicated to the public domain under CC0 1.0 Universal.

You are free to copy, modify, distribute, and use it, including commercially, without asking permission. Attribution is appreciated but not required.

About

Contains materials for my technical presentation exploring Linux malware tradecraft—from userland and fileless techniques to kernel rootkits, ftrace, eBPF, and defensive strategies.

Resources

Stars

96 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages