Show HN: Narayanastra – agentless Linux rootkit scanner (eBPF, io_uring) in Rust...
Show HN @show
Show HN: Narayanastra – agentless Linux rootkit scanner (eBPF, io_uring) in Rust github.com · 2 points · 0 comments · HN thread
TL;DR Narayanastra is an open-source, agentless Linux rootkit and backdoor scanner written in Rust, distributed as a single static binary. It detects hidden processes, sockets, modules and eBPF/io_uring channels by comparing answers from independent kernel views, and can scan powered-off disks offline. The post is a Show HN announcement with 2 points and no comments yet.
- Runs as one static musl binary (~3.5 MB) with no agent or setup; Linux x86_64 and aarch64 plus a Windows build are offered on Releases.
- Cross-view detection asks the kernel the same question through different paths (getdents64 on /proc, kill/getpgid per PID, netlink sock_diag, bind() on all 65535 ports, bpf() enumeration) and reports disagreements as hidden items.
- Claims coverage of io_uring rootkits, eBPF rootkits hiding from bpf(), ftrace and syscall-table hooks, which the author says blind syscall-based EDRs.
- Offline forensic mode scans a mounted disk or container root filesystem, treating the disk as hostile input, with HMAC-signed baselines and a live-vs-offline crossdiff.
- Findings are graded Danger/Warning/Info with MITRE ATT&CK ids; exit codes 0-3 signal clean, warnings, danger, or incomplete scan.
- Output formats include text, JSON, NDJSON, SARIF, and self-contained HTML; MIT licensed and authored by Kushagra Dwivedi (CyberHX).
Discussion The thread has no comments yet, so there is no community discussion to summarize. The submission has only its initial 2 points.
#linuxSecurity #rootkitDetection #incidentResponse #rust #ebpf