Sneaky Linux Malware Exploits RAR Filenames to Outsmart Antivirus Systems
At a glance
- New Threat: A Linux attack hides its malicious code inside a RAR archive’s filename to slip past antivirus tools.
- How It Works: When a shell script processes the filename, encoded Bash commands run and download the VShell backdoor.
- Who Uses VShell: The backdoor has been widely used by Chinese hacking groups, including UNC5174.
- Defenses: Security tools and scripts that handle filenames need to catch this kind of trick.
A payload in the filename
Researchers at Trellix have found a Linux attack that hides malicious code in the filename of a file inside a RAR archive. As reported by The Hacker News, the attack starts with a spam email carrying the RAR archive. The payload isn’t in the file’s contents, so antivirus tools that scan contents miss it.
How the attack works
Hiding code in a filename
The filename contains Base64-encoded Bash commands. When a poorly written shell script or command processes the filename, the shell runs the hidden commands. That starts a downloader, which fetches a loader for the victim’s processor type.
Running in memory
The loader then downloads and decrypts VShell and runs it in memory. Little is written to disk. Traditional file-based scanning has almost nothing to find.
Know what matters before your first meeting.
Get the weekday cyber brief for the product, threat, and vendor moves that mattered after this guide was published.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
What VShell does
VShell is a Go-based remote access tool. It lets attackers run a remote shell, manage files and processes, forward ports and communicate with their command servers over encrypted channels. The Hacker News reports that Chinese hacking groups, including UNC5174, have used it widely in recent years.
What defenders should do
Better detection
Signature-based detection can’t catch a payload that lives in a filename. Behavior-based monitoring is needed, watching for shell commands that decode and run data.
Safer scripts
Linux systems have long been seen as less exposed than other platforms. This attack shows why that is risky. Admins should check scripts that loop over filenames and make sure they quote variables and never pass filenames to eval or similar commands.
Know what matters before your first meeting.
Weekday mornings. Five minutes. What changed in security, why it matters.
By subscribing you agree to our Privacy Policy.
Free. Weekday mornings. 5 minutes or less.
The takeaway
The VShell campaign turns an ordinary filename into an attack. Patching won’t stop it. Careful scripting and behavior-based monitoring will. Treat filenames from email attachments as untrusted input, just like any other data from outside.
Newer CyberExperts coverage on this topic
This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.
Citrix NetScaler CVE-2026-19490: The Auth Bypass That Went From PoC to Probes in a Day
CVE-2026-19490 is a CVSS 9.3 NetScaler Gateway/AAA auth bypass. A public PoC on Sept 2 was followed by live probes within a...
PaperCut NG/MF: The Print Server That Learned Remote Code Execution Again
CVE-2026-81578 and CVE-2026-82078 chain to pre-auth RCE on PaperCut Application Server. Confirm Emergency Patch Release 2, restrict admin exposure, and hunt like...
JFrog Artifactory CVE-2026-82329: Empty Join Key, Full Admin Token, Busy Scanners
CVE-2026-82329 lets attackers forge Artifactory admin tokens via a deterministic empty join key. Mass scanning peaked near 406,000 attempts; patch fixed builds...
Friday’s brief: GitLab’s 10.0 fix, then VeloCloud attacks, a poisoned LiteLLM release and PHP2Shell logs to check
The fastest way to catch up on what changed after this article was published.
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
Free. Weekdays. Built for operators.