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: selectionFalse 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
- https://blogs.jpcert.or.jp/en/2023/05/gobrat.html
- https://jstnk9.github.io/jstnk9/research/GobRAT-Malware/
- https://www.virustotal.com/gui/file/60bcd645450e4c846238cf0e7226dc40c84c96eba99f6b2cffcd0ab4a391c8b3/detection
- https://www.virustotal.com/gui/file/3e44c807a25a56f4068b5b8186eee5002eed6f26d665a8b791c472ad154585d1/detection
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
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.