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.
Reading an older article? Use the brief to stay current.
Get the free 5-minute weekday brief
Scam alerts you can act on, major breaches, and our free Scam Survival Kit (PDF). Free, every weekday.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.
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.
Reading an older article? Use the brief to stay current.
Get the free 5-minute weekday brief
Scam alerts you can act on, major breaches, and our free Scam Survival Kit (PDF). Free, every weekday.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.
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.
Monash IVF Data Breach: What Patients Should Do
Monash IVF says it found unauthorised access on Dec. 1-2, 2026. Here is what the company has said and what patients should...
Dorsata Data Incident: What Patients Should Do
Dorsata says a Metabase vulnerability allowed access to a patient database Aug. 10-12, 2026. See what was and was not involved and...
FBI Impersonation Scams: Hang Up and Verify
The FBI San Diego Field Office warns of FBI agent impersonation scams using spoofed numbers and fake badges. Here is what to...
Friday’s brief: Linux firewall flaw, fake Meta apps, and a UK ransom ban
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.
For everyday readers, small businesses and security teams. Unsubscribe anytime.