Linux Auditd: Program Executions from Suspicious Web and Data Directories
Alerts on Linux process creation when the executed binary path begins with commonly abused temp/web/data directories.
- Product
- linux
- Service
- auditd
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2018-01-23
- Updated
- 2026-07-31
ATT&CK techniques
Resource DevRecon
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags Linux process executions where the executable path starts with commonly abused non-program directories associated with web, data, and service configuration locations. Attackers often place or run malicious binaries from writable or misused paths like web document roots or database/service data directories to evade standard application controls. It relies on Linux auditd syscall telemetry identifying the executed executable path via the SYSCALL event type.
Reporting behind it
Changelog
v3- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Linux Auditd: Program Executions from Suspicious Web and Data Directories"
id: cddddc7f-eed4-4694-b10f-612119dfc909
status: test
description: This rule flags Linux process executions where the executable path starts with commonly abused non-program directories associated with web, data, and service configuration locations. Attackers often place or run malicious binaries from writable or misused paths like web document roots or database/service data directories to evade standard application controls. It relies on Linux auditd syscall telemetry identifying the executed executable path via the SYSCALL event type.
references:
- Internal Research
- https://github.com/SigmaHQ/sigma/blob/master/rules/linux/auditd/syscall/lnx_auditd_susp_exe_folders.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2018-01-23
modified: 2021-11-27
tags:
- attack.t1587
- attack.t1584
- attack.resource-development
logsource:
product: linux
service: auditd
detection:
selection:
type: SYSCALL
exe|startswith:
- /tmp/
- /var/www/
- /home/*/public_html/
- /usr/local/apache2/
- /usr/local/httpd/
- /var/apache/
- /srv/www/
- /home/httpd/html/
- /srv/http/
- /usr/share/nginx/html/
- /var/lib/pgsql/data/
- /usr/local/mysql/data/
- /var/lib/mysql/
- /var/vsftpd/
- /etc/bind/
- /var/named/
condition: selection
falsepositives:
- Admin activity (especially in /tmp folders)
- Crazy web applications
level: medium
license: DRL-1.1
related:
- id: a39d7fa7-3fbd-4dc2-97e1-d87f546b1bbc
type: derived