Detectionhighexperimental
Suspicious Filename with Embedded Base64 Commands
Detects files with specially crafted filenames that embed Base64-encoded bash payloads designed to execute when processed by shell scripts. These filenames exploit shell interpretation quirks to trigger hidden commands, a technique observed in VShell malware campaigns.
Log Source
LinuxFile Event
ProductLinux← raw: linux
CategoryFile Event← raw: file_event
Events for file system activity including creation, modification, and deletion.
Detection Logic
Detection Logic1 selector
detection:
selection:
TargetFilename|contains:
- '{echo'
- '{base64,-d}'
condition: selectionFalse Positives
Legitimate files with similar naming patterns (very unlikely).
References
MITRE ATT&CK
Techniques
Sub-techniques
Rule Metadata
Rule ID
179b3686-6271-4d87-807d-17d843a8af73
Status
experimental
Level
high
Type
Detection
Created
2025-11-22
Author
Path
rules/linux/file_event/file_event_lnx_susp_filename_with_embedded_base64_command.yml
Raw Tags
attack.executionattack.stealthattack.t1059.004attack.t1027