Sigma rule: Webshell Remote Command Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-76ed0949adb6, updated 2025-12-05T00:00:00.000Z.

Rule

Title
Webshell Remote Command Execution
Status
test
Level
critical
Author
Ilyas Ochkov, Beyu Denis, oscd.community
Date
2019-10-12
Modified
2025-12-05
File
rules/linux/auditd/syscall/lnx_auditd_web_rce.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects possible command execution by web application/web shell

Log source

product
linux
service
auditd
definition
Required auditd configuration: -a always,exit -F arch=b32 -S execve -F euid=33 -k detect_execve_www -a always,exit -F arch=b64 -S execve -F euid=33 -k detect_execve_www -a always,exit -F arch=b32 -S execveat -F euid=33 -k detect_execve_www -a always,exit -F arch=b64 -S execveat -F euid=33 -k detect_execve_www Change the number "33" to the ID of your WebServer user. Default: www-data:x:33:33

Detection

selection:
    type: 'SYSCALL'
    SYSCALL:
        - 'execve'
        - 'execveat'
    euid: 33
condition: selection

False positives (as the rule lists them)

  • Admin activity
  • Crazy web applications

Tags

  • attack.persistence
  • attack.t1505.003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/syscall/lnx_auditd_web_rce.yml

Sources and licences

  • SigmaHQ

    "Webshell Remote Command Execution" by Ilyas Ochkov, Beyu Denis, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/syscall/lnx_auditd_web_rce.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Webshell Remote Command Execution",
entity page, dataset version ref-76ed0949adb6, updated 2025-12-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c0d3734d-330f-4a03-aae2-65dacc6a8222 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c0d3734d-330f-4a03-aae2-65dacc6a8222, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.