FireWood Malware Emerges – New Linux Threat Executes Remote Commands and Steals Data

Categories:

Security researchers at Intezer have discovered a new, low-detected variant of the FireWood backdoor, a sophisticated Linux malware linked to long-running espionage operations dating back to 2005.

The updated version maintains core functionality while implementing significant changes to its execution flow and configuration management, demonstrating the malware’s continued evolution in the threat landscape.

Enhanced Evasion Techniques and Streamlined Architecture

The new FireWood variant, identified by SHA256 hash 898a5bd86c5d99eb70088a90f1d8f90b03bd38c15a232200538d0601c888acb6, removes the early permission gate that characterized previous versions.

Unlike older variants that called CUser::IsSuc() at startup and exited upon failure, the new build defers root-or-kernel checks until after daemonization and PID saving.

FireWood Linux Malware
FireWood Linux Malware

This architectural change splits the former SavePidAndCheckKernel() function into discrete steps: an early SavePid(pid) followed by CModuleControl::AutoLoad() and CheckLkmLoad().

FireWood Linux Malware
FireWood Linux Malware

The updated version also builds larger metadata buffers containing process names, hex-formatted ports, PIDs, and hardcoded “kde-tra” process names.

This enhanced information is processed through CHideProcess::NetLinkInit() and related functions, improving the malware’s stealth capabilities while maintaining familiar coding errors, including persistent typos like “Get Memory Faile” that appear in both variants.

Simplified Communication Protocol and Command Updates

The networking implementation has been significantly streamlined. While older versions employed complex multi-day beaconing schedules with randomized timing algorithms, the new variant uses a straightforward while (true) loop that continuously attempts server connections.

This change trades temporal obfuscation for reliable command-and-control reachability, making the malware more predictable but potentially more maintainable for operators.

Command Structure Modifications and Geographic Distribution

The new variant introduces notable changes to its command repertoire, removing beacon interval commands (IDs 0x111, 0x113, 0x114) and file-read functionality (ID 0x201).

Process-hiding commands have migrated from ID 0x112 to 0x202, while a new SetAutoKillEl command (ID 0x160) enables auto-kill functionality.

Previously undocumented commands include connection configuration changes (0x109), remote file execution (0x192), and targeted file exfiltration focusing on .v2, .k2, .W2, and drive.C2 extensions (0x195).

Analysis reveals global distribution with samples submitted from Iran in February 2025 and the Philippines in May 2022, indicating sustained deployment across multiple regions.

The malware continues to function as a remote access trojan, employing kernel-level rootkit modules and TEA-based encryption for persistence and covert communication, with potential connections to the China-aligned Gelsemium APT group.

Find this Story Interesting! Follow us on Google News , LinkedIn and X to Get More Instant Updates

Priya
Priya
Priya is a Security Reporter who tracks malware campaigns, exploit kits, and ransomware operations. Her reporting highlights technical indicators and attack patterns that matter to defenders

Trending News

Related Stories