Sigma rule: Wget Creating Files in Tmp Directory

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-71e16f4e1e98, updated 2023-06-02T00:00:00.000Z.

Rule

Title
Wget Creating Files in Tmp Directory
Status
test
Level
medium
Author
Joseliyo Sanchez, @Joseliyo_Jstnk
Date
2023-06-02
File
rules/linux/file_event/file_event_lnx_wget_download_file_in_tmp_dir.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the use of wget to download content in a temporary directory such as "/tmp" or "/var/tmp"

Log source

product
linux
category
file_event

Detection

selection:
    Image|endswith: '/wget'
    TargetFilename|startswith:
        - '/tmp/'
        - '/var/tmp/'
condition: selection

False positives (as the rule lists them)

  • Legitimate downloads of files in the tmp folder.

Tags

  • attack.command-and-control
  • attack.t1105

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_wget_download_file_in_tmp_dir.yml

Sources and licences

  • SigmaHQ

    "Wget Creating Files in Tmp Directory" by Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/file_event/file_event_lnx_wget_download_file_in_tmp_dir.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: Wget Creating Files in Tmp Directory",
entity page, dataset version ref-71e16f4e1e98, updated 2023-06-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/35a05c60-9012-49b6-a11f-6bab741c9f74 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 35a05c60-9012-49b6-a11f-6bab741c9f74, 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.