Sigma rule: Suspicious Filename with Embedded Base64 Commands

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-eabd029a13ff, updated 2025-11-22T00:00:00.000Z.

Rule

Title
Suspicious Filename with Embedded Base64 Commands
Status
experimental
Level
high
Author
@kostastsale
Date
2025-11-22
File
rules/linux/file_event/file_event_lnx_susp_filename_with_embedded_base64_command.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

product
linux
category
file_event

Detection

selection:
    TargetFilename|contains:
        - '{echo'
        - '{base64,-d}'
condition: selection

False positives (as the rule lists them)

  • Legitimate files with similar naming patterns (very unlikely).

Tags

  • attack.execution
  • attack.stealth
  • attack.t1059.004
  • attack.t1027

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/file_event/file_event_lnx_susp_filename_with_embedded_base64_command.yml

Sources and licences

  • SigmaHQ

    "Suspicious Filename with Embedded Base64 Commands" by @kostastsale (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/file_event/file_event_lnx_susp_filename_with_embedded_base64_command.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Filename with Embedded Base64 Commands",
entity page, dataset version ref-eabd029a13ff, updated 2025-11-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/179b3686-6271-4d87-807d-17d843a8af73 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 179b3686-6271-4d87-807d-17d843a8af73, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.