Skip to content
项目

关于

Make your programs stealthier🐝

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Caracal

Make your programs stealthier

The caracal cat is one of Africa's ultimate hunters,
a stealthy cat with an exceptional ability to hunt out prey on the savanna

⚡ Powered by Aya🐝

💡 Overview

Caracal is a Rust implementation of eBPF techniques that:

  1. hide target bpf programs & maps → won't be visible with bpftop, bpftool ...
  2. hide target processes → won't be visible with ps, top, procs, ls /proc ...
  3. are resilient to some "unhiding" bruteforce techniques

📚 Documentation

Jump to:

🚀 Setup

You need a Linux based OS.

⚒️ Build from source

To build from source, make sure you have:

1. Build ebpf program

cd caracal-ebpf && cargo build  --release

2. Build user space program

cargo build --release 

This command will produce caracal executable in target/release that you can add to your$PATH

📥 Binary release

You can download the pre-built binaries from the release page

🪄 Usage

Run caracal with root privileges:

caracal --pid <pids> --bpf-prog-id <bpf-ids> -v
  • <pids>: List of process IDs to hide (comma-separated, e.g., 123,456)
  • <bpf-ids>: List of eBPF program IDs to hide (comma-separated, e.g., 789,101)
  • -v / --verbose: Verbosity

Example:

sudo  caracal --pid $PPID,1337  --bpf-prog-id  23,24,26 -v

will hide:

  • caracal launching process & its children
  • 1337 process & its children
  • caracal eBPF program & maps
  • 23,24,26 eBPF programs & maps

⚠️ Disclaimer

caracal is developed for educational purposes only


✍️ Authors

Adrien Gaultier


⚖️ License

GPLv3

探索相关项目

加载中…