GhostMap eBPF rootkit hides Linux processes, files and sockets
Original title: Hackers Abuse Linux eBPF Technology to Hide Malware Processes and Evade Detection
Aqua found the same concealment component in IronWorm and Atomic Arch supply-chain samples; package removal does not remove the systemd service.
Aqua Nautilus analyzed GhostMap, an eBPF rootkit that alters directory and network results so selected processes, files and sockets disappear from some Linux tools without being deleted. The component appeared in IronWorm samples that JFrog traced to compromised npm packages and in Atomic Arch samples from hijacked Arch User Repository packages. In lab tests Tracee flagged malicious eBPF attachments, while a listener stayed visible to ss. JFrog advises rotating exposed secrets and auditing install hooks.
Unconfirmed: Aqua says shared GhostMap samples do not establish that the same operators ran both campaigns.
- GhostMap changed one byte per buffer so readers skipped entries that remained in memory.
- A listener on 127.0.0.1:8738 vanished from /proc/net/tcp but not from tested ss.
- The installed service process, not the installer, loaded GhostMap.
- Aqua counted 13 programs, 10 maps and 13 attachments at one checkpoint.
- A child that only forked stayed visible under name-based hiding.
Impact: Hides processes, files and sockets from some Linux utilities
- 1.Rotate exposed secrets and audit repositories for unexpected install hooks.
- 2.Compare independent process and socket views with unexpected eBPF attachments.
- 3.Check affected hosts for new systemd services; package removal does not clear persistence.
- ATT&CK
- T1014 RootkitT1564.001 Hidden Files and DirectoriesT1543.002 Systemd ServiceT1195.001 Compromise Software Dependencies and Development Tools
- Malware
- GhostMapIronWormAtomic Arch
- Organizations
- Aqua NautilusJFrogSonatype
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| sha256 | 0c16ee8a8c1f5b51b01bce924e173030f032912d5b66f1a564fd636a67ddbf5f | hat a host is clean. IOCs Type Indicator Description SHA256 0c16ee8a8c1f5b51b01bce924e173030f032912d5b66f1a564fd636a67ddbf5f Acquired [email protected] package archive. SHA256 36abd242 |
| sha256 | 36abd242ddaa27f0160c539377a0e92cf781c1695137850acc87e3892b436d36 | 67ddbf5f Acquired [email protected] package archive. SHA256 36abd242ddaa27f0160c539377a0e92cf781c1695137850acc87e3892b436d36 Executed tools/setup ELF and matching installed executable. |
| sha256 | 8795b5215dd06c5366a038a65b18b4dfefa5fd90244a567c3e0b58323103377c | d tools/setup ELF and matching installed executable. SHA256 8795b5215dd06c5366a038a65b18b4dfefa5fd90244a567c3e0b58323103377c GhostMap BPF ELF recovered from IronWorm’s runtime memory. |
From the original article
3 min read at gbhackers.com
An eBPF rootkit that makes malware processes, selected file entries, and network sockets disappear from some Linux utilities without removing the underlying objects. In controlled tests, the rootkit hid a listener from /proc/net/tcp but not from ss, while Aqua’s Tracee runtime security tool flagged the malicious eBPF attachments as they occurred. GhostMap is the concealment […]
By Mayura Kathir · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.