Download File To Potentially Suspicious Directory Through Wget (via process_creation)

This rule detects the use of wget to download content to an anomalous directory

SigmamediumLinuxv1
sigma
title: Download File To Potentially Suspicious Directory Through Wget (via process_creation)
id: 859212ad-1034-5810-9bb2-6a8c08b77851
status: stable
description: This rule detects the use of wget to download content to an anomalous directory
references:
    - https://attack.mitre.org/techniques/T1105/
    - 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
author: Huntrule Team
date: 2026-05-20
tags:
    - attack.command-and-control
    - attack.t1105
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith: '/wget'
    selection_output:
        - CommandLine|re: '\s-O\s'
        - CommandLine|contains: '--output-document'
    selection_path:
        CommandLine|contains: '/tmp/'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.