Detectionmediumtest

Data Exfiltration with Wget

Detects attempts to post the file with the usage of wget utility. The adversary can bypass the permission restriction with the misconfigured sudo permission for wget utility which could allow them to read files like /etc/shadow.

Open in Detection LabConvert ruleBuild Package
Pawel MazurCreated 2021-11-18Updated 2022-12-25cb39d16b-b3b6-4a7a-8222-1cf24b686ffclinux
Log Source
Linuxauditd
ProductLinux← raw: linux
Serviceauditd← raw: auditd
Detection Logic
Detection Logic1 selector
detection:
    selection:
        type: EXECVE
        a0: wget
        a1|startswith: '--post-file='
    condition: selection
False Positives

Legitimate usage of wget utility to post a file

Rule Metadata
Rule ID
cb39d16b-b3b6-4a7a-8222-1cf24b686ffc
Status
test
Level
medium
Type
Detection
Created
2021-11-18
Modified
2022-12-25
Path
rules/linux/auditd/execve/lnx_auditd_data_exfil_wget.yml
Raw Tags
attack.exfiltrationattack.t1048.003
View on GitHub