{"id":"35a05c60-9012-49b6-a11f-6bab741c9f74","title":"Wget Creating Files in Tmp Directory","description":"Detects the use of wget to download content in a temporary directory such as \"/tmp\" or \"/var/tmp\"","author":"Joseliyo Sanchez, @Joseliyo_Jstnk","status":"test","level":"medium","date":"2023-06-02","modified":"","tags":["attack.command-and-control","attack.t1105"],"technique_ids":["T1105"],"logsource":{"product":"linux","category":"file_event"},"falsepositives":["Legitimate downloads of files in the tmp folder."],"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"],"source_path":"rules/linux/file_event/file_event_lnx_wget_download_file_in_tmp_dir.yml","source_sha256":"59c1c89c340395327df7c20cc4805925e85346ef8a1cf14f0ef6f8a75a2f6086","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/file_event/file_event_lnx_wget_download_file_in_tmp_dir.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Wget Creating Files in Tmp Directory\nid: 35a05c60-9012-49b6-a11f-6bab741c9f74\nstatus: test\ndescription: Detects the use of wget to download content in a temporary directory such as \"/tmp\" or \"/var/tmp\"\nreferences:\n    - https://blogs.jpcert.or.jp/en/2023/05/gobrat.html\n    - https://jstnk9.github.io/jstnk9/research/GobRAT-Malware/\n    - https://www.virustotal.com/gui/file/60bcd645450e4c846238cf0e7226dc40c84c96eba99f6b2cffcd0ab4a391c8b3/detection\n    - https://www.virustotal.com/gui/file/3e44c807a25a56f4068b5b8186eee5002eed6f26d665a8b791c472ad154585d1/detection\nauthor: Joseliyo Sanchez, @Joseliyo_Jstnk\ndate: 2023-06-02\ntags:\n    - attack.command-and-control\n    - attack.t1105\nlogsource:\n    product: linux\n    category: file_event\ndetection:\n    selection:\n        Image|endswith: '/wget'\n        TargetFilename|startswith:\n            - '/tmp/'\n            - '/var/tmp/'\n    condition: selection\nfalsepositives:\n    - Legitimate downloads of files in the tmp folder.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1105","id":"T1105","name":"Ingress Tool Transfer","page":"techniques/enterprise/T1105/"}],"data_path":"data/detection-rules/35a05c60-9012-49b6-a11f-6bab741c9f74.json","kind":"sigma"}
