TripleCross Versions Save

A Linux eBPF rootkit with a backdoor, C2, library injection, execution hijacking, persistence and stealth capabilities.

v0.1.0

1 year ago

Changelog

eBPF rootkit code base

  • User space rootkit program
  • eBPF programs configurator
  • Libbpf-powered eBPF programs in the kernel

Library injection module

  • Injection of libraries via GOT hijacking
  • Code caver module added using proc filesystem
  • Malicious library added

Execution hijacking module

  • Tampering with sys_execve syscalls
  • Malicious program to inject added

Backdoor and C2

  • New backdoor triggers:
    • Keyword-based
    • Pattern-based
    • Multi-packet
  • TC and XDP programs
  • 3 shells included:
    • Plaintext pseudo-shell
    • Encrypted pseudo-shell
    • Phantom pseudo-shell

Rootkit client

  • Multiple commands and pseudo-shells added for a remote client to connect with the backdoor

Persistence module

  • Added rootkit persistence across reboots via Cron and sudoers

Stealth module

  • Added rootkit files and directories hiding via getdents hijacking