GhostMap eBPF rootkit: GBHackers reports Linux malware process hiding
GBHackers reports Aqua Nautilus research on GhostMap, an eBPF rootkit hiding Linux processes; compare process views and check eBPF attachments.
- Published
- Exploitation
- Reported only. GBHackers says Aqua Nautilus found GhostMap in samples from two supply chain campaigns, with no independent confirmation in the sources.
What happened
GBHackers reports that Aqua Nautilus researchers found an eBPF rootkit called GhostMap, which makes malware processes, selected file entries and network sockets disappear from some Linux utilities without removing the underlying objects GBHackers. According to GBHackers, this comes from Aqua’s lab testing. The claims have not been independently verified in the sources provided.
GBHackers says Aqua found GhostMap in samples from two software supply chain campaigns, IronWorm and Atomic Arch. It adds that this supports reuse across delivery channels but does not establish that the same operators ran both GBHackers.
- IronWorm: GBHackers says JFrog’s investigation traced this Rust credential stealer to compromised npm packages. The installation hook of one package invoked a bundled Linux executable. In Aqua’s privileged lab run, a persistent systemd service loaded GhostMap GBHackers.
- Atomic Arch: GBHackers says Sonatype documented a separate route through the Arch User Repository. Attackers took over orphaned packages and changed their build instructions to pull in atomic-lockfile, a malicious npm dependency carrying a Linux payload GBHackers.
On the technique, GBHackers reports that GhostMap changes directory results delivered to applications rather than deleting records. In six altered buffers, Aqua says only one byte changed in each: a record length, which made the reader skip selected entries that stayed in memory. Test processes disappeared from ps and normal /proc listings, but their known /proc/PID paths stayed accessible, and they reappeared when the rootkit stopped GBHackers.
Socket hiding was less reliable, per the same report. IronWorm’s listener on 127.0.0.1:8738 vanished from /proc/net/tcp in three observations but stayed visible in every query with the tested ss build. Aqua’s Tracee runtime tool flagged the malicious eBPF attachments as they occurred GBHackers.
Not confirmed: the exact affected package versions in the available text, the number of affected hosts, any real-world impact, and whether data was successfully sent outside. GBHackers says Aqua’s experiment verified local collection, not external delivery. No CVE is cited.
Am I affected?
According to GBHackers, the exposure is on developer hosts or build runners that installed the affected packages GBHackers. That covers the compromised npm packages linked to IronWorm and AUR packages that pull in atomic-lockfile.
GBHackers also says service and executable names varied between runs, so a detection based on a single path may miss it. The report states that a clean ps listing alone cannot show a host is clean GBHackers.
The report lists three SHA256 indicators: the IronWorm package archive, the executed setup ELF, and the GhostMap BPF ELF recovered from memory. See the source for the full hashes.
What to do now
- Check whether any host installed the compromised npm packages or AUR packages that pull in atomic-lockfile. The sources do not give a full package list, so see the cited reports from JFrog and Sonatype via GBHackers.
- Compare independent process and socket views, then correlate any differences with unexpected eBPF attachments and new systemd services. GBHackers describes this as a practical way to investigate discrepancies.
- Do not treat package removal as enough. GBHackers says it does not address service persistence or potential credential theft.
- Following JFrog’s recommendation as reported by GBHackers, rotate exposed secrets and audit repositories for unexpected install hooks, workflow changes and backdated commits.
- Consider a runtime tool that watches eBPF attachments. GBHackers says Tracee alerted on GhostMap’s attachments and memory-write capability in Aqua’s tests.