Files
blue-team-tools/rules/linux/auditd/lnx_auditd_web_rce.yml
T
frack113 7060db3d47 Promotion rules (#3821)
* Promotion rules

* fix missing null

* fix: modified date

Co-authored-by: Nasreddine Bencherchali <8741929+nasbench@users.noreply.github.com>
2022-12-27 12:29:10 +01:00

30 lines
963 B
YAML

title: Webshell Remote Command Execution
id: c0d3734d-330f-4a03-aae2-65dacc6a8222
status: test
description: Detects possible command execution by web application/web shell
references:
- Personal Experience of the Author
author: Ilyas Ochkov, Beyu Denis, oscd.community
date: 2019/10/12
modified: 2022/12/25
tags:
- attack.persistence
- attack.t1505.003
logsource:
product: linux
service: auditd
detection:
selection:
# You need to add to the following rules to your auditd.conf config:
# -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
# Change the number "33" to the ID of your WebServer user. Default: www-data:x:33:33
type: 'SYSCALL'
syscall: 'execve'
key: 'detect_execve_www'
condition: selection
falsepositives:
- Admin activity
- Crazy web applications
level: critical