Linux wget POST-file Usage Indicating Data Exfiltration

Alerts on Linux wget commands using --post-file= to upload local files, indicating potential data exfiltration.

FreeReviewedSigma · Medium · v3
Product
linux
Service
auditd
Author
Pawel Mazur (SigmaHQ), DRL 1.1
Published
2021-11-18
Updated
2026-07-31
title: Linux wget POST-file Usage Indicating Data Exfiltration
id: 20659a1f-d34e-4e81-818a-873206f82137
status: test
description: This rule flags Linux processes executed as wget with the --post-file= argument, which can be used to transmit local file contents to an external endpoint. Attackers may leverage this to move sensitive data off the host, making the presence of wget with post-file parameters a useful exfiltration indicator. It relies on auditd EXECVE telemetry that captures the command name and arguments.
references:
  - https://linux.die.net/man/1/wget
  - https://gtfobins.github.io/gtfobins/wget/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/linux/auditd/execve/lnx_auditd_data_exfil_wget.yml
author: Pawel Mazur, Huntrule Team
date: 2021-11-18
modified: 2022-12-25
tags:
  - attack.exfiltration
  - attack.t1048.003
logsource:
  product: linux
  service: auditd
detection:
  selection:
    type: EXECVE
    a0: wget
    a1|startswith: --post-file=
  condition: selection
falsepositives:
  - Legitimate usage of wget utility to post a file
level: medium
license: DRL-1.1
related:
  - id: cb39d16b-b3b6-4a7a-8222-1cf24b686ffc
    type: derived