Executive Summary
GhostMap is a sophisticated Linux eBPF rootkit shared between the IronWorm and Atomic Arch malware campaigns, attributed by package authors to TeamPCP. The rootkit provides advanced stealth by hooking kernel events to manipulate system views, effectively blinding user-space applications by modifying directory entry buffers and network socket diagnostic messages.
Technically, GhostMap utilizes the `bpf_probe_write_user` helper to alter the `d_reclen` field in `getdents64` syscall returns, forcing directory readers like 'ps' to skip malicious entries. While it successfully hides listeners from `/proc/net/tcp`, research shows it may fail to conceal sockets from tools like 'ss' that interpret Netlink messages directly. This threat highlights the limitations of standard Linux system visibility and the necessity for runtime monitoring that can detect unauthorized eBPF attachments.